Cannot reproduce this on precise, at least (which has the same autofs
version as oneiric).

I used 3 hosts.  Two had nfs-server installed, one had autofs4 and nfs-
client.  The two nfs servers had a file /mnt/whoami ('master1' on one
and 'master2' on the other) and in /etc/exports had

     /mnt 10.55.60.39(ro)

I first verified that I could mount this on the client by hand.  Then,
on the client, I created a /srv/mnt directory,  /etc/auto.master with:

/-              /etc/auto.mnt          --timeout=600

and /etc/auto.mnt with:

/srv/mnt        -fstype=nfs4,proto=tcp,soft,intr,rsize=8192,wsize=8192
10.55.60.33(1),10.55.60.59(5):/mnt

restarted autofs.  Then 'cat /srv/mnt/whoami' on the client showed
'master1'.  Unmounted /srv/mnt on the client, and did 'service nfs-
kernel-server stop' on master1.  Then 'cat /srv/mnt/whoami' on the
client showed 'master2'.

Will try on lucid next.

-- 
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 using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
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