Skip to content

Tag Archives: redhat

How can I force fsck on next boot

20-Jun-10

How can I force fsck on next boot
You can force an automatic full check by changing the check interval using tune2fs (-c and/or -i).
-c max-mount-counts
Adjust the number of mounts after which the filesystem will be checked by e2fsck(8). If max-mount-counts is 0 or -1, the number of times the filesystem is mounted will be disregarded [...]

Running fsck on your server

24-Nov-09

Q. My laptop partition  /dev/sdb1  is showing file system error, how  do i use fsck command to check for file system error and repair the partition.

Solution  is to use   fsck – check and repair a Linux file system or use e2fsck – check a Linux ext2/ext3 file system.
Device              [...]