From owner-freebsd-stable@FreeBSD.ORG Wed Mar 10 02:23:41 2004 Return-Path: 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 A57B516A4CE for ; Wed, 10 Mar 2004 02:23:41 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7178A43D2F for ; Wed, 10 Mar 2004 02:23:41 -0800 (PST) (envelope-from manfred.lotz@web.de) Received: from [82.82.140.178] (helo=wizard.sanskrit.local.net) by smtp.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.99 #614) id 1B10sF-0003Yg-00; Wed, 10 Mar 2004 11:23:40 +0100 Received: from wizard.sanskrit.local.net (localhost.sanskrit.local.net [127.0.0.1])i2AANW24037165; Wed, 10 Mar 2004 11:23:33 +0100 (CET) (envelope-from manfred.lotz@web.de) Date: Wed, 10 Mar 2004 11:23:32 +0100 From: Manfred Lotz To: Mark Sergeant Message-Id: <20040310112332.76f76bf7.manfred.lotz@web.de> In-Reply-To: <1078910490.1333.2.camel@localhost> References: <1078910490.1333.2.camel@localhost> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: manfred.lotz@web.de cc: freebsd-stable@freebsd.org Subject: Re: unexpected softupdate inconsistency X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 10:23:41 -0000 On Wed, 10 Mar 2004 19:21:30 +1000 Mark Sergeant wrote: > In situations like this it can be useful to use vim on the dir entry > that is affected and remove the invalid filenames. This has worked for > me before. > > Cheers, > > Mark Thanks for the reply. Have to admit that it would have never occured to me to do this. Good idea. Did you experience this often? I'm worried. Never had something like this before. Manfred > > On Wed, 2004-03-10 at 17:27, Manfred Lotz wrote: > > Hi there, > > System is FreeBSD 4.9 Stable > > > > Had a problem during a portupgrade that when portupgrade did some > > cleaning a directory could not be deleted because it were not empty. > > However, it was empty. rm -rf didn't help either. > > > > Because I didn't know what to do I decided to boot. > > > > At system startup fsck was started which produced the message: > > unexpected softupdate inconsistency and also that some blocks could > > not be written to. At the end fsck said: filesystem still dirty and > > I should run fsck manually which I did but without any success. > > > > After that I rebooted from CD and did two backups of the filesystem > > using dump and tar. Both commands complained at the locations where > > the file system was corrupt but the backup went fine besides that. > > > > I checked for hardware errors by running > > dd if=/dev/ad0s1g of=/dev/null bs=32k > > Ran fine without any complains. > > > > After recreating the filesystem with newfs and restoring the data > > I'm fine for now. > > > > I should mention that I did not find any related messages in > > /var/log/messages. > > > > > > However, I'm really worried. Is there anybody I could do???