[OpenAFS] No such device in ls

Russ Allbery rra@stanford.edu
Thu, 05 Jan 2006 10:13:39 -0800


Sean Kelly <smkelly@rooster.creighton.edu> writes:

> This may have been covered in list archives somewhere, but I failed to
> locate it.

> I'm having an issue where dead/broken mountpoints in AFS cause ls to
> output error messages. For example, I just did a `vos remove <volname>`
> of a mounted volume and now when I try to remove the mountpoint:

> [smkelly@test-host users]$ rm dirname
> rm: cannot lstat `dirname': No such device
> [smkelly@test-host users]$ rmdir dirname
> rmdir: `dirname': No such device

That isn't how you remove a mount point.  You have to use fs rmmount
(which will work fine for a mount point for a volume that's been deleted).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>