Subject: Re: Playing with dkwedge
To: Jason Thorpe <thorpej@shagadelic.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 08/24/2005 12:33:29
On Tue, Aug 23, 2005 at 02:57:37PM -0700, Jason Thorpe wrote:
>
> On Aug 23, 2005, at 5:51 AM, Manuel Bouyer wrote:
>
> >This would be good to have too, but it doesn't remplace a periodic
> >consistency
> >check of the filesystem. In one case where this helped me, it was the
> >drive which was returning bogus data sometimes (I suspect its internal
> >cache memory was bad, or something like that). The system would end up
> >panicing in the fileystem code, but the daily fsck showed the
> >problem before
> >the panic occured.
>
> A periodic check of a journaled file system only buys you something
> if the file system is quiescent. Otherwise, it will appear largely
> inconsistent.
Isn't this what snapshots are for ?
BTW, we should probably add the -x and -X options to fsck, similar to
dump(8).
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--