Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set up two directories mounted with automount (via LDAP):

in the /home directory automount is configured to mount

*   -fstype=bind :/network/srv/home/&

in the /network directory one entry

srv    -fstype=nfs4,rw,sec=sys,noatime,hard,intr,proto=tcp,timeo=100,port=2049 myserver:/

when i try to access the home directory of a user (e.g. ls /home/myuser), automount fails with the error message:

>> mount: special device /network/srv/home/myuser does not exist
failed to mount /home/myuser

when i do the 'bind mount' manually using

mount -o bind /network/srv/home/myuser /home/myuser

automount for /network/srv is triggered and the myuser home directory is successfully mounted to /home/myuser.

Any ideas how to tell automount to load the /network/srv before trying to mount /network/srv/home/myuser???

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.