- Closed
I have a shared drive, shared only through NFS
Shared Name : backups
Export : Yes
Security : Private
Rule : 10.2.10.29(rw,sync,no_root_squash,no_subtree_check) 10.2.10.120(rw,sync,no_root_squash,no_subtree_check)
As soon as I save the rule is modified by unraid, removing the space here "no_subtree_check) 10.2.10.120" -> "no_subtree_check)10.2.10.120"
The share is not created:
exportfs -v
returns nothing
/usr/sbin/exportfs -r
exportfs: /etc/exports:2: syntax error: bad option list
cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
"/mnt/user/backups" -fsid=100,async,no_subtree_check 10.2.10.29(rw,sync,no_root_squash,no_subtree_check)10.2.10.120(rw,sync,no_root_squash,no_subtree_check)
Adding back the space solves the problem.
/usr/sbin/exportfs -r
does not return nothing
exportfs -v
/mnt/user/backups
10.2.10.29(sync,wdelay,hide,no_subtree_check,fsid=100,sec=sys,rw,secure,no_root_squash,no_all_squash)
/mnt/user/backups
10.2.10.120(sync,wdelay,hide,no_subtree_check,fsid=100,sec=sys,rw,secure,no_root_squash,no_all_squash)