Hello!

I'm having some trouble understanding the "nohide"
option in the exports file.

On the server, I've got:

/etc/exports:
/test   
blatt.bei.digitalprojects.com(async,rw,root_squash,no_subtree_check,nohide)

[20:53:35 [EMAIL PROTECTED]:~] $ ls -laR /test
/test:
insgesamt 3
drwxr-xr-x   3 root root 1024  3. Sep 20:48 .
drwxr-xr-x  30 root root 1024  3. Sep 20:48 ..
drwxr-xr-x   3 root root 1024  3. Sep 20:49 otherfs

/test/otherfs:
insgesamt 15
drwxr-xr-x  3 root root  1024  3. Sep 20:49 .
drwxr-xr-x  3 root root  1024  3. Sep 20:48 ..
-rw-r--r--  1 root root    29  3. Sep 20:49 datei.txt
drwx------  2 root root 12288  3. Sep 20:46 lost+found
ls: /test/otherfs/lost+found: Keine Berechtigung
[20:53:39 [EMAIL PROTECTED]:~] $ mount | grep test
/dev/mapper/daten3-lvol0 on /test/otherfs type ext2 (rw)

On the "blatt" client, I've done:

[EMAIL PROTECTED] ~ $ sudo mount -t nfs -v server:/test /mnt
server:/test on /mnt type nfs (rw,addr=192.168.1.3)

Then:

[EMAIL PROTECTED] ~ $ ls -laR /mnt/
/mnt/:
insgesamt 6
drwxr-xr-x   3 root root 1024  3. Sep 20:48 .
drwxr-xr-x  23 root root 4096  3. Sep 20:18 ..
drwxr-xr-x   2 root root 1024  3. Sep 20:48 otherfs

/mnt/otherfs:
insgesamt 2
drwxr-xr-x  2 root root 1024  3. Sep 20:48 .
drwxr-xr-x  3 root root 1024  3. Sep 20:48 ..

I now would have thought, that I'd see the "datei.txt"
in the "otherfs" directory, as the directory has been
exported with the "nohide" option.

Why don't I see "datei.txt"?

Also, why do I get the following error?

[EMAIL PROTECTED] ~ $ sudo mount -v -t nfs server:/test/otherfs /mnt
mount: server:/test/otherfs failed, reason given by server: Keine Berechtigung

In the server syslog, I get:

==> ./user.log <==
Sep  3 20:56:24 server rpc.mountd: authenticated mount request from 
blatt.bei.digitalprojects.com:862 for /test/otherfs (/test)
Sep  3 20:56:24 server rpc.mountd: request to export directory /test/otherfs 
below nearest filesystem /test

Thanks,

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list

Reply via email to