For fsck sake

“Why is this remote restart taking so long?” I wondered, watching a successive stream of Request timed out messages being returned from PING.

One long walk to the server room later…

GAAAAH CTRL+C

Say what you want about Windows, but Windows Server doesn’t spontaneously decide to do a disk check during restart.

Tags: ,

About The Angry Technician

The Angry Technician is an experienced IT professional in the UK education sector. Normally found in various states of annoyance on his blog. All views are those of his imaginary pet dog, Howard.

13 responses to “For fsck sake”

  1. Tom Newton says :

    True enough. We’ve actually disabled the periodic diskcheck in later installs. If you’d like to do this…
    on the commandline…
    mount
    to show you mounted disks, look for /var/log and /, these should be /dev/sdaX or similar
    then… for each one
    tune2fs -c 0 /dev/sdaX
    tune2fs -i 0 /dev/sdaX

    and it will not check again unless it thinks something is wonky

  2. jimbobmcgee says :

    >> Windows Server doesn’t spontaneously decide to do a disk check during restart

    Really? I don’t know what Windows Server you’ve been using, but mine likes to drop into that grey pre-boot bit and tell me I must press any key now to stop AUTOCHK whenever it bloody well feels like it.

    There’s nothing wrong with a good fsck every 214 days. You should probably cron some read-only ones once a month, or so.

    At least it didn’t hit an overflow bug in the kernel timer routines and panic after 208.5 days, like most of mine did last week…

  3. razius says :

    Yes , it only decides to spontaneously restart.

  4. Mark Scholes says :

    ZFS. That is all.

  5. John says :

    Mark I would love to agree however as Oracle support told me for the ZFS storage appliances we have that my poor performance was down to significant fragmentation, yes that is on my ZFS box so I was puzzled as I was told they don’t suffer etc…. yet these become completly unusable once badly fragmented to the point its wipe and rebuild from scratch to get them going :( Give me a windows box any day!

  6. Wallace says :

    How long have you been wating for your UNIX system to have a disk check problem, so that you could use…

    “What the FSCK” or similar.

    Be honest!

    Wallace

  7. Daniel Barron says :

    For over a year, new installs use ext4 instead of ext3. There has been no in-place upgrade mechanism to do all partitions, but a recent update changes the OS partition to ext4. ext4 is about 20 times faster to fsck so the problem becomes moot. It is possible to in-place manually upgrade to ext4 by setting a couple of file system flags and running e4defrag (also converts).