Re: NFS on zfs question



On Jan 8, 9:10 pm, Rick Smith <ricksmith.use...@xxxxxxxxx> wrote:
I get the zfs set sharenfs=on mypool/myzfs
to share /mypool/myzfs

what about if I want to do
share -F nfs -o rw root=12.146.89.78 /mypool/myzfs

how do I do this in the zfs set sharenfs=on mypool/myzfs command

I'd rather share using the zfs sharenfs and not share -F nfs

From the zfs man page:
The following commands show how to set sharenfs property options to
enable rw access for a set of IP addresses and to enable root access
for system neo on the tank/home file system.

# zfs set sharenfs='rw=@xxxxxxxxxxx/16,root=neo' tank/home
.