Linux sample with NFSv3 mounts
The Linux automount
daemon is controlled via /etc/init.d/autofs, and
can be started, stopped, or restarted via the service command as described
in this topic.
The autofs service can be configured to start at boot time by issuing the
command:
chkconfig -a autofsThe service can be manually started using the following command:
service autofs start or
rcautofs status/stop/start/restartHere is the auto.master configuration file:
/etc/auto.master
# Sample auto.master file
/sapmnt/HA1 auto.ha1.sapmnt
Here is the referenced file for sapmnt auto.ha1.sapmnt:
/etc/auto.ha1.sapmnt
exe -nfsvers=3,rw,hard,intr,rsize=8192,wsize=8192 sapnfsv:/hfs/sapmnt/HA1/exe,binary,mvsmnt,rdrverf
profile -nfsvers=3,rw,hard,intr,rsize=8192,wsize=8192 sapnfsv:/hfs/sapmnt/HA1/profile,TEXT,mvsmnt,rdrverf,
cln_ccsid(819),srv_ccsid(1047)
global -nfsvers=3,rw,hard,intr,rsize=8192,wsize=8192 sapnfsv:/hfs/sapmnt/HA1/global,TEXT,mvsmnt,rdrverf,
cln_ccsid(819),srv_ccsid(1047)
trans -nfsvers=3,rw,hard,intr,rsize=8192,wsize=8192 sapnfsv:/hfs/sap/transAll/HA1trans,binary,mvsmnt,rdrverf