Re: what files are these? and how do I remove them?

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Wed, 21 Apr 2004 17:45:05 -0500
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_at_allantgroup.com
Received on Wed Apr 21 2004 - 13:45:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC