From owner-freebsd-fs@FreeBSD.ORG Mon Oct 2 15:08:42 2006 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7997A16A412; Mon, 2 Oct 2006 15:08:42 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1657843D73; Mon, 2 Oct 2006 15:08:41 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k92F8fg2087220; Mon, 2 Oct 2006 10:08:41 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <45212B77.2040906@centtech.com> Date: Mon, 02 Oct 2006 10:08:39 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: Josef Karthauser References: <20061002150333.GB2587@genius.tao.org.uk> In-Reply-To: <20061002150333.GB2587@genius.tao.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1972/Mon Oct 2 09:25:50 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: fs@freebsd.org Subject: Re: Snapshots not being created... [brooks@one-eyed-alien.net: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE.] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 15:08:42 -0000 Can you send more information, like: tunefs -p /var grep var /etc/fstab mount | grep var Thanks! Eric On 10/02/06 10:03, Josef Karthauser wrote: > Hi guys, > > It looks like snapshots are failing on my laptop, so background fscks > don't work :/. Can someone help me get to the bottom of it please? > > Thanks :). > Joe > > ----- Forwarded message from Brooks Davis ----- > > Date: Mon, 2 Oct 2006 09:58:04 -0500 > From: Brooks Davis > To: Josef Karthauser , > Brooks Davis , stable@FreeBSD.org > Subject: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE. > > 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 > > > > ----- End forwarded message ----- > -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------