|
Montaggio del NFS si blocca
La settimana scorsa ho installato Windows Services for UNIX in un computer con Windows 2003 Server macchina di prova (s2003), ed esportato attraverso una cartella NFS. La quota è chiamato "stoccaggio", ed è usato come un luogo di temporanea esportazione di grandi dimensioni / dump file. Purtroppo, questa è l'unica macchina in cui ho l'accesso ad un grande, poco costoso del disco ed è accessibile da entrambi i test di produzione e di ambienti di rete.
Sono stato in grado di montare il nfs parti in lettura / scrittura su due modalità di Solaris' server, utilizzando il comando:
Codice:
mount -F nfs -o hard,rsize=32768,wsize=32768 s2003:/storage /storage
Le due macchine sono chiamati, rispettivamente:
- Eprod, SunOS 5,8
- Etest, SunOS 5,10
Ho utilizzato intensamente il file system montato senza alcun problema, da entrambe le macchine. Ma oggi, mentre l'emissione di un "ls" comando eprod, ho notato il messaggio:
Codice:
NFS server s2003 not responding still trying
Il etest, non ho avuto alcun problema e il telecomando parti è ancora montato e funzionante.
Così ho pensato che forse c'è stato un problema di rete nel fine settimana, e ha cercato di smontare e rimontare "/ stoccaggio" a eprod:
Codice:
eprod/root> umount s2003:/storage
nfs umount: /storage: is busy
eprod/root> fuser /storage # The command hangs indefinitely (interrupted with ^C)
/storage:
eprod/root> fuser -c /storage # The command works and it doesn't report anything
/storage:
Quindi, ho cercato il modo difficile, e ha funzionato:
Codice:
umount -f /storage
Il problema ora è che io non sono in grado di montare il filesystem più:
Codice:
eprod/root> mount -F nfs -o hard,rsize=32768,wsize=32768 s2003:/storage /storage
NFS server s2003 not responding still trying
Il comando "blocca" all'infinito ... Ho già effettuato i test di connessione di base da eprod di s2003:
- Ping funziona
- S2003 telnet sulla porta 2049 opere
Ho anche cercato di monitorare il traffico di rete con netstat e Snoop, mentre il rilascio del comando mount:
Codice:
eprod/root> netstat -a | grep s2003
eprod.login s2003.nfsd 0 0 24820 0 SYN_SENT
eprod.53759 s2003.nfsd 65415 0 24820 0 TIME_WAIT
Codice:
eprod/root> snoop s2003
Using device /dev/ce (promiscuous mode)
eprod -> s2003 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP
s2003 -> eprod PORTMAP R GETPORT port=1048
eprod -> s2003 MOUNT3 C Null
s2003 -> eprod MOUNT3 R Null
eprod -> s2003 MOUNT3 C Mount /storage
s2003 -> eprod MOUNT3 R Mount OK FH=7593 Auth=none,unix
eprod -> s2003 PORTMAP C GETPORT prog=100003 (NFS) vers=3 proto=TCP
s2003 -> eprod PORTMAP R GETPORT port=2049
eprod -> s2003 TCP D=2049 S=51997 Syn Seq=1199030867 Len=0 Win=24820 Options=<nop,nop,sackOK,mss 1460>
s2003 -> eprod TCP D=51997 S=2049 Syn Ack=1199030868 Seq=2849360585 Len=0 Win=16384 Options=<mss 1460,nop,nop,sackOK>
eprod -> s2003 TCP D=2049 S=51997 Ack=2849360586 Seq=1199030868 Len=0 Win=24820
eprod -> s2003 NFS C NULL3
s2003 -> eprod NFS R NULL3
eprod -> s2003 TCP D=2049 S=51997 Ack=2849360614 Seq=1199030988 Len=0 Win=24820
eprod -> s2003 TCP D=2049 S=51997 Fin Ack=2849360614 Seq=1199030988 Len=0 Win=24820
s2003 -> eprod TCP D=51997 S=2049 Ack=1199030989 Seq=2849360614 Len=0 Win=65415
s2003 -> eprod TCP D=51997 S=2049 Fin Ack=1199030989 Seq=2849360614 Len=0 Win=65415
eprod -> s2003 TCP D=2049 S=51997 Ack=2849360615 Seq=1199030989 Len=0 Win=24820
eprod -> s2003 RLOGIN R port=2049
eprod -> s2003 RLOGIN R port=2049
eprod -> s2003 RLOGIN R port=2049
...
eprod -> s2003 RLOGIN R port=2049
eprod -> s2003 RLOGIN R port=2049
...
...
... and so on
I escludere eventuali problemi sul s2003, perché posso montare "/ stoccaggio" cartella da altre macchine sulla stessa rete di eprod.
Ho anche scoperto che utilizzando il protocollo UDP invece di TCP (di default) le opere:
Codice:
mount -F nfs -o hard,rsize=32768,wsize=32768,proto=udp s2003:/storage /storage
Quale potrebbe essere il problema? Come posso risolvere questo problema?
Grazie in anticipo!
|