Wednesday, September 2, 2015

RHEL - Autofs mount entry

Autofs mount

$ more /etc/auto.master
+auto.master

#/home   /etc/auto.home     --timeout 60
/-      /etc/auto.direct   --timeout 60


$ more /etc/auto.direct
# Mount hector for NFS shares
/repo_tmp      -rw,soft,intr,tcp,noatime   server1:/data/repo_tmp
/archive          -rw,soft,intr,tcp,noatime   server2:/data/archive
/backup          -rw,soft,intr,tcp,noatime   server3:/data/backup

No comments:

Post a Comment