PPP et automount >> mount: RPC: Timed out

Page principale

Répondre à ce message
Auteur: olivier.eribon
Date:  
À: guilde
Sujet: PPP et automount >> mount: RPC: Timed out
Bonjour a tous,

Je suis confronte a un probleme vraissemblablement lie a PPP et automount.

En effet, deux appareils sous linux 2.4.18_mvl30 (montavista linux embarque)
relies par une liaison point a point.
Sur l'appareil que je nommerai "Master" car il etablit lui meme la connexion PPP
entre les deux, j'effectue une premiere fois l'automountage par la commande cd
(cd /acterna/user/slavedisk), pas de probleme. Je quitte ensuite (cd) j'attends
plusieurs secondes (je ne casse pas la liaison ppp), et je retente un cd (cd
/acterna/user/slavedisk) pour un nouveau automountage et la probleme ">> mount:
RPC: Timed out"

Plus de details sur la manip.

[Master /] ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:AC:80:00:14
          inet addr:172.16.25.202  Bcast:172.16.27.255  Mask:255.255.252.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1509 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:135991 (132.8 Kb)  TX bytes:31166 (30.4 Kb)
          Interrupt:9


eth0:0    Link encap:Ethernet  HWaddr 00:04:AC:80:00:14
          inet addr:172.29.0.160  Bcast:172.29.255.255  Mask:255.255.0.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:9


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:592 errors:0 dropped:0 overruns:0 frame:0
          TX packets:592 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:54483 (53.2 Kb)  TX bytes:54483 (53.2 Kb)


ppp0      Link encap:Point-to-Point Protocol
          inet addr:123.123.123.1  P-t-P:123.123.123.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:3840  Metric:1
          RX packets:129 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:9563 (9.3 Kb)  TX bytes:10425 (10.1 Kb)


[Master /] more /etc/auto.master
/acterna/user  /etc/auto.misc    --timeout=1


[Master /] more /etc/auto.misc
slavedisk     
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk


[Master /] cd /acterna/user/slavedisk

**************** La tout vas bien ****************
[Master slavedisk]# ls -al
total 0
drwxrwxrwx    1 root     root          512 Mar 18  2004 .
drwxr-xr-x    4 root     root            0 Apr 13 11:23 ..
drwxrwxrwx    1 root     root          512 Mar 18  2004 lost+found


[Master slavedisk] df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                55280     52416      2864  95% /
/dev/loop0               25728     25728         0 100% /mnt/X11R6
/dev/loop1               12916     12916         0 100% /mnt/compress
/dev/ram0                 7931       268      7254   4% /mnt/var/log
/dev/ram1                 7931        32      7490   1% /var/spool
/dev/ram2                 7931        36      7486   1% /tmp
/dev/mtdblock3            8176      6036      2140  74% /acterna/user/disk
123.123.123.2:/acterna/user/disk
                          8176      4912      3264  61% /acterna/user/slavedisk


le log dit :
Apr 13 11:23:13 8000-20 automount[368]: attempting to mount entry
/acterna/user/slavedisk
Apr 13 11:23:13 8000-20 automount[554]: lookup(file): looking up slavedisk
Apr 13 11:23:13 8000-20 automount[554]: lookup(file): slavedisk ->
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:23:13 8000-20 automount[554]: expanded entry:
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:23:13 8000-20 automount[554]: parse(sun): gathered options:
fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
Apr 13 11:23:13 8000-20 automount[554]: parse(sun): core of entry:
123.123.123.2:/acterna/user/disk
Apr 13 11:23:13 8000-20 automount[554]: mount(nfs): calling mkdir
/acterna/user/slavedisk
Apr 13 11:23:13 8000-20 automount[554]: mount(nfs): calling mount -t nfs -s -o
soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk /acterna/user/slavedisk
Apr 13 11:23:23 8000-20 automount[554]: mount(nfs): mounted
123.123.123.2:/acterna/user/disk on /acterna/user/slavedisk

puis un

[Master slavedisk] cd

attente plusieurs secondes

[Master /] cd /acterna/user/slavedisk
**************** La tout vas mal ****************

bash: cd: /acterna/user/slavedisk: No such file or directory


Le log dit :
Apr 13 11:24:18 8000-20 automount[368]: attempting to mount entry
/acterna/user/slavedisk
Apr 13 11:24:18 8000-20 automount[569]: lookup(file): looking up slavedisk
Apr 13 11:24:18 8000-20 automount[569]: lookup(file): slavedisk ->
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:24:18 8000-20 automount[569]: expanded entry:
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:24:18 8000-20 automount[569]: parse(sun): gathered options:
fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
Apr 13 11:24:18 8000-20 automount[569]: parse(sun): core of entry:
123.123.123.2:/acterna/user/disk
Apr 13 11:24:18 8000-20 automount[569]: mount(nfs): calling mkdir
/acterna/user/slavedisk
Apr 13 11:24:18 8000-20 automount[569]: mount(nfs): calling mount -t nfs -s -o
soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk /acterna/user/slavedisk

Apr 13 11:24:39 8000-20 automount[569]: >> mount: RPC: Timed out
Apr 13 11:24:39 8000-20 automount[569]: mount(nfs): nfs: mount failure
123.123.123.2:/acterna/user/disk on /acterna/user/slavedisk
Apr 13 11:24:39 8000-20 automount[368]: attempting to mount entry
/acterna/user/slavedisk
Apr 13 11:24:39 8000-20 automount[571]: lookup(file): looking up slavedisk
Apr 13 11:24:39 8000-20 automount[571]: lookup(file): slavedisk ->
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:24:39 8000-20 automount[571]: expanded entry:
-fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk
Apr 13 11:24:39 8000-20 automount[571]: parse(sun): gathered options:
fstype=nfs,soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
Apr 13 11:24:39 8000-20 automount[571]: parse(sun): core of entry:
123.123.123.2:/acterna/user/disk
Apr 13 11:24:39 8000-20 automount[571]: mount(nfs): calling mkdir
/acterna/user/slavedisk
Apr 13 11:24:39 8000-20 automount[571]: mount(nfs): calling mount -t nfs -s -o
soft,rsize=1024,wsize=1024,timeo=1,retrans=2,actimeo=2
123.123.123.2:/acterna/user/disk /acterna/user/slavedisk

idem ">> mount: RPC: Timed out" a 11:25:00 11:25:22 et 11:25:54


Merci pour votre patience si vous ete deja arrive ici.

Cordialement

Olivier