Hi all Yep, Ian is (still) right :)
CC -----Original Message----- From: Ian Kent [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 November 2007 11:15 PM To: Jeff Moyer Cc: Coe, Colin C. (Unix Engineer); [email protected] Subject: Re: [autofs] Problem with autofs_home map On Wed, 2007-11-07 at 23:58 -0500, Jeff Moyer wrote: > "Coe, Colin C. (Unix Engineer)" <[EMAIL PROTECTED]> writes: > > > Hi Jeff > > > > No the direct map (autofs.global) doesn't have any maps in /home. > > Hopefully the below is useful. Nothing (useful) ended up in > > /var/log/debug. > > OK, I'm guessing you have ONE_AUTO_MASTER set to 1 in > /etc/sysconfig/autofs, is that right? > > > [EMAIL PROTECTED] images]# cat /etc/auto.master > > /- autofs.global --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 > > /rhome autofs.home --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 > > --debug > > Notice that the listing of your configured mount points does not > include those from your file map, /etc/auto.master: > > > [EMAIL PROTECTED] images]# service autofs status > > Configured Mount Points: > > ------------------------ > > /usr/sbin/automount --timeout=60 --ghost /home ldap > > automountMapName=auto_home,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > /usr/sbin/automount --timeout=60 --ghost /- ldap > > automountMapName=auto_global,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > Which is why we also get no debug output in the log. > > > [EMAIL PROTECTED] images]# service autofs start > > Starting automount: [ OK ] > > [EMAIL PROTECTED] images]# service autofs status > > Configured Mount Points: > > ------------------------ > > /usr/sbin/automount --timeout=60 --ghost /home ldap > > automountMapName=auto_home,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > /usr/sbin/automount --timeout=60 --ghost /- ldap > > automountMapName=auto_global,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > > > Active Mount Points: > > -------------------- > > /usr/sbin/automount --timeout=60 --ghost /home ldap > > automountMapName=auto_home,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > /usr/sbin/automount --timeout=60 --ghost /- ldap > > automountMapName=auto_global,o=unix,dc=woodside,dc=com,dc=au > > nfsvers=3,tcp,rsize=32768,wsize=32768 > > /usr/sbin/automount --submount --ghost --timeout=60 /nfs ldap > > automountMapName=auto_global,o=unix,dc=woodside,dc=com,dc=au nfsvers=3 > > tcp rsize=32768 wsize=32768 > > /usr/sbin/automount --submount --ghost --timeout=60 /hsm ldap > > automountMapName=auto_global,o=unix,dc=woodside,dc=com,dc=au nfsvers=3 > > tcp rsize=32768 wsize=32768 > > And now note that your direct map includes entries in the root level > of the file system. This is not supported in autofs v4. So, that's > the reason you're getting 0 length directories for /home, /nfs, and > /hsm. Actually, I think Colins direct map (probably) doesn't have single level mount entries (it didn't used to). So these mounts are just the result of the pseudo direct mount implementation in v4 mounting the top level directory of the tree defined by the entries in the map. Ian NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
