NFS: path of new share
This project has moved to github - see https://github.com/freenas
Brought to you by:
cochard,
mattolander
Hi
When you add a new share to a directory which is not a file system mount point you get this error :
All dirs requires mounted path, but Path /mnt/TEST/XXXXXXX is not mounted.
(in this case /mnt/TEST is the mount point of the disk)
This check shouldn't be as it is permitted to share each directory individualy (to add ip restrictions).
/etc/exports example :
blaster:/mnt/TEST# cat /etc/exports
/mnt/TEST/share -alldirs -mapall=root -network 1.2.3.0 -mask 255.255.255.0
/mnt/TEST/user1 -alldirs -mapall=root -network 1.2.3.1 -mask 255.255.255.255
/mnt/TEST/user2 -alldirs -mapall=root -network 1.2.3.2 -mask 255.255.255.255
Hi,
You cannot the way that you wrote.
If the mount point is /mnt/TEST, you must:
/mnt/TEST -alldirs -mapall=root -network 1.2.3.0 -mask 255.255.255.0
/mnt/TEST -alldirs -mapall=root -network 1.2.3.1 -mask 255.255.255.255
/mnt/TEST -alldirs -mapall=root -network 1.2.3.2 -mask 255.255.255.255
Sorry, I don't know this is valid for FreeNAS.
Yes, FreeNAS's WebGUI is very stupid.
Note:
"/mnt/TEST/share -alldirs" is useless.
"alldirs" affects all of the mountpoint's directories (includes "share").
Regards,
Daisuke Aoyama