We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a6e5c commit 3d858ddCopy full SHA for 3d858dd
docs/nfs.md
@@ -9,7 +9,7 @@ sudo systemctl start nfs-kernel-server.service
9
10
```shell
11
# /etc/exports
12
-/srv *(rw,sync,subtree_check)
+/srv/storage *(rw,sync,subtree_check)
13
```
14
15
@@ -19,14 +19,28 @@ sudo exportfs -a
19
## Client
20
21
22
-show mount 192.168.192
+showmount -e 192.168.192
23
24
25
26
mkdir ~/nas
27
sudo apt install nfs-common
28
29
30
+```shell
31
+df -h
32
+```
33
+
34
35
+sudo apt install autofs
36
+# /etc/auto.master
37
+...
38
+/mnt /etc/auto.nfs --ghost --timeout=60
39
40
+# /etc/auto.nfs
41
+storage -fstype=nfs4,rw 192.168.1.192:/srv/storage
42
43
44
45
# /etc/fstab
46
UUID=1FDD-27B1 /boot vfat defaults 0 0
0 commit comments