Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 23:03:52 -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:  <20030125070352.GA933@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.

FreeBSD's ``fix'' for this problem is the same as Windows 98's.
Specifically, there is a 5-second delay (tuneable:
kern.shutdown.poweroff_delay) after all buffers are flushed but
before the power is cut.  Maybe we ought to be sending FLUSH
CACHE commands to all drives and waiting for them to finish.

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?20030125070352.GA933>