#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    86
    Rep Power
    11

    Disable fsck after crash?


    Hi.

    On my dual xeon server every time it crashes i have to wait over an hour for a fsck to complete after the reboot before the server comes back up.
    This is absoutely terrible for keeping good uptime.

    Is there any way to disable fsck on reboot?

    and is there any downside to doing this?... surely i can just manually run fsck if i need to.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    24
    I would have thought it was needed.

    When a BSD system is killed before it un mounts the mounts it can cause file problems, linking etc. So a fsck would check and see if there is any issues.

    I think the main think would be to find out why its crashing and see if you can get that fixed.

    I have a 120GB mirror pair in and fsck takes no more than 5-10 mins.

    Is fsck reporting some errors?
    regards,

    pgudge
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Berlin, Germany
    Posts
    350
    Rep Power
    13
    The fsck (FILESYSTEMCHECK) is needed. You don't want to disable it.

    FreeBSD 5 does it in the background, so there's an advantage of upgrading. I am guessing you run 4, right?

    --
    Till Klampaeckel
    http://www.HTMLCenter.com
    http://forums.HTMLCenter.com
    http://www.OOCenter.com

    If my posts are helpful, please me.

IMN logo majestic logo threadwatch logo seochat tools logo