"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

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to