[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problème de montage nfs



Bonjour à tous,

Je n'arrive pas à monter un répertoire partagé par nfs.

Du coté serveur :
------------------------
eth1      Link encap:Ethernet  HWaddr 00:19:e0:68:32:41
         inet adr:172.20.102.1  Bcast:172.20.255.255  Masque:255.255.0.0

dans /etc/exports
/scratchbox/users/benoit/targets/MYTARGET
172.20.102.199(rw,all_squash,anonuid=1000,anongid=1000)

/scratchbox/users/benoit/home
172.20.102.199(rw,all_squash,anonuid=1000,anongid=1000)

/scratchbox/users/benoit/home/benoit
172.20.102.199(rw,all_squash,anonuid=1000,anongid=1000)

/home/benoit/devel 172.20.102.199(rw)


ps
daemon    3865  0.0  0.0   1896   608 ?        Ss   11:13   0:00 /sbin/portmap
root      3892  0.0  0.0      0     0 ?        S<   11:14   0:00 [nfsd4]
root      3893  0.0  0.0      0     0 ?        S    11:14   0:00 [nfsd]
root      3894  0.0  0.0      0     0 ?        S    11:14   0:00 [nfsd]
root      3895  0.0  0.0      0     0 ?        S    11:14   0:00 [nfsd]
root      3896  0.0  0.0      0     0 ?        S    11:14   0:00 [nfsd]
root      3897  0.0  0.0      0     0 ?        S    11:14   0:00 [nfsd]

rpcinfo -p
  program no_version protocole  no_port
   100000    2   tcp    111  portmapper
   100024    1   udp  32768  status
   100024    1   tcp  34548  status
   100000    2   udp    111  portmapper
   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  32892  nlockmgr
   100021    3   udp  32892  nlockmgr
   100021    4   udp  32892  nlockmgr
   100021    1   tcp  58627  nlockmgr
   100021    3   tcp  58627  nlockmgr
   100021    4   tcp  58627  nlockmgr
   100005    1   udp  32893  mountd
   100005    1   tcp  33399  mountd
   100005    2   udp  32893  mountd
   100005    2   tcp  33399  mountd
   100005    3   udp  32893  mountd
   100005    3   tcp  33399  mountd

dans /etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

dans /etc/hosts.allow
portmap:172.20.102.199
lockd:172.20.102.199
mountd:172.20.102.199
rquotad:172.20.102.199
statd:172.20.102.199



Sur le client (la commande mount de busybox)
---------------------------------------------------------------
 ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:8E:09:29:4F
         inet addr:172.20.102.199  Bcast:172.20.255.255  Mask:255.255.0.0
-----
mount -t nfs  172.20.102.1:/home/benoit/devel /home/root/test/

Ca monte parfois mais rarement et toujours après plusieurs minutes

Quelqu'un à une idée ?

Merci d'avance.

-- 
Benoît


Reply to: