[Bug 607039] Re: NFS4 automount using replicated servers doesn't work

Stefan Bader stefan.bader at canonical.com
Thu Nov 24 15:37:31 UTC 2011


@Steve, this seems actually already to be addressed. Unfortunately in a
way that is easy to get wrong. The nfs module would for example be
autoloaded when the idmapd gets started. And the /etc/default/nfs-common
comments clearly say it should be needed for v4. However one seems to be
able to get a mount done without it being set to yes. (Probably running
into other issues later). It would be good if there would be a way to
get those things right in a simpler way. But I cannot think of a good
one right now. Should mount.nfs4 start required daemons? But then that
may miss sensible configuration...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS4 automount using replicated servers doesn't work

Status in “autofs5” package in Ubuntu:
  Fix Released
Status in “nfs-utils” package in Ubuntu:
  New

Bug description:
  Binary package hint: autofs5

  [ updated description: mount -t nfs4 server:/mnt /mnt fails through
  oneiric with -ENODEV from mount.nfs4 ]

  In lucid, using autofs5 version 5.0.4-3.1ubuntu5, we are having
  trouble using failover with NFS.  Autofs allows you to specify
  multiple hosts with weighting in its configuration files and will fall
  back to a secondary host if the first host is not available at mount
  time.  However, currently on our systems, the mount fails completely.
  This functionality does work with our RHEL 5 hosts (which use autofs
  5.0.1).  Automounting from a single host does work, but when we supply
  multiple hosts, an strace shows that it's trying to connect to the IP
  address '0.0.0.0', port 0, rather than any of the hosts we specify.

  I have attached the full strace output, our /etc/auto.master file, and
  the relevant file from /etc/autofs.d including the multiple hosts.

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




More information about the foundations-bugs mailing list