Since link count is 2 on the parent of subdir, it is apparent that
subdir is not a directory, but a mountpoint.  After all, that is what
to OS is telling you.  Try "fs lsm subdir" and "fs rmm subdir", and
see if that helps.

> We are using AFS 3.3a together with some AFS 3.4a.patches machines in our AFS 
> cell. I'm running a sun4m_54 client under AFS 3.4a.patches.
> 
> I'm unable to delete a directory:
> 
> harriet% ls -al
> total 20
> drwx------   2 bubeck   TIstaff     4096 Jun 21 12:23 ./
> drwx------   3 bubeck   TIstaff     2048 Jun 21 11:46 ../
> drwxrwxrwx   2 bubeck   TIstaff     4096 Jun 21 12:21 subdir/
> harriet% cd subdir/
> harriet% ls -al
> total 16
> drwxrwxrwx   2 bubeck   TIstaff     4096 Jun 21 12:21 ./
> drwx------   2 bubeck   TIstaff     4096 Jun 21 12:23 ../
> harriet% cd ..
> harriet% rmdir subdir
> rmdir: subdir: Path component not a directory
> harriet% rm -rf subdir
> rm: Unable to remove directory subdir: Not a directory
> harriet% 
> 
> What can I do? I run the salvager on the volume but I was still unable to 
> delete the directory. Does anyone has any suggestions?

...Tim

          Tim Theisen           Associate Researcher
Internet: [EMAIL PROTECTED]       Department of Computer Sciences
    UUCP: uwvax!tim             University of Wisconsin-Madison
   Phone: (608)262-0438         1210 West Dayton Street
     FAX: (608)262-9777         Madison, WI   53706-1685

Reply via email to