I'm having the same issue using autofs 5.0.4-3.1ubuntu5.1 on lucid.

When using NFS3 specifying replicated servers does work, when using NFS4 it 
doesn't.  If I run automount manually with verbose and debugging enabled I see 
the
following output when trying to access /usr/local:

#################################################
handle_packet: type = 5
handle_packet_missing_direct: token 296, name /usr/local, request pid
2887
attempting to mount entry /usr/local
lookup_mount: lookup(file): looking up /usr/local
lookup_mount: lookup(file): /usr/local ->
-fstype=nfs4,ro,nodev,nosuid,nonstrict,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft
  server1:/local/ubuntu64 server2:/local/ubuntu64
parse_mount: parse(sun): expanded entry:
-fstype=nfs4,ro,nodev,nosuid,nonstrict,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft
  server1:/local/ubuntu64 server2:/local/ubuntu64
parse_mount: parse(sun): gathered options:
fstype=nfs4,ro,nodev,nosuid,nonstrict,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft
parse_mount: parse(sun): dequote("server1:/local/ubuntu64") ->
server1:/local/ubuntu64
parse_mount: parse(sun): dequote("server2:/local/ubuntu64") ->
server2:/local/ubuntu64
parse_mount: parse(sun): core of entry:
options=fstype=nfs4,ro,nodev,nosuid,nonstrict,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft,
 loc=server1:/local/ubuntu64 server2:/local/ubuntu64
sun_mount: parse(sun): mounting root /usr/local, mountpoint /usr/local,
what server1:/local/ubuntu64 server2:/local/ubuntu64, fstype nfs4,
options
ro,nodev,nosuid,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft
mount_mount: mount(nfs): root=/usr/local name=/usr/local
what=server1:/local/ubuntu64 server2:/local/ubuntu64, fstype=nfs4,
options=ro,nodev,nosuid,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft
mount_mount: mount(nfs): nfs
options="ro,nodev,nosuid,nodev,sync,_netdev,proto=tcp,retry=10,rsize=8192,wsize=8192,soft",
 nosymlink=0, ro=1
get_nfs_info: called for host server2 proto tcp version 0x40
get_nfs_info: called for host server1 proto tcp version 0x40
mount(nfs): no hosts available
dev_ioctl_send_fail: token = 296
failed to mount /usr/local
####################################################

'get_nfs_info' seems to fail.

I can also confirm it does work properly on CentOS 5.5 running autofs
5.0.1.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount failover doesn't work

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to