From owner-freebsd-hackers@FreeBSD.ORG Mon May 2 03:01:18 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 936B816A4CE for ; Mon, 2 May 2005 03:01:18 +0000 (GMT) Received: from julesburg.uits.indiana.edu (julesburg.uits.indiana.edu [129.79.1.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083BC43D3F for ; Mon, 2 May 2005 03:01:18 +0000 (GMT) (envelope-from dmschei@attglobal.net) Received: from mail-relay.iu.edu (logchain.uits.indiana.edu [129.79.1.77]) j4231FaN011985; Sun, 1 May 2005 22:01:15 -0500 (EST) Received: from [149.161.16.37] (viper-037-client.iusb.edu [149.161.16.37]) (authenticated bits=0)j4231EsY026770; Sun, 1 May 2005 22:01:14 -0500 (EST) Message-ID: <427597F9.7000608@attglobal.net> Date: Sun, 01 May 2005 22:01:13 -0500 From: David Scheidt User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <007901c54ec0$14bb3e30$b3db87d4@multiplay.co.uk> <20050502025305.GA29984@xor.obsecurity.org> In-Reply-To: <20050502025305.GA29984@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Steven Hartland Subject: Re: 5.4-STABLE corrupting fs on shutdown -p now? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 03:01:18 -0000 Kris Kennaway wrote: > On Mon, May 02, 2005 at 03:38:49AM +0100, Steven Hartland wrote: >>Why would FS's be being corrupted by "shutdown -p now" where >>as "reboot" doesnt seem to? > > > Maybe the machine is being powered down before your disks have > finished writing their data to disk. > My ThinkPad has done this several times. It normally boots, but complains that filesystems aren't clean. I can't reliably reproduce it. As I'm not normally beating on the disk before I power it off, I can't see that it wouldn't have time to write the data. (The buffer counts are always less than 5). It didn't do this on the mid-feb. stable I was running until recently. > Kris