Re: mount - was: Re: ... gendisk ...

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Mon Jan 17 2000 - 13:51:21 EST


In <20000117182132.A24654@pcep-jamie.cern.ch> Jamie Lokier (lkd@tantalophile.demon.co.uk) wrote:
> Andries.Brouwer@cwi.nl wrote:
>> > Might it be possible to do the check in
>> > the background, after mounting the disk?
>>
>> Mount has a -F option that will cause it to fork
>> and mount things on different disks simultaneously.
>> But if you want checking you'll at least have to wait
>> for /usr - most systems do not function without it.

> The ideal thing would be to check /usr in the background, possibly after
> the rest of the boot process has finished. (Or using low priority
> requested, on-off throttling etc.)

> And you certainly don't want to be checking /home in the background at
> the same time as /usr if they're on the same disk.

> Does the check really buy anything or is it ok to turn it off?

Ok. When check can buy you something ? When filesystem was marked as clean
but when there are broken superblocks anyway. Only two cases exists:
  1. System crashed due software or hardware error while sutting down so
it's marked clean but not superblocks are Ok.
  2. There are some nasty error in ext2fs kernel code (or even more subtle
bug in non-ext2fs kernel code: usually bug in kernel will oops and/or lock
kernel and it should be REALLY weird bug to not crash kernel but force it
to write wrong superblocks on disk).

If you are not playing with development kernels both have near zero
probability.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:16 EST