[Bug 1084178] Re: auto.net does not handle mutliple mount points from a remote

Van Stokes, Jr. 1084178 at bugs.launchpad.net
Fri Nov 30 16:55:33 UTC 2012


apport information

** Tags added: apport-collected precise

** Description changed:

  When using auto.net and mounting multiple remote exports, only one mount works and autofs steps onto the other mounts.
  The problem appears in /proc/mounts (see details in walk-thru below)
  
  **** HOSTA *****
  NFS Host (i.e. hosta):
  $ uname -a
  Linux hosta 2.6.18-274.3.1.el5 #1 SMP Fri Aug 26 18:49:02 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  
  $ cat /etc/exports
  /opt/logisoft hostb(rw,insecure,sync,nohide,fsid=0,no_root_squash)
  /home hostb(rw,insecure,sync,nohide,fsid=0,no_root_squash)
  
  **** HOSTB *****
  AutoFS Host (i.e. hostb):
  $ uname -a
  Linux hostb 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:29:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  
  $ df
  hosta:/opt/logisoft    816146560 179367200  594652800  24% /net/hosta/opt/logisoft
  hosta:/home            816146560 179367200  594652800  24% /net/hosta/home
  
  $ cd /net/hosta/home
  $ ls -l
  drwxrwxrwx 43 91 91 12288 Nov 20 13:03 eci
  drwxrwxrwx 43 91 91  4096 May 28  2012 oti
  drwxrwxrwx  5 91 91  4096 Jul 20  2011 shared
  
  $ cd /net/hosta/opt/logisoft
  $ ls -1
  drwxrwxrwx 43 91 91 12288 Nov 20 13:03 eci
  drwxrwxrwx 43 91 91  4096 May 28  2012 oti
  drwxrwxrwx  5 91 91  4096 Jul 20  2011 shared
  *** (Note that the listing is the same! This is not correct!) ***
  
  *********** PROBLEM VISIBLE HERE ********************
  $ cat /proc/mounts
  hosta:/home/ /net/hosta/opt/logisoft nfs rw,nosuid,nodev,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.27.101.66,mountvers=3,mountport=960,mountproto=udp,local_lock=none,addr=172.27.101.66 0 0
  hosta:/home/ /net/hosta/home nfs rw,nosuid,nodev,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.27.101.66,mountvers=3,mountport=960,mountproto=udp,local_lock=none,addr=172.27.101.66 0 0
  
  $ umount /net/hosta/home
  $ df
  hosta:/opt/logisoft    816146560 179367200  594652800  24% /net/hosta/opt/logisoft
  
  $ umount /net/hosta/opt/logisoft
  /net/hosta/opt/logisoft was not found in /proc/mounts
  /net/hosta/opt/logisoft was not found in /proc/mounts
  
  *********** PROBLEM VISIBLE HERE ********************
  $ cat /proc/mounts
  hosta:/home/ /net/hosta/opt/logisoft nfs rw,nosuid,nodev,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.27.101.66,mountvers=3,mountport=960,mountproto=udp,local_lock=none,addr=172.27.101.66 0 0
+ --- 
+ ApportVersion: 2.0.1-0ubuntu15
+ Architecture: amd64
+ DistroRelease: Ubuntu 12.04
+ InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
+ MarkForUpload: True
+ Package: autofs 5.0.6-0ubuntu5
+ PackageArchitecture: amd64
+ ProcVersionSignature: Ubuntu 3.2.0-33.52-generic 3.2.31
+ Tags:  precise
+ Uname: Linux 3.2.0-33-generic x86_64
+ UpgradeStatus: Upgraded to precise on 2012-07-16 (136 days ago)
+ UserGroups:

** Attachment added: "Dependencies.txt"
   https://bugs.launchpad.net/bugs/1084178/+attachment/3448090/+files/Dependencies.txt

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

Title:
  auto.net does not handle mutliple mount points from a remote

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



More information about the Ubuntu-server-bugs mailing list