Using fsck (be careful!)

-- RobAllan - 15 Feb 2010

Fsck is a disk checking utility which calls underlying utils like fsck.ext2. Generally it should not be used on a mounted file system as it can cause corruption. However...

To look at the system parameters do something like:

tune2fs -l /dev/sda6

to force fsck to run at boot time look at the maximum mount count and the current mount count from the above. Then do

tune2fs -C 30 /dev/sda6 assuming 30 is above the max. Now reboot.

reboot -Fr might also work...

Topic revision: r1 - 15 Feb 2010 - RobAllan
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback