diff options
Diffstat (limited to '3 Resources/NFS.md')
-rw-r--r-- | 3 Resources/NFS.md | 32 |
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 |