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 <>, Thomas David Rivers <>, Robert Watson <rwatson@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: I've just had a massive file system crash
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <> <> <>

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
with "unsubscribe freebsd-current" in the body of the message

Want to link to this message? Use this URL: <>