I'm not sure exactly how to set up and configure automounter:
I have ServerA, ServerB and ServerC
On ServerB I have a filesystem called /oarchive and exported to ServerA
On ServerC I have a filesystem called /db_backup and exported to ServerA
I want to auto mount both of the filesystem on ServerA.
I had this initial set up in /etc/fstab
ServerB:/oarchive /oarchive nfs default,rsize=32768,wsize=32768,hard 0 0
ServerC:/db_backup /db_backup nfs default,rsize=32768,wsize=32768,hard 1 2
So here's the steps below I think I need to do:
So here's what I think I need to do:
1. Add in /etc/auto.master
/oarchive /etc/auto.oarchive --timeout=60
/db_backup /etc/auto.db_backup --timeout=60
2. Add in /etc/auto.misc
ServerB -rw,intr,hard ServerB:/oarchive
ServerC -rw,intr,hard ServerC:/db_backup
3. service autofs start
Will this work or do I need to add additional information to get this to work? Also if I do this then I need to remove the nfs file from /etc/fstab? Please help...
Last edited by rbell54; 07-01-2009 at 09:29 AM.