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