Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Verzögerter nfs Zugriff als normaler User
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
korz
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 141
Location: Cologne, Germany

PostPosted: Thu Jun 09, 2005 12:42 pm    Post subject: Verzögerter nfs Zugriff als normaler User Reply with quote

Hallo,
wenn ich als normaler User in ein NFS Verzeichnis wechsle und einen Befehl eingebe, dann wird dieser erst ca. eine Minute später ausgeführt: "ls" ausführen, eine Minute warten, Directory wird angezeigt. Alle folgenden Befehle werden spontan ausgeführt, es sei denn, man war zu lange inaktiv, dann geht das ganze von vorne los. Als User root werden die Befehle immer spontan ausgeführt.
Die /etc/exports sieht so aus:
Quote:
# /etc/exports: NFS file systems being exported. See exports(5).
/ 192.168.0.0/255.255.255.0(rw,no_root_squash,async)


Hat jemand Ahnung, woran das liegen könnte?

Gruß
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Jun 09, 2005 5:44 pm    Post subject: Reply with quote

Gibt es nen bestimmten Grund async zu benutzen? Ich würde lieber sync verwenden.

2. Frage:

Hast du auf dem Client auch den nlockmgr laufen? (überprüfen mit rpcinfo -p localhost)
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
korz
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 141
Location: Cologne, Germany

PostPosted: Sat Jun 11, 2005 6:24 pm    Post subject: Reply with quote

Hallo,

für async gibt es keinen Grund, ändert aber nichts am beschriebenen Verhalten. Habe es trotzdem mal verändert.

Der nlockmgr läuft. Nicht gut??

Gruß & schonmal danke

Frank
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Sun Jun 12, 2005 10:29 am    Post subject: Reply with quote

Doch, der nlockmgr sollte laufen, das ist OK so.

Welche NFS-Version verwendest du denn? Ich würde auf jedenfall die Version 3 nehmen.

Sonst fällt mir so auf die schnelle auch nichts ein.

EDIT: Was mir noch einfällt:

Du musst die nfs-utils sowohl auf dem Server als auch auf dem Client installieren. Ebenfalls auf beiden nfs zum default run-level hinzufügen.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
korz
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 141
Location: Cologne, Germany

PostPosted: Tue Jun 14, 2005 12:11 pm    Post subject: Reply with quote

Hallo,

auf dem Client war nfs-utils zwar nicht drauf, aber auch nach der Installation ändert sich nichts an der Lage. Werde es mal mit einem anderen Client versuchen. Dann kann ich das Problem auf den Server oder den Client begrenzen.

Gruß
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Tue Jun 14, 2005 12:59 pm    Post subject: Reply with quote

Hast du denn auch nfs gestartet auf dem Client? Alleine das installieren reicht nicht:

/etc/init.d/nfs start

Zeig mal deine Ausgabe von

rpcinfo -p localhost

und

rpcinfo -p server
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
korz
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 141
Location: Cologne, Germany

PostPosted: Tue Jun 14, 2005 3:25 pm    Post subject: Reply with quote

Hallo,

Hier die Ausgaben:

rpcinfo -p localhost:

Quote:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32800 status
100024 1 tcp 32770 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32801 nlockmgr
100021 3 udp 32801 nlockmgr
100021 4 udp 32801 nlockmgr
100021 1 tcp 32771 nlockmgr
100021 3 tcp 32771 nlockmgr
100021 4 tcp 32771 nlockmgr
100005 1 udp 728 mountd
100005 1 tcp 731 mountd
100005 2 udp 728 mountd
100005 2 tcp 731 mountd
100005 3 udp 728 mountd
100005 3 tcp 731 mountd


rpcinfo -p server:

Quote:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32883 status
100024 1 tcp 33003 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32884 nlockmgr
100021 3 udp 32884 nlockmgr
100021 4 udp 32884 nlockmgr
100021 1 tcp 33004 nlockmgr
100021 3 tcp 33004 nlockmgr
100021 4 tcp 33004 nlockmgr
100005 1 udp 808 mountd
100005 1 tcp 811 mountd
100005 2 udp 808 mountd
100005 2 tcp 811 mountd
100005 3 udp 808 mountd
100005 3 tcp 811 mountd


Ich dachte immer, das nfs Script sei dazu da, den Server zu starten, der Client sollte also auch funktionieren, wenn nfs auf ihm nicht gestartet ist.
Aber egal, ich will nichts unversucht lassen. Hat aber nichts geändert.

Gruß
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum