Nope :) ONE_AUTO_MASTER is set to 0 (zero). I just noticed these in /var/log/messages -- Nov 8 13:09:14 las004 nsswitch: nsswitch: couldn't find map autofs.global Nov 8 13:09:14 las004 nsswitch: nsswitch: couldn't find map autofs.home --
The reason for the /rhome entry is to workaround the annoying local users that Satellite server creates under /home. With autofs running with our standard maps: --- /home autofs.home --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 /- autofs.global --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 --- Satellite server throws lots of errors because the homedirs (and hence scripts and logs) used by nocpulse and nocops aren't available. I'm hoping that once /rhome gets properly automounted, I can create some symlinks so normal users can log in and get their NFS home dirs mounted. Thanks CC -----Original Message----- From: Jeff Moyer [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 November 2007 1:59 PM To: Coe, Colin C. (Unix Engineer) Cc: [email protected] Subject: Re: [autofs] Problem with autofs_home map "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. Thanks so much for providing such detailed debug data. It really makes a difference when trying to figure out these configuration issues! -Jeff 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
