[Bug 1084178] Re: auto.net does not handle mutliple mount points from a remote
Robie Basak
1084178 at bugs.launchpad.net
Fri Nov 30 16:23:02 UTC 2012
Thank you for your report.
Please can you run "apport-collect 1084178" on the affected machine
(hostb in your example) which will automatically attach relevant
information such as version numbers to this bug?
Also, please attach all relevant configuration files, such as
/etc/autofs.master and /etc/fstab.
Once done, please change the bug status back to New.
Thanks!
** Changed in: autofs (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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
Status in “autofs” package in Ubuntu:
Incomplete
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1084178/+subscriptions
More information about the foundations-bugs
mailing list