Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:nfs.autofs [2017/05/29 10:07] – created lamboringolinux:nfs.autofs [2017/05/29 13:30] (current) lamboringo
Line 27: Line 27:
 ==== mount nfs / autmount ==== ==== mount nfs / autmount ====
  
-<code conf /etc/auto.share>+  dnf list nfs-utils nfs-utils-lib
  
 +manual one-time mount
 +  mount name.or.IP:/dirpath/dirname /mnt/path
 +  # with mount options
 +  mount -o ro name.or.IP:/dirpath/dirname /mnt/path
 +  
 +**automount**
 +
 +  dnf list autofs
 +
 +files:
 +  * /etc/auto.master
 +  * /etc/auto.* # ex: auto.share auto.home ...
 +
 +to automount in /share, e.g. for the server example data01 to mount data01 as /share/data01:
 +<code conf /etc/auto.share>
 +data01 esx-gsi:/mnt/data01
 </code> </code>
  
 +manually start the service:
 +  systemctl start autofs
  
 +start the service at boot:
 +  systemctl enable autofs