public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] Welche Funktion hat die "exports" Option "nohide"?
@ 2005-09-03 19:09 Alexander Skwar
  2005-09-04  6:53 ` Bernd Wurst
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Skwar @ 2005-09-03 19:09 UTC (permalink / raw
  To: gentoo-user-de

Hallo!

Irgendwie kapiere ich nicht so ganz, was die "nohide" Option
in der "exports" Datei macht. Ich hatte die Option laut der
exports(5) man page so verstandne, das man damit nicht mehr
jedes Dateisystem explizit exportieren muss.

Ich beziehe mich auf die Manpage, wie man sie auch auf
<http://www.die.net/doc/linux/man/man5/exports.5.html> finden
kann. Ich beziehe mich ferner auf nfs-utils-1.0.7-r1
und Kernel 2.6.13 (ck-sources-2.6.13-ck1).

Auf meinem "server" habe ich:

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

[20:53:35 alexander@server:~] $ 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 alexander@server:~] $ mount | grep test
/dev/mapper/daten3-lvol0 on /test/otherfs type ext2 (rw)

Auf dem "blatt" Rechner habe ich dann gemacht:

alexander@blatt ~ $ sudo mount -t nfs -v server:/test /mnt
server:/test on /mnt type nfs (rw,addr=192.168.1.3)
alexander@blatt ~ $ 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 ..

Warum habe ich nun die Datei "datei.txt" im Verzeichnis
"otherfs" NICHT angezeigt bekommen? Eigentlich hätte ich
erwartet, das ich die Datei sehe, da ich "/test" mit der
Option "nohide" exportiert habe.

Warum ist dem nicht so?

Ebenso wundere ich mich über folgenden Fehler:

alexander@blatt ~ $ sudo mount -v -t nfs server:/test/otherfs /mnt
mount: server:/test/otherfs failed, reason given by server: Keine Berechtigung

Im "server" syslog erhalte ich dann zur gleichen Zeit folgende
Einträge:

==> ./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

Wieso bekomme ich diesen Fehler?

Danke,

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user-de] Welche Funktion hat die "exports" Option "nohide"?
  2005-09-03 19:09 [gentoo-user-de] Welche Funktion hat die "exports" Option "nohide"? Alexander Skwar
@ 2005-09-04  6:53 ` Bernd Wurst
  2005-09-04  8:45   ` Alexander Skwar
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Wurst @ 2005-09-04  6:53 UTC (permalink / raw
  To: gentoo-user-de

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

Hallo.

Am Samstag, 3. September 2005 21:09 schrieb Alexander Skwar:
> Auf meinem "server" habe ich:
>
> /etc/exports:
> /test  
> blatt.bei.digitalprojects.com(async,rw,root_squash,no_subtree_check,n
>ohide)

Du musst in der /etc/exports *alle* Dateisysteme eintragen, der 
Unterschied ist nur, dass man nachher von Client nur eines mounten 
muss. Wenn du kein nohide angibst, dann musst du jedes Dateisystem auch 
explizit am Client mounten, wenn nohide aktiv ist, dann werden alle 
Sub-Dateisysteme (die mit nohide gekennzeichnet sind) automatisch am 
Client verfügbar gemacht.

cu, Bernd

-- 
Hängt die Grünen, solange es noch Bäume gibt!
  -  Mehmet Scholl (dt. Fußballer)

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user-de] Welche Funktion hat die "exports" Option "nohide"?
  2005-09-04  6:53 ` Bernd Wurst
@ 2005-09-04  8:45   ` Alexander Skwar
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Skwar @ 2005-09-04  8:45 UTC (permalink / raw
  To: gentoo-user-de

Bernd Wurst schrieb:
> Hallo.
> 
> Am Samstag, 3. September 2005 21:09 schrieb Alexander Skwar:
>> Auf meinem "server" habe ich:
>>
>> /etc/exports:
>> /test  
>> blatt.bei.digitalprojects.com(async,rw,root_squash,no_subtree_check,n
>>ohide)
> 
> Du musst in der /etc/exports *alle* Dateisysteme eintragen, der 
> Unterschied ist nur, dass man nachher von Client nur eines mounten 
> muss.

Aha. Danke, das hatte ich so nicht verstanden.

Nun klappt's - super!

Alexander Skwar
-- 
Doubt isn't the opposite of faith; it is an element of faith.
		-- Paul Tillich, German theologian.
-- 
gentoo-user-de@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-04  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-03 19:09 [gentoo-user-de] Welche Funktion hat die "exports" Option "nohide"? Alexander Skwar
2005-09-04  6:53 ` Bernd Wurst
2005-09-04  8:45   ` Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox