Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 09:49:49 -0800
From:      Kirk McKusick <mckusick@mckusick.com>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        fs@freebsd.org
Subject:   Re: unexpected soft update inconsistency - cannot fix 
Message-ID:  <201201101749.q0AHnn1s053527@chez.mckusick.com>
In-Reply-To: <201201101315.q0ADFQ5f017969@fire.js.berklix.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
The problem is that you somehow lost your ".." entry in the
directory associated with inode 825575. That entry was then
replaced by "Makefile,v". Because ".." is missing, fsck cannot
figure out its parent and hence the pathname of the directory.

To fix, do the following:

cd to mountpoint of filesystem
find . -inum 825575 -print
cd to the directory identified by find
mv Makefile,v Makefile,v.sav
cd /
unmount filesystem
run fsck which should now be able to create ".."
mount filesystem
cd to affected directory
mv Makefile,v.sav Makefile,v

	Kirk McKusick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201101749.q0AHnn1s053527>