From owner-freebsd-current Sat Jan 25 19:54:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62CD937B401 for ; Sat, 25 Jan 2003 19:54:22 -0800 (PST) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1202843EB2 for ; Sat, 25 Jan 2003 19:54:21 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp164.sa.padsl.internode.on.net [150.101.244.163]) by smtp0.adl1.internode.on.net (8.12.4/8.12.4) with ESMTP id h0Q3sDCq044009; Sun, 26 Jan 2003 14:24:14 +1030 (CST) Received: (from root@localhost) by midget.dons.net.au (8.12.2/8.12.2) id h0Q3s5Lx076128; Sun, 26 Jan 2003 14:24:05 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by midget.dons.net.au (8.12.2/8.12.2av) with ESMTP id h0Q3s3tJ076116; Sun, 26 Jan 2003 14:24:03 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: I've just had a massive file system crash From: "Daniel O'Connor" To: David Schultz Cc: Nate Lawson , current@freebsd.org In-Reply-To: <20030125213859.GB6339@HAL9000.homeunix.com> References: <20030125070352.GA933@HAL9000.homeunix.com> <20030125213859.GB6339@HAL9000.homeunix.com> Content-Type: text/plain Organization: Message-Id: <1043553241.85148.191.camel@chowder.dons.net.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 26 Jan 2003 14:24:02 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.6 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01 X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2003-01-26 at 08:08, David Schultz wrote: > Good. I was referring to IDE in this case, because I assume > that's what Greg's laptop uses. The ATA driver flushes the cache > when the device is closed, but I don't think that happens during > shutdown. It probably needs to register a shutdown hook like the > SCSI driver. Also, the driver is a bit optimistic about how long > the flush will take; it times out after 5 seconds, whereas the ATA > spec says a flush can take up to 30 seconds. I am wondering if I experienced this problem with my -stable laptop.. I shut it down and then booted it up later to find fsck having a nice good chew on the drive (deleting REAMS of files). I stopped it and then ripped it out of the lappy and mounted it read only to recover most of my files. Lots of things in /etc got toasted, and it was rather annoying to recover from :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message