Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    3

    Question 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?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    What FS are you running? ext3 doesn't require this and if I'm not mistaking ext2 did not either.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Edit your fstab.

    Code:
    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.
    Or there's always Google > bypass filesystem check boot linux

    * 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...