NFS und TCP vs. UDP "NFS Probleme mit SuSE 9.1"
Hallo, Ich habe folgende komische Situation: Ich habe drei Rechner, von denen einer von 8.irgendwas auf 9.1 upgedated wurde und die anderen beiden von 9.0 auf 9.1. Ein NFS-Server wurde ebenfalls auf 9.1 upgedatet. Das Ergebnis: Der von 8 auf 9 upgedate Rechner bootet wunderbar und mounted das NFS. Die anderen beiden Rechner booten auch, mounten das NFS aber nicht (Fehlermeldung mit RPC siehe unten). Man kann es dann einfach mit rcnfs start per hand starten. Meiner Meinung nach deutet das auf ein Timing-Problem hin. Eine Lösung, die ich auf suse-linux gefunden habe, ist UDP zu nehmen: http://lists.suse.com/archive/suse-linux/2004-Apr/3946.html Ist UDP besser/sinnvoller als TCP? Es hört sich für mich nicht nach der eigentlichen Lösung an. Die haben sich auch drüber unterhalten und das letzte Posting ähnelt meinem stark: http://www.linuxquestions.org/questions/history/150057 Vielen Dank und viele Grüße Stefan Das steht in boot.msg: <notice>start services (network) Setting up network interfaces: lo lo IP address: 127.0.0.1/8 doneWaiting for mandatory devices: eth-id-00:30:05:5f:62:66 20 19 18 17 16 15 modprobe: FATAL: Error inserting hw_random (/lib/modules/2.6.4-54.5-default/kernel/drivers/char/hw_random.ko): No such device eth0 device: Intel Corp. 82547EI Gigabit Ethernet Controller (LOM) eth0 configuration: eth-id-00:30:05:5f:62:66 eth0 IP address: 134.102.43.199/27 doneSetting up service network . . . . . . . . . . . . . . . .done <notice>exit status of (network) is (0) <notice>start services (syslog) Starting syslog services<notice>startproc: execve (/sbin/syslogd) [ /sbin/syslogd -a /var/lib/ntp/dev/log ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=25 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=48 _=/sbin/startproc DAEMON=/sbin/syslogd ] <notice>startproc: execve (/sbin/klogd) [ /sbin/klogd -c 1 -2 ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=25 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=48 _=/sbin/startproc DAEMON=/sbin/klogd ] done <notice>exit status of (syslog) is (0) <notice>start services (smbfs) Mount SMB File System unused <notice>exit status of (smbfs) is (6) <notice>start services (splash_early resmgr portmap) <notice>startproc: execve (/sbin/resmgrd) [ /sbin/resmgrd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=48 _=/sbin/startproc DAEMON=/sbin/resmgrd ] <notice>startproc: execve (/sbin/portmap) [ /sbin/portmap ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=48 _=/sbin/startproc DAEMON=/sbin/portmap ] Starting RPC portmap daemondone Starting resource managerdone <notice>exit status of (splash_early resmgr portmap) is (0 0 0) <notice>start services (nfslock) Starting NFS file locking daemon done <notice>exit status of (nfslock) is (0) <notice>start services (nfsboot nfs) Starting nfsboot (sm-notify) Backgrounding to notify hosts... done Importing Net File System (NFS)mount: RPC: Remote system error - No route to host failed <notice>exit status of (nfsboot nfs) is (0 1) <notice>start services (ypbind xntpd sshd fbset alsasound acpid) <notice>checkproc: /sbin/portmap 2792 <notice>startproc: execve (/usr/sbin/ypbind) [ /usr/sbin/ypbind ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=33 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=48 _=/sbin/startproc DAEMON=/usr/sbin/ypbind ] -- Stefan Müller Universität Bremen/Fachbereich 10 Tel: (+49) (+421) 218-8601 Postfach 33 04 40 D-28334 Bremen http://www.cl.uni-bremen.de/~stefan/ http://www.cl.uni-bremen.de/~stefan/Babel/Interaktiv/
Stefan Müller
Die anderen beiden Rechner booten auch, mounten das NFS aber nicht (Fehlermeldung mit RPC siehe unten). Man kann es dann einfach mit rcnfs start per hand starten.
[...]
Eine Lösung, die ich auf suse-linux gefunden habe, ist UDP zu nehmen:
[...]
Ist UDP besser/sinnvoller als TCP?
Das "normale" NFS spielt sich doch eigentlich sowieso über UDP ab. TCP ist später hinzugekommen, eigentlich eine Art "Hack". AFAIK sollte man zu TCP nur greifen, wenn es aus irgendwelchen Gründen (routing z.B.) Probleme mit UDP gibt. Martin
participants (2)
-
Martin Schmitz
-
Stefan Müller