Results 1 to 3 of 3
hi friends
I want to know how to bypass force check of root filesystem while booting RHEL
If the computer gets shutdown abnormally then when the computer boots next time ...
- 02-02-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
how to bypass force check of root filesystem while booting RHEL
hi friends
I want to know how to bypass force check of root filesystem while booting RHEL
If the computer gets shutdown abnormally then when the computer boots next time root file system was forcebly checked. Hence we have to give root password for maintenance and run fsck manually which is time consuming
Is it possible to avoid this by edting rc.sysinit or by some other means?
- 02-02-2009 #2
What FS are you running? ext3 doesn't require this and if I'm not mistaking ext2 did not either.
- 02-02-2009 #3Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Edit your fstab.
Or there's always Google > bypass filesystem check boot linuxCode:man fstab The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesys‐ tems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.
* Although I would not recommend disabling this. If you have a hard power loss, you want the transaction log replayed to recover anything you can and to get the filesystem in a consistent state. If you are using a non-journaled FS like ext2, then you should expect corruption from a non-graceful reboot.
Generally, fsck is run automatically at boot time when the system detects that a file system is in an inconsistent state, indicating a non-graceful shutdown, such as a crash or power loss.


Reply With Quote