Bug 752501

Summary: Unable to mount nfs directories in /net
Product: [Fedora] Fedora Reporter: Bill C. Riemers <briemers>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: ikent, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 15:46:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill C. Riemers 2011-11-09 17:43:11 UTC
Description of problem:

NFS directories simply are not mounting in /net with autofs.

Version-Release number of selected component (if applicable):

autofs-5.0.6-2.fc16.x86_64

How reproducible:

100%

Steps to Reproduce:
1. service autofs start
2. ls /net/172.31.253.1/mnt/share   (where 172.31.253.1 has that respective share)
3.
  
Actual results:

[root@briemersw etc]# ls /net/172.31.253.1/mnt/share 
ls: cannot open directory /net/172.31.253.1/mnt/share: No such file or directory

Expected results:

[root@briemersw etc]# ls /net/172.31.253.1/mnt/share 
data        Menu      MovieCollector  Series       tftpboot  Videos
lost+found  menu.xml  Music           stream.html  Unsorted

Additional info:

A manual mount does work.  e.g.

[root@briemersw etc]# mkdir /tmp/ms;mount 172.31.253.1:/mnt/share /tmp/ms;ls /tmp/ms
data        Menu      MovieCollector  Series       tftpboot  Videos
lost+found  menu.xml  Music           stream.html  Unsorted


The error logged in /var/log/messages from the autofs attempt is:

Nov  9 12:42:18 briemersw automount[5906]: rpc_get_exports_proto
Nov  9 12:42:18 briemersw automount[5906]: move_mount: failed to move mount from /tmp/autoVolKD9 to /net/172.31.253.1/mnt/share: File exists

Comment 1 Ian Kent 2011-11-10 01:37:29 UTC
(In reply to comment #0)
> Description of problem:
> 
> NFS directories simply are not mounting in /net with autofs.
> 
> Version-Release number of selected component (if applicable):
> 
> autofs-5.0.6-2.fc16.x86_64

Have a look at bug 751731 and try building the source rpm
posted in that bug.

Comment 2 Bill C. Riemers 2011-11-10 15:46:42 UTC
Thanks.  The fix for 751731 works.

*** This bug has been marked as a duplicate of bug 751731 ***