Fsck gets mad when the file system is mounted

Running fsck -fy on a mounted ext3/ext4 formatted drive is not recommended because logically, it will be trying to analyse for inconsistencies on effectively a moving target. The action of modifying the filesystem means that anything you have analysed will have to be reanalysed.

There is very similar question and answer on the Unix Stackoverflow site that has more detail as to why it is a bad idea.


Mac OS X uses a different file system type (HFS+), which based on your feedback (I don't use it) can be checked with the filesystem mounted. Ext3 and Ext4 can not be safely checked while mounted.


You cannot do that because you can cause damage to the partitions.

What you can do is first umount the disk you're interested in and do the fsck, if it's the root disk, the simplest thing you can do is to run an ubuntu live cd and run it from there.