Date: Mon, 27 Jan 2003 04:10:58 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Greg Lehey <grog@FreeBSD.ORG> Cc: Andy Farkas <andyf@speednet.com.au>, Thomas David Rivers <rivers@dignus.com>, Robert Watson <rwatson@FreeBSD.ORG>, current@FreeBSD.ORG Subject: Re: I've just had a massive file system crash Message-ID: <20030127121058.GC388@HAL9000.homeunix.com> In-Reply-To: <20030125043817.GD929@sydney.worldwide.lemis.com> References: <20030124093754.GD2402@sydney.worldwide.lemis.com> <Pine.NEB.3.96L.1030124110543.43965D-100000@fledge.watson.org> <20030124093754.GD2402@sydney.worldwide.lemis.com> <200301241153.h0OBrf654388@lakes.dignus.com> <20030124093754.GD2402@sydney.worldwide.lemis.com> <20030124203116.H62832-100000@hewey.af.speednet.com.au> <20030125043817.GD929@sydney.worldwide.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Greg Lehey <grog@FreeBSD.ORG>: > I've been thinking about what happened, and I have a possibility: the > session before shutdown included a lot of writing to that file system, > and I did a shutdown -p. It's possible that the shutdown powered off > the system before the disk had flushed its cache. For the moment I'm > avoiding shutdown -p, but when I get home I'll try to provoke it > again. Just a heads up: Soeren tells me he will commit a fix for this in his next ATA meta-commit. I have patches if wanted. I still can't figure out why the problem would trash your entire home directory, though. Even if the disk reordered writes and failed to write some sectors, directory entries that were not being actively modified shouldn't have become corrupted, as far as I know. (Maybe your disk does track-at-once writes and just happened to be flushing the last few sectors from its cache when the power was cut.) Perhaps someone could ask Kirk, although it may take an actual hosed filesystem to diagnose what happened. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030127121058.GC388>