Date: Tue, 25 Mar 2003 11:16:32 -0500 From: The Anarcat <anarcat@anarcat.ath.cx> To: Terry Lambert <tlambert2@mindspring.com> Cc: Alexander Langer <alex@big.endian.de>, current@FreeBSD.org Subject: Re: several background fsck panics Message-ID: <20030325161632.GB600@lenny.anarcat.ath.cx> In-Reply-To: <3E804392.40844D63@mindspring.com> References: <20030324215712.GA844@fump.kawo2.rwth-aachen.de> <3E7FE3CE.ECD2775F@mindspring.com> <20030325110843.GF1700@fump.kawo2.rwth-aachen.de> <3E804392.40844D63@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue Mar 25, 2003 at 03:54:58AM -0800, Terry Lambert wrote:
> Alexander Langer wrote:
> > Thus spake Terry Lambert (tlambert2@mindspring.com):
> > > Disable write caching on your ATA drive. You should be able to
> > > "safely" reset after that.
> >
> > Good idea, thanks. Nevertheless: I don't think the system should
> > panic on background fsck's, while a manual fsck works.
>
> A manual fsck can deal with corrupt data.
>
> A background fsck can only deal with invalid cylinder group
> bitmaps, and operates on a snapshot.
>
> For a background fsck to be feasible, the FS has to be in a
> self-consistent state already, which it wasn't.
>
> When you killed the power on your system and reset it, you
> lost the cached data sitting in the ATA disk. This is due
> to the fact that the ATA disk lied, and claimed that it had
> committed some writes to stable storage, when in fact it had
> only copied them to the disk cache. As a result, when the
> device reset happened, you lost some writes which were in
> progress. Therefore you disk image was corrupt, and so your
> FS was *not* in a self-consistent state.
Shouldn't fsck run in the foreground for disks setup with WC? That
would be a quick hack solving this issue altogether.
A.
--
Conformity-the natural instinct to passively yield to that vague something
recognized as authority.
- Mark Twain
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+gIDgttcWHAnWiGcRAvPjAJwMCkT2MmZ0weBljqY4ofC/uWnqpgCeI+Ax
EIcgqogpgkucRFthdmrSXc8=
=iHal
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325161632.GB600>
