From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 16:17:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5DF316A4CE for ; Fri, 21 Jan 2005 16:17:44 +0000 (GMT) Received: from mail13.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E54C43D49 for ; Fri, 21 Jan 2005 16:17:44 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 24947 invoked from network); 21 Jan 2005 16:17:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Jan 2005 16:17:44 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3B6F77E; Fri, 21 Jan 2005 11:17:43 -0500 (EST) Sender: lowell@be-well.ilk.org To: Jay References: <20050120200404.GC60107@mail.meangrape.com> From: Lowell Gilbert Date: 21 Jan 2005 11:17:43 -0500 In-Reply-To: <20050120200404.GC60107@mail.meangrape.com> Message-ID: <44sm4urc2g.fsf@be-well.ilk.org> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: snapshots, soft update inconsistency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 16:17:44 -0000 Jay writes: > I've got some filesystem problems on my /usr partition. > Cause: power failures caused by TWO exploding transformers > > I restarted in single-user mode and fsck'd all of my partitions. > Everything looked fine. > > I've got a handful of zero-length files that I can't fix. "Bad file > descriptor". I've tried `ls -i` to get the inode number so I can delete > the files via find. ls doesn't work -- it just returns "Bad file > descriptor". > > I then had the bright idea of making a snapshot and running fsck against > it. I got a few hundred lines of "unexpected soft update > inconsistency". I didn't have fsck repair anything against the snapshot; > I just wanted to see what the output was. > > Should I: > a) run fsck against the snapshot and let it fix things > b) go back to single-user mode and run fsck > c) do something else > > I'm sure that booting into single-user mode is the best idea, however, > I'd prefer not to do that if possible -- the machine is up and running > and doing it's thing fairly well at the moment. I thought you said you had already done that, and that it seemed fine. Doing it again will only help if new problems have arisen since then. If the machine is working okay as it is, and the data on its disks is completely expendable, then feel free to leave it alone and wait for problems to get worse.