/mnt/raid 192.168.1.0/255.255.255.0(rw,no_subtree_check,async)
rw: read-write access
no_subtree_check: speeds up access by turning off the check that the current folder is a subtree in the same volume
async: speeds up access by turning off synchronous acks
start the requisite services
systemctl start rpcbind.service
systemctl start nfs-server.service
systemctl start nfs-lock.service
systemctl start nfs-idmap.service
enable automatic restart
systemctl enable rpcbind.service
systemctl enable nfs-server.service
systemctl enable nfs-lock.service
systemctl enable nfs-idmap.service
display exported directories
showmount --exports
No comments:
Post a Comment