Dear all,
I have problems "submounting" a share when using direct mounts. Given
the following automounter tables:
/etc/auto.master:
-----------------------------------
/- /etc/auto.groups
/etc/auto.groups
-----------------------------------
/groups/group1/int server:/export/group1
/groups/group1/int/svc/a server2:/export/service_a
/groups/group2/int server2:/export/group2
/groups/group3/int server:/export/group3
[... ca. 100 entries here ...]
/groups/group1/int/svc/a is not mounted and I get the error message
"do_mount_autofs_direct: failed to create mount directory
/groups/group1/int/svc/a" on any host which doesn not have root
permissions (no_root_squash) on server:/export/group1 (which is on 99%
of all clients).
The directory "svc/a" has been created on server:/export/group1, so
there is no need to recreate it.
There are additional subdirectories in /groups/group1/int/svc/ which
directly reside on server:/export/group1. Only "a" need to be mounted
from a second location.
Can this be solved with direct mounts? How? We would prefer to use
direct mounts, as this has shown to create the least problems when
dynamically changing the mount tables (no automounter restart is
required). However I would not have a problem to use some indirect
mount mechanism for /groups/group1/int/svc/a as long as the main
/groups/groupN/int can stay in a direct mount table.
Any help or hint is appreciated.
Cheers, Frank