[Sunhelp] SOLVED: Re: Help: Can't remove directory

Tim Chong sunhelp at sunhelp.org
Tue Oct 31 07:49:16 CST 2000


Referring to initial problem as described before... Essentially there're
some bad links to the directory. "test" directory inode 600712 (ls -i test),
has a lot of bad links according the fsck (fsck /dev/rdsk/c0t0d0s7) when I
run it in Single user mode.

And the bad boys are these:

[dino:/export/home] oeyvind% su
Password:
# cd lost+found
# ls
#000164  #159125  #247528  #335787  #388881  #477213  #559620  #606577
#006050  #165134  #253330  #335822  #394607  #482891  #565379  #612605
#012047  #165148  #259191  #335846  #394648  #482951  #565398  #618508
#023631  #176932  #259239  #341782  #394663  #482963  #565408  #624291
#035457  #206373  #276890  #347570  #394711  #488952  #565447  #630116
#088602  #212071  #300583  #347609  #400485  #506479  #565456  #653725
#106273  #218145  #329844  #359419  #400556  #530082  #571374  #671512
#123905  #224010  #329856  #371199  #424190  #541938  #589087  #689022
#129787  #224034  #329907  #371227  #435867  #541952  #600791
#147478  #247520  #335740  #377089  #441837  #547799  #600812

Thanks to Frank Flsland <fhf at pogostick.net> & The Archimage
<tcameron at linux-magic.com> for pointing me to the right spot.

Rgds,

Tim

On 2000/10/29 18:21, Tim Chong <oeyvind at mac.com> wrote:

> Hi there,
> 
> Can someone help me? I can't seem to remove this directory:
> 
> # pwd
> /export/home/ab2/dweb/data
> # ls -la
> total 10
> drwxrwxrwx   3 root     root         512 Oct 29 18:06 .
> drwxrwxrwx   3 root     root         512 Oct 29 16:46 ..
> drwxrwxrwx  80 root     root        3072 Oct 29 16:47 test
> # rm -rf test
> rm: Unable to remove directory test: File exists
> # cd test
> # ls -la
> total 8
> drwxrwxrwx  80 root     root        3072 Oct 29 16:47 .
> drwxrwxrwx   3 root     root         512 Oct 29 18:06 ..
> # 
> It's seem there's something in test, but what? I can't see it, and I can't
> remove /export/home/ab2, because of test.
> 
> Any clue? I have tried doing so in Single user mode but failed, FYI: it's
> Solaris 8 SPARC.
> 
> Thanks in advance,
> 
> Tim

-- 
Tim Chong <oeyvind at mac.com>
PGP Fingerprint: F8AC CF1E 86CB C42D  F29F B0AB 02B9 D2B1

SPAM > /dev/null




More information about the SunHELP mailing list