From owner-freebsd-stable@FreeBSD.ORG Sun Sep 21 22:07:22 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6949106566C for ; Sun, 21 Sep 2008 22:07:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0E38FC1C for ; Sun, 21 Sep 2008 22:07:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA05.westchester.pa.mail.comcast.net with comcast id HZnk1a0050QuhwU55a7MSx; Sun, 21 Sep 2008 22:07:21 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA02.westchester.pa.mail.comcast.net with comcast id Ha6s1a0084v8bD73Na6s7U; Sun, 21 Sep 2008 22:06:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=TxirYYpeSEAA:10 a=QO6ccaido9wA:10 a=QycZ5dHgAAAA:8 a=d-qYR513dP15oS1PmvsA:9 a=GT1Lkp7De-eRngKbhmMA:7 a=qeB8QLzLmwr987GcK2lKhjCzPEkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BCB3817B822; Sun, 21 Sep 2008 15:07:20 -0700 (PDT) Date: Sun, 21 Sep 2008 15:07:20 -0700 From: Jeremy Chadwick To: Clint Olsen Message-ID: <20080921220720.GA9847@icarus.home.lan> References: <20080921213426.GA13923@0lsen.net> <20080921215203.GC9494@icarus.home.lan> <20080921215930.GA25826@0lsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080921215930.GA25826@0lsen.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY 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: Sun, 21 Sep 2008 22:07:23 -0000 On Sun, Sep 21, 2008 at 02:59:30PM -0700, Clint Olsen wrote: > I ran in multi-user mode because the system booted. I figured that it > would have halted the boot if it was serious enough to warrant single-user > mode fsck. That has happened before. > > Thanks, > > -Clint > > On Sep 21, Jeremy Chadwick wrote: > > Are you running fsck on the filesystem while its mounted? Are you doing > > this in single-user or multi-user mode? Re-adding mailing list to the CC list. No, I don't think that is the case, assuming the filesystems are UFS2 and are using softupdates. When booting multi-user, fsck is run in the background, meaning the system is fully up + usable even before the fsck has started. Consider using background_fsck="no" in /etc/rc.conf if you prefer the old behaviour. Otherwise, boot single-user then do the fsck. You could also consider using clri(8) to clear the inode (190). Do this in single-user while the filesystem is not mounted. After using clri, run fsck a couple times. Also, are there any kernel messages about ATA/SCSI disk errors or other anomalies? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |