Yesterday I ran into an issue where a mount point wasn't working and tracked it down to one of the submounts. From what I can tell, if one of the submounts in a multi-mount doesn't work, the entire mount point won't work. If that is the case, can this behavior be changed?

System:
Sun V20Z running RHEL3 WS AMD64, 2.4.21-15ELsmp (with kernel-smp-unsupported-2.4.21-15.EL RPM to get autofs4 module) and autofs-4.1.2-6 from Jeff Moyer.



[EMAIL PROTECTED] root]# cd /proj/tec/layout/copperhead -bash: cd: /proj/tec/layout/copperhead: No such file or directory

Checked the messages:

[EMAIL PROTECTED] root]# tail /var/log/messages
May 12 17:22:47 winston automount[8314]: rm_unwanted: /proj/tec/layout/maskprep1
May 12 17:22:47 winston automount[8314]: rm_unwanted: /proj/tec/layout/copperhead
May 12 17:22:47 winston automount[8314]: rm_unwanted: /proj/tec/layout
May 12 17:22:47 winston automount[6941]: attempting to mount entry /proj/tec/layout
May 12 17:22:47 winston automount[8318]: >> mount: macduff:/fsys/fs04/maskprep1 failed, reason given by server: Permission denied
May 12 17:22:47 winston automount[8318]: mount(nfs): nfs: mount failure macduff:/fsys/fs04/maskprep1 on /proj/tec/layout/maskprep1
May 12 17:22:47 winston automount[8318]: failed to mount /proj/tec/layout
May 12 17:22:47 winston automount[8318]: rm_unwanted: /proj/tec/layout/maskprep1
May 12 17:22:47 winston automount[8318]: rm_unwanted: /proj/tec/layout/copperhead
May 12 17:22:47 winston automount[8318]: rm_unwanted: /proj/tec/layout


Noticed how mount failed for /proj/tec/layout/maskprep1, then the whole /proj/tec/layout mount fails. The mount point it was failing on is intentionally unshared at the moment, so I'm not surprise it couldn't make it. Took the entry out of the automount map

layout \
/copperhead eclipse0:/export/layout/copperhead \
/maskprep1 macduff:/fsys/fs04/maskprep1 \
<snip>

refreshed the automount daemon's cache. Mount works now.

[EMAIL PROTECTED] root]# pkill -HUP -f auto.proj
[EMAIL PROTECTED] root]# cd /proj/tec/layout/copperhead
[EMAIL PROTECTED] copperhead]# ls
mpc5554.0l00x  mpc5554.0l87p  restore
[EMAIL PROTECTED] copperhead]#

Tom
--
Tom Georgoulias
POPI Classification
[x] General Business Information
[] Freescale Semiconductor Internal Use
[] Freescale Semiconductor Confidential Proprietary

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to