Questions tagged [fsck]

a tool to check the consistency of and repair a file system for Unix-like operating systems

Fsck ("file system check") is a tool to check the consistency of and repair a file system for and Unix-like operating systems, such as and Mac .

Man page: http://www.manpagez.com/man/8/fsck/

Wikipedia: http://en.wikipedia.org/wiki/Fsck

205 questions
5
votes
1 answer

What exactly does the automated ext3 root file system check?

Recently we encountered a problem (bad blocks) with an ext3 formatted compact flash card running an embedded Linux system. On startup, the root file system check was started, but it seemed to hang since it took much longer than usual. Later I…
Chris
  • 225
  • 1
  • 3
  • 8
5
votes
2 answers

CentOS - skip "Checking root filesystem"

I have a CentOS box that hangs for like 8 hours at "Checking root filesystem" every time it reboots. Is there some way to skip that check?
Keith Palmer Jr.
  • 1,151
  • 4
  • 16
  • 28
5
votes
2 answers

How do I recover from a failed fsck?

I ran fsck and now my Linux server (Oracle Enterprise Linux (a Red Hat derivitave)) will not boot. The old blocks are in the lost+found folder. How do I get the box working again without rebuilding? -- Edit -- Well... After spending 4 days having…
Brad Bruce
  • 616
  • 8
  • 17
5
votes
2 answers

Why won't xfs_check run?

I'm running a fully updated Ubuntu 9.04 "Jaunty" i686 server. I have an single XFS volume in an LVM group called /dev/mapper/vg0-bigthree. If I boot to single user mode and ensure that the volume is unmounted, I still get the following every time I…
Justin Force
  • 338
  • 1
  • 5
  • 14
4
votes
1 answer

Vagrant up not working, it requires a manual fsck

My setup: My OS is Ubuntu 18.04 Vagrant 2.0.0 VirtualBox 5.2.18 r124319 Ubuntu installed into vagrant/virtualbox (version uknown) sudo vagrant up was always working, suddenly it has stopped working... it gets stuck on SSH auth method: private key…
cawecoy
  • 233
  • 3
  • 10
4
votes
1 answer

serviceable ext3 partition ruined by fsck

I've got several systems with an ext3 lv / that work just fine until fsck'd — then they are unrecoverably corrupted. What hope do I have of repairing these systems, and, separately, what went wrong? These are all old systems that began as 2.6…
pilcrow
  • 449
  • 5
  • 19
4
votes
2 answers

fsck root filesystem on a remote machine

I have filesystem problems on a machine running Ubuntu 8.04 machine in a colocation facility. What was once a directory now looks like this: b--xr-SrwT 52 825452087 876163170 56, 97 2021-10-10 05:43 58 This was cache data, so I don't mind the data…
itsadok
  • 1,839
  • 5
  • 21
  • 33
4
votes
1 answer

Doing a remote fsck - possible?

We've been deploying fanless PCs for a research study. Some of these are having HD issues as their OS runs from an SD card. I'm seeing cases where I need to fsck a folder or two. I've tried using shutdown -rF now but it doesn't seem to be doing the…
ethrbunny
  • 2,327
  • 4
  • 36
  • 72
4
votes
2 answers

How to corrupt an ext3 partition so that it will undergo fsck to fix automatically at boot?

I'm looking for a way to corrupt an ext3 partition safely, so that it can be recovered by fsck on next boot, for testing purposes. Thanks!
shad
  • 83
  • 1
  • 4
4
votes
3 answers

Major issues with fsck of 10TB ext3 RAID 6 (memory allocation failed, etc.)

I recently added a 7th 2TB drive to a linux md software RAID 6 setup. After md finished reshaping the array from 6 to 7 drives (from 8 to 10TB), I was still able to mount the file system without problems. In preparation for resize2fs, I then…
Markus A.
  • 419
  • 7
  • 18
4
votes
1 answer

Ext2: e2fsck what do the "errors" mean?

So, my hard drive was acting all slow, and after checking through my syslog, I found all these errors. Some googling led me to try to run e2fsck -c -c on the drive. So, it's been going for about 2 days now, and seems to be nearly complete. But, it…
bnsh
  • 143
  • 4
4
votes
1 answer

What's the difference between mountall and mount -a? (Ubuntu, perhaps others)

The mountall man page says "this is a temporary tool until init(8) itself" can do it, basically. Why not just use mount -a? Is there a difference between the two, and if so, which should I use for what?
Johannes Ernst
  • 1,037
  • 4
  • 16
  • 26
4
votes
5 answers

Huge amounts of "multiply-claimed blocks" during fsck

The basic question: How long should fsck take to fix a 100GB (17 million block) file with multiply-claimed blocks? The long version of the question: After a UPS failure, I am faced with an Ubuntu 10.04 server which dropped into fsck on initial…
Joseph
  • 277
  • 1
  • 2
  • 11
4
votes
1 answer

Recovery via fsck

I was recently hit by the AWS issues in Ireland, lost a volume, and need to attempt a recovery.. I've attached the problem volume to /dev/sdf - I'm completely new to this, not entirely sure what's going on, but this doesn't look promising>> > sudo…
williamsowen
  • 1,157
  • 3
  • 16
  • 24
4
votes
1 answer

CentOS 5.6 unexpected inconsistency how to repair?

This morning I found that my server was not responding and wasn't able to connect to it in anyway to do a safe reboot. I had to do pull the plug to reboot. Upon rebooting everything appeared to be normal up till booting CentOS. Below is a screenshot…
Scott
  • 359
  • 1
  • 5
  • 18
1 2
3
13 14