Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2004 17:45:05 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Michael Johnson <ahze@ahze.net>
Cc:        current@freebsd.org
Subject:   Re: what files are these? and how do I remove them?
Message-ID:  <20040421224504.GA20446@dan.emsphone.com>
In-Reply-To: <E5C09C2C-93E0-11D8-A51C-000A958C81C6@ahze.net>
References:  <E5C09C2C-93E0-11D8-A51C-000A958C81C6@ahze.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 21), Michael Johnson said:
> Hi,
> 	First off I'm using vinum raid-0 on this filesystem and I'm running
> gentoo:/usr/src/bin root$ uname -a
> FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #41: Tue Apr 13 
> 22:30:51 EDT 2004
> 
> I can't delete two files and they do not show up with 'ls'
> 
> gentoo:/usr/src/bin root$ ls -al
> ls: stty: Bad file descriptor
> ls: sync: Bad file descriptor
> total 4
> drwxr-xr-x   4 root  wheel   512 Apr 21 18:07 .
> drwxr-xr-x  26 root  wheel  1024 Apr 21 18:03 ..

You may need to unmount the filesystem, use fsdb to clear those two
inodes, then run fsck to fix everything else up.  Then restore those
files from tape (or another system), since soemthing will eventually
complain about them being missing.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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