[Bug 1084178] [NEW] auto.net does not handle mutliple mount points from a remote
Van Stokes, Jr.
1084178 at bugs.launchpad.net
Wed Nov 28 18:14:34 UTC 2012
Public bug reported:
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
** Affects: autofs (Ubuntu)
Importance: Undecided
Status: New
** Information type changed from Private Security to Public
--
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