This version automatically exports shares if incron
is present, and there is a file called /mnt/DroboFS/Shares/DroboApps/nfs/etc/exports.auto
.
The default configuration exports shares using the following template:
/mnt/DroboFS/Shares/<share_name> 0.0.0.0/0(rw,insecure,async,no_subtree_check,no_root_squash,anonuid=99,anongid=99)
/mnt/DroboFS/Shares/<share_name> ::/128(rw,insecure,async,no_subtree_check,no_root_squash,anonuid=99,anongid=99)
Since NFS does not support user access control, only shares which give access to "Everyone" will be automatically exported. Shares are exported as rw
or ro
depending on the level of access given to "Everyone" in Drobo Dashboard.
Calling /mnt/DroboFS/Shares/DroboApps/nfs/service.sh reload
will regenerate the exports file.
To manually change the exports, remove the file /mnt/DroboFS/Shares/DroboApps/nfs/etc/exports.auto
, edit the file /mnt/DroboFS/Shares/DroboApps/nfs/etc/exports
, then call /mnt/DroboFS/Shares/DroboApps/nfs/service.sh reload
.