summaryrefslogtreecommitdiff
path: root/3 Resources/NFS.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-03-20 11:07:49 +0100
committerJasper Ras <jras@hostnet.nl>2025-03-20 11:07:49 +0100
commit80ccf68f55dbb70d7e5ed52ee95b3c9d1b6ce264 (patch)
tree93e28e85ab70052aa6f577998ec7dc1f413b40c0 /3 Resources/NFS.md
parent9642cd7ae24f0ba79ce5647c709b35ae8f06a285 (diff)
vault backup: 2025-03-20 11:07:48
Diffstat (limited to '3 Resources/NFS.md')
-rw-r--r--3 Resources/NFS.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/3 Resources/NFS.md b/3 Resources/NFS.md
new file mode 100644
index 0000000..20edb9f
--- /dev/null
+++ b/3 Resources/NFS.md
@@ -0,0 +1,32 @@
+---
+tags:
+ - linux
+ - nfs
+references:
+ - https://linux.die.net/man/5/exports
+ - https://wiki.gentoo.org/wiki/Nfs-utils
+ - https://docs.freebsd.org/en/books/handbook/network-servers/#network-nfs
+---
+# Server
+daemons:
+- nfsd : handles reqs from nfs clients
+- mountd : handles reqs from nfsd
+- rpcbind : allows nfs clients to discover which port the NFS server is using
+# Exports
+`/etc/exports` contains table of FS' that are exported over NFS. Newline-seperated list of exports that are in turn whitespace seperated with clients allowed to mount there. A client can be followed by parenthesised comma-seperated list of export opts.
+Default opts can be specified at the end behind a dash.
+
+**Client specs**
+- Single host (name or ip)
+- Netgroups
+- Wildcards (`?` or `*` and `[]` char classes)
+- IP networks (`ipaddr/netmask` )
+
+**Some useful options**
+- rw
+- ro
+
+**Example**
+```
+/nfs 192.168.50.0/24(rw,sync,insecure,no_subtree_check)
+``` \ No newline at end of file