Automounter Workshop --------------------------------- Server Instructions 1) Issue the following command: # mkdir /project # cd /project # mkdir software hardware database # touch software/files hardware/stats database/maps 2) Edit the /etc/dfs/dfstab: share -o rw /project 3) Issue the following commands: # shareall # share 4) You should now be sharing out /project 3) Issue the following commands: # cd /etc/init.d # ./rpc stop # ./rpc start # ./nfs.server stop # ./nfs.server start Client Instructions 1) Issue the following command: # mkdir /project 2) Edit the /etc/auto_master file: # vi /etc/auto_master /project project_map 3) Create the /etc/project_map: # vi /etc/project_map software server:/project/software hardware server:/project/hardware database server:/project/database 4) Issue the following command: # automount 5) The previous comman rereads the /etc/auto_master file. 6) Issue the following command: # cd /project/software # ls -l 7) You should now see the files in the directory automounted from the server. 8) Issue the following command: # more /etc/mnttab 9) You should be able to see the automount services.