Hi, Thanks for taking the time to read this.
Im trying to dynamicaly mount a directory on anotehr server but cant figure out for the life of me how to do this. Ive read just about the pages google can throw at me on this but alas im coming up blank.
For examples sake i have two server (server2 and server3).
on server 2 it has a folder /images and im wanting to mount this to server3 to the folder /net/server2/export/home/images/
What ive done so far is to edit the /etc/auto.master on server2 so it reads
and in /etc/auto.misc ive put
* -fstype=nfs4,soft,intr,rsize=32768,wsize=32768,nosuid server2IP:/images
/sbin/service autofs restart
/sbin/service autofs status
/sbin/service autofs reload
Then im stuck as to what I need to do on server3 or if ive got the contents right of the master / misc files.
I have successfuly mounted the said drive using normal nfs mount command so I know that it works, its just by lack of autofs knowledge thats halting my progression.
If anyone could point me out where im going wrong that would be great