nfs timed out

Pàgina inicial

Reply to this message
Autor: Mickael Profeta
Data:  
A: guilde
Assumpte: nfs timed out
Bonjour

J'essaie de remettre en place des montages nfs et je galère depuis hier
sur un timed out sans message d'erreur...

Sur le serveur:

# /etc/exports: the access control list for filesystems which may be
#
#/exports       192.168.1.3(rw,fsid=0,insecure,no_subtree_check,async)
/exports        192.168.1.0/24(rw,fsid=0,no_subtree_check)
#/exports/test
192.168.1.3(rw,nohide,insecure,no_root_squash,no_subtree_check,async)
#/exports/disk
192.168.1.0/24(rw,nohide,no_root_squash,no_subtree_check,async) /exports/disk
192.168.1.0/24(rw)


mike@fjord:~$ sudo showmount -e
Export list for fjord:
/exports/disk 192.168.1.0/24
/exports      192.168.1.0/24


mike@fjord:~$ rpcinfo -p fjord
   program no_version protocole  no_port
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049
    100227    3   tcp   2049
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049
    100227    3   udp   2049
    100021    1   udp  54446  nlockmgr
    100021    3   udp  54446  nlockmgr
    100021    4   udp  54446  nlockmgr
    100021    1   tcp  58790  nlockmgr
    100021    3   tcp  58790  nlockmgr
    100021    4   tcp  58790  nlockmgr
    100005    1   udp  54532  mountd
    100005    1   tcp  45731  mountd
    100005    2   udp  50074  mountd
    100005    2   tcp  40696  mountd
    100005    3   udp  45137  mountd
    100005    3   tcp  56882  mountd



mike@fjord:~$ sudo netstat -anp | grep LISTEN
tcp        0      0 127.0.0.1:3306          0.0.0.0:*
LISTEN      2952/mysqld tcp        0      0 0.0.0.0:39086
0.0.0.0:*               LISTEN      9043/rpc.statd tcp        0      0
0.0.0.0:44047           0.0.0.0:*               LISTEN
9325/rpc.mountd tcp        0      0 0.0.0.0:111
0.0.0.0:*               LISTEN      9123/rpcbind tcp        0      0
0.0.0.0:143             0.0.0.0:*               LISTEN
3003/imap-login tcp        0      0 192.168.1.1:53
0.0.0.0:*               LISTEN      2520/named tcp        0      0
127.0.0.1:53            0.0.0.0:*               LISTEN      2520/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*
LISTEN      3661/sshd tcp        0      0 0.0.0.0:25
0.0.0.0:*               LISTEN      3665/master tcp        0      0
127.0.0.1:953           0.0.0.0:*               LISTEN      2520/named
tcp        0      0 0.0.0.0:50364           0.0.0.0:*
LISTEN      9325/rpc.mountd tcp        0      0 0.0.0.0:37822
0.0.0.0:*               LISTEN      9325/rpc.mountd tcp        0      0
0.0.0.0:46463           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:2049            0.0.0.0:*
LISTEN      - tcp        0      0 0.0.0.0:993
0.0.0.0:*               LISTEN      3003/imap-login tcp6       0
0 :::49830                :::*                    LISTEN
9325/rpc.mountd tcp6       0
0 :::42825                :::*                    LISTEN      -
tcp6       0      0 :::111                  :::*
LISTEN      9123/rpcbind tcp6       0
0 :::143                  :::*                    LISTEN
3003/imap-login tcp6       0
0 :::80                   :::*                    LISTEN
3139/apache2 tcp6       0
0 :::46865                :::*                    LISTEN
9043/rpc.statd tcp6       0
0 :::4949                 :::*                    LISTEN
3448/munin-node tcp6       0
0 :::53                   :::*                    LISTEN
2520/named tcp6       0
0 :::22                   :::*                    LISTEN      3661/sshd
tcp6       0      0 :::25                   :::*
LISTEN      3665/master tcp6       0
0 ::1:953                 :::*                    LISTEN
2520/named tcp6       0
0 :::33502                :::*                    LISTEN
9325/rpc.mountd tcp6       0
0 :::2049                 :::*                    LISTEN      -
tcp6       0      0 :::993                  :::*
LISTEN      3003/imap-login tcp6       0
0 :::39875                :::* LISTEN      9325/rpc.mountd 







sur le client, chaque commande prend des plombes (de l'ordre de 2min):
mike@alezan:~$ sudo showmount -e fjord
Export list for fjord:
/exports/disk 192.168.1.0/24
/exports      192.168.1.0/24


mike@alezan:~$ sudo rpcinfo -s fjord
program version(s) netid(s)                         service     owner
100000  2,3,4     local,udp,tcp,udp6,tcp6          portmapper superuser
100003  4,3,2     udp6,tcp6,udp,tcp nfs         superuser 
100227  3,2       udp6,tcp6,udp,tcp                -           superuser
100021 4,3,1     tcp6,udp6,tcp,udp                nlockmgr    superuser
100005  3,2,1     tcp6,udp6,tcp,udp                mountd superuser


mike@alezan:~$ sudo mount -vvv 192.168.1.1:/ /mnt/nfs/
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: no type was given - I'll assume nfs because of the colon
mount: spec:  "192.168.1.1:/"
mount: node:  "/mnt/nfs/"
mount: types: "nfs"
mount: opts:  "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "192.168.1.1:/"
mount: external mount: argv[2] = "/mnt/nfs/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Tue Aug 26 14:08:26 2014
mount.nfs: trying text-based options
'vers=4,addr=192.168.1.1,clientaddr=192.168.1.3'
mount.nfs: mount(2): Connection timed out
mount.nfs: Connection timed out



J'ai essayé en v3, en tcp, rien n'y fait, et les logs sont muets...
le client en sid, mais j'ai essayé avec un portable en wheezy c'est
pareil. Le serveur était en squeeze, je l'ai mis à jour en wheezy mais
tout pareil.

Le montage se fait bien en local sur le serveur.

Si vous avez des idées parce que la je sèche complet...


Mike