Skip to contentSkip to conversation

Automount fails while manual mount works

DISCUSSION Chris Penney 2 participants 2 messages Jul 30, 2007 – Aug 1, 2007 Kernel automounter

lore
Share & tools
lore
#0 lore raw

I have a curious problem that seems like it must be some dumb mistake, but I can't seem to see it.

I have a SuSE Entperprise 9 (x86_64) system running automount (using autofs4) that is setup so that it mounts /apps areas from different systems as /a/<host>. For one system I get permission denied when trying to cd to it, but I can mount it by hand just fine.

/etc/auto.master:
/a /etc/auto.a -nosuid,rw,hard,intr,vers=3,proto=tcp,rsize=32768,wsize=32768

/etc/auto.a:

systema         systema.x.com:/apps
systemb         systemb.x.com:/apps
systemc         systemc.y.x.com:/apps

When I try to cd to /a/systemc I get:
automount[20198]: failed to mount /a/systemc

The wierd thing is that I can do this just fine:
mount -o nosuid,rw,hard,intr,vers=3,proto=tcp,rsize=32768,wsize=32768 systemc.y.x.com:/apps /mnt

I did a tcpdump and I get:

15:28:26.045956 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
length: 84) myhost.x.com.870 > systemc.y.x.com.sunrpc: UDP, length: 56 15:28:26.176648 IP (tos 0x0, ttl 56, id 0, offset 0, flags [DF],
length: 56) systemc.y.x.com.sunrpc > myhost.x.com.870: [udp sum ok] UDP, length: 28
15:28:26.177334 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
length: 68) myhost.x.com.913444943 > systemc.y.x.com.nfs: 40 null 15:28:26.307373 IP (tos 0x0, ttl 56, id 0, offset 0, flags [DF],
length: 52) systemc.y.x.com.nfs > myhost.x.com.913444943: reply ok 24 null
15:28:26.307391 IP (tos 0xc0, ttl 64, id 35564, offset 0, flags [none], length: 80) myhost.x.com > systemc.y.x.com: icmp 60:
myhost.x.com udp port 870 unreachable

The only thing different between systemc and systema/b (which are fine) is that systemc (the one with problems) is at a remote location on a ~0.110ms latency link, which doesn't seem like it should be a problem. I don't believe that any firewalls are in between. Again, I can do a mount by hand just fine, but automount fails.

Thanks,

Chris

#1 lore raw
Quoted 39 lines · Chris Penney

I have a curious problem that seems like it must be some dumb mistake, but I can't seem to see it.

I have a SuSE Entperprise 9 (x86_64) system running automount (using autofs4) that is setup so that it mounts /apps areas from different systems as /a/<host>. For one system I get permission denied when trying to cd to it, but I can mount it by hand just fine.

/etc/auto.master:
/a /etc/auto.a -nosuid,rw,hard,intr,vers=3,proto=tcp,rsize=32768,wsize=32768

/etc/auto.a:

systema         systema.x.com:/apps
systemb         systemb.x.com:/apps
systemc         systemc.y.x.com:/apps

When I try to cd to /a/systemc I get:
automount[20198]: failed to mount /a/systemc

The wierd thing is that I can do this just fine:
mount -o nosuid,rw,hard,intr,vers=3,proto=tcp,rsize=32768,wsize=32768 systemc.y.x.com:/apps /mnt

I did a tcpdump and I get:

15:28:26.045956 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
length: 84) myhost.x.com.870 > systemc.y.x.com.sunrpc: UDP, length: 56 15:28:26.176648 IP (tos 0x0, ttl 56, id 0, offset 0, flags [DF],
length: 56) systemc.y.x.com.sunrpc > myhost.x.com.870: [udp sum ok] UDP, length: 28
15:28:26.177334 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
length: 68) myhost.x.com.913444943 > systemc.y.x.com.nfs: 40 null 15:28:26.307373 IP (tos 0x0, ttl 56, id 0, offset 0, flags [DF],
length: 52) systemc.y.x.com.nfs > myhost.x.com.913444943: reply ok 24 null
15:28:26.307391 IP (tos 0xc0, ttl 64, id 35564, offset 0, flags [none], length: 80) myhost.x.com > systemc.y.x.com: icmp 60:
myhost.x.com udp port 870 unreachable

Quoted 5 lines

The only thing different between systemc and systema/b (which are fine) is that systemc (the one with problems) is at a remote location on a ~0.110ms latency link, which doesn't seem like it should be a problem. I don't believe that any firewalls are in between. Again, I can do a mount by hand just fine, but automount fails.

Can you provide a debug log? See:
http://people.redhat.com/jmoyer
for instructions on creating one.

Thanks,

Jeff