Bug 10232

Summary: autofs daemon will not mount NFS volume on a subdirectory
Product: [Retired] Red Hat Linux Reporter: Matthew Saltzman <mjs>
Component: autofsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-20 13:13:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Saltzman 2000-03-19 17:56:00 UTC
/etc/auto.master:

	/net    /etc/auto.net   --timeout 60

/etc/auto.net:

	server/var/remotedir	-rw,hard,intr	server:/var/remotedir
	remotedir		-rw,hard,intr	server:/var/remotedir

Issuing "cd /net/remotedir" automatically mounts the directory
correctly, but issuing "cd /net/server/var/remotedir fails to
mount the remote volume at all.  The user sees:

	/net/server/var/remotedir/: No such file or directory.

In /var/log/messages:

	yankee automount[13037]: attempting to mount entry /net/server
	yankee automount[31810]: lookup(file): lookup for server failed

This fails with the RH6.1 stock kernel and autofs RPMs and with Rawhide
kernel and autofs rebuilt on an otherwise stock RH6.1 system.  A similar
automount configuration on Solaris works just fine, so I'm pretty sure
it's not on the server end (although the server is a Solaris 2.6 machine).

Comment 1 Nalin Dahyabhai 2000-03-20 13:13:59 UTC
This is a missing feature in all versions of autofs 3.x, and is being
fixed by its authors for 4.x and 5.x.  See Jeremy Fitzharding's web page
(http://www.goop.org/~jeremy/autofs/) for full details.