[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stagger forced fsck on reboot

Hi debian-installer people,

Partitions have a counter so that an fsck is forced on them at reboot
after they have have mounted as certain number of times (I think it's
after 20 or 30 mounts).

The last time I checked, on a default installation with multiple
partition this forced fsck occured after the same number of mounts for
each partition.  Personally I find this quite inconvenient for laptops.
In my experience laptops are still relatively unstable.  The battery may
run out,  after S3 sleep (suspend-to-ram) it may not always resume
correctly (there have particularly been problems here with DRI on the
X11 video driver my laptop uses).  So for a variety of reasons a laptop
reboots and remounts partitions much more frequently than a desktop.

The problem then is when the partitions hit the forced-fsck mark, with
the default settings they all have to go through their fsck at the same
time. It takes time, and when all you had intended to do was to resume
out of suspend to quickly check some data, but came up against one of
these laptop crashes, it can be quite annoying.

The inconvenience could be ameliorated if the force-fsck mount counter
could be staggered for each partition.  For instance, the first
partition on every 20 mounts, the second on every 21, and so on.  Then
on a given reboot, on average you'd only have to put up with one forced
fsck, not all of them together.

Has this been discussed before?  Is it worth considering?


Reply to: