auto.net does not handle mutliple mount points from a remote
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
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,
/home hostb(rw,
**** 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/
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/
$ 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/
hosta:/home/ /net/hosta/home nfs rw,nosuid,
$ umount /net/hosta/home
$ df
hosta:/opt/logisoft 816146560 179367200 594652800 24% /net/hosta/
$ umount /net/hosta/
/net/hosta/
/net/hosta/
*********** PROBLEM VISIBLE HERE *******
$ cat /proc/mounts
hosta:/home/ /net/hosta/
---
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
PackageArchitec
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-33-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-07-16 (136 days ago)
UserGroups:
information type: | Private Security → Public |
Changed in autofs (Ubuntu): | |
status: | Incomplete → New |
Changed in autofs (Ubuntu): | |
importance: | Undecided → Medium |
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!