Skip to content

Category Archives: fsck

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 [...]

running fsck on reboot

24-Nov-09

The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck: # shutdown -rF now -F Force fsck on reboot. -r Reboot after shutdown. -k Don’t really shutdown; only send the warning messages to everybody. or Login as user root and create a file called forcefsck: [...]

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              Start       End Blocks      [...]