From owner-freebsd-stable@FreeBSD.ORG Mon Oct 2 14:58:24 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF9C16A40F; Mon, 2 Oct 2006 14:58:24 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id C847343D53; Mon, 2 Oct 2006 14:58:23 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20061002145822m9100smja3e>; Mon, 2 Oct 2006 14:58:22 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id k92EwASR026465; Mon, 2 Oct 2006 09:58:11 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id k92EwAw6026464; Mon, 2 Oct 2006 09:58:10 -0500 (CDT) (envelope-from brooks) Date: Mon, 2 Oct 2006 09:58:04 -0500 From: Brooks Davis To: Josef Karthauser , Brooks Davis , stable@FreeBSD.org Message-ID: <20061002145804.GA26041@lor.one-eyed-alien.net> References: <20060929131612.GA1473@genius.tao.org.uk> <20060929144407.GA85110@lor.one-eyed-alien.net> <20061002111010.GC851@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061002111010.GC851@genius.tao.org.uk> User-Agent: Mutt/1.5.11 Cc: Subject: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 14:58:24 -0000 On Mon, Oct 02, 2006 at 12:10:10PM +0100, Josef Karthauser wrote: > On Fri, Sep 29, 2006 at 09:44:07AM -0500, Brooks Davis wrote: > > On Fri, Sep 29, 2006 at 02:16:12PM +0100, Josef Karthauser wrote: > > > Hey guys, > > > > > > I'm not really on the ball with reading the lists now-a-days, and so > > > I've not idea whether this has been discussed already. > > > > > > On my laptop running 6.2-PRERELEASE the drives always mount dirty, which > > > suggests that they are not being shutdown clean; however the machine > > > always syncs the disks and switches itself off after a 'shutdown -p > > > now', and so I'm not sure what it could be. > > > > > > Has anyone else seen this? > > > > I haven't seen any other reports of this. Have you tried running a > > "fsck -f" on the drives? It's possible there's a latent error that > > isn't being fixed by bgfsck. > > > > Closer investigation reveals that I've getting this error: > > laptop# fsck -B /var > background fsck lacks a snapshot > > So, that explains it. The background fsck isn't running. So, any ideas > why it isn't snapshotting? > > laptop# ls -ld /var/.snap > drwxrwx--- 2 root operator 512 Oct 2 12:09 /var/.snap This message appears to be the result of fsck thinking it created a snapshot, but not actually doing so. You might try asking over on -fs. -- Brooks