[Bug 234480] Re: autofs hangs when server unavailable

Launchpad Bug Tracker 234480 at bugs.launchpad.net
Sun Oct 30 22:04:55 UTC 2011


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nfs-utils (Ubuntu)
       Status: New => Confirmed

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

Title:
  autofs hangs when server unavailable

Status in “nfs-utils” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: nfs-common

  When using autofs in Hardy to automount nfs shares, lengthy hangs
  occur if the target server is not available.  This causes nautilus
  (and the desktop) to hang at login and when opening.  The problem
  seems to originate with changed behaviour of mount.nfs.  When
  attempting to mount a non-existent server export, Gutsy returns in
  about 3 seconds with the "No route to host" message, Hardy takes about
  40 seconds and returns an "internal error".  This results in lengthy
  delays if there are multiple autofs connections to be attempted.
  These behaviours are shown below:

  -------------------------Hardy---------------------------
  me at client:~$ cat /etc/*-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=8.04
  DISTRIB_CODENAME=hardy
  DISTRIB_DESCRIPTION="Ubuntu 8.04"
  me at client:~$ uname -a
  Linux client 2.6.24-16-386 #1 Thu Apr 10 12:50:06 UTC 2008 i686 GNU/Linux
  me at client:~$  apt-cache policy nfs-common
  nfs-common:
    Installed: 1:1.1.2-2ubuntu2.1
    Candidate: 1:1.1.2-2ubuntu2.1
    Version table:
   *** 1:1.1.2-2ubuntu2.1 0
          500 http://mirror.aarnet.edu.au hardy-updates/main Packages
          100 /var/lib/dpkg/status
       1:1.1.2-2ubuntu2 0
          500 http://mirror.aarnet.edu.au hardy/main Packages

  me at client:~$ time sudo mount.nfs server:/media/share /media/test -v
  [sudo] password for me: 
  mount.nfs: timeout set for Sat May 24 09:51:29 2008
  mount.nfs: text-based options: 'addr=192.168.0.99'
  mount.nfs: internal error

  real	0m40.128s
  user	0m0.028s
  sys	0m0.000s

  ---------------------------Gutsy-----------------------------------
  me at client:~$ cat /etc/*-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=7.10
  DISTRIB_CODENAME=gutsy
  DISTRIB_DESCRIPTION="Ubuntu 7.10"
  me at client:~$ uname -a
  Linux client 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
  me at client:~$ apt-cache policy nfs-common
  nfs-common:
    Installed: 1:1.1.1~git-20070709-3ubuntu1
    Candidate: 1:1.1.1~git-20070709-3ubuntu1
    Version table:
   *** 1:1.1.1~git-20070709-3ubuntu1 0
          500 http://au.archive.ubuntu.com gutsy/main Packages
          100 /var/lib/dpkg/status

  me at client:~$ time sudo mount.nfs server:/media/share /media/test/ -v
  [sudo] password for me:

  mount.nfs: Unable to connect to 192.168.0.99:111, errno 113 (No route
  to host)

  mount.nfs: mount to NFS server 'compaq' failed: System Error: No route
  to host

  real	0m3.006s
  user	0m0.000s
  sys	0m0.004s

  -----------------------------------------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/234480/+subscriptions




More information about the foundations-bugs mailing list