Re: Rogue Directory



On 09/05/2007 12:03 PM, Hal Vaughan wrote:
Yesterday I created a new directory on my workstation so I could mount a
few NFS mounts on it. As root, I typed "mkdir /thresh" and it worked,
or seemed to. I realize I didn't actually list it, I just tried
mounting the imported filesystems on it and it worked. Now when I list
it, I get:

?--------- ? ? ? ? ? /thresh

This appears that your created or possibly the mounted a directory has
some odd permissions - e.g.:

$ mkdir -m600 foo
$ ls -la foo/
total 0
?--------- ? ? ? ? ? foo/.
?--------- ? ? ? ? ? foo/..

What can I do to either delete it (the only data in it is mounted from
other systems) or make it usable?

Try unmounting your NFS share and checking permissions/UMASK on both sides.

--
Kind Regards,
Michael Shuler


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Rogue Directory
    ... few NFS mounts on it. ... As root, I typed "mkdir /thresh" and it worked, ... I tried chown, rm, mv and other commands as root, but I can't do ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mkdir no longer works
    ... Thank you for your replies. ... when I type mkdir directory-name or mkdir path ... Did you alias it? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mkdir no longer works
    ... when I type mkdir directory-name or mkdir path ... Did you alias it? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Free me from the pain of NFS!
    ... I currently have several NFS mounts to share my media between my ... PVR, my workstation, and my neighbour's workstation downstairs. ... That's not entirely true, I do seem to have some nagging problems with updates to our NIS-served /etc/auto.home file not being noticed by autofs sometimes, but that's not a problem you would ever encounter. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: flock, fcntl, lockf?
    ... file) to prevent damage from simultaneous writing? ... think that flock() does not work on NFS mounts, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)