I believe this is just:

zfs set sharenfs='root=host1:host2,[EMAIL PROTECTED]/24:@10.9.9.5' filesystem

See the man pages for zfs(1M) (especially the last example) and share_nfs(1M).

- Johnson


Michael Stalnaker wrote:
> All;
> 
> I¹m sure I¹m missing something basic here. I need to do the following
> things, and can¹t for the life of me figure out how:
> 
> 1. Export a zfs filesystem over NFS, but restrict access to a limited set of
> hosts and/or subnets: ie: 10.9.8.0/24 and 10.9.9.5 in.
> 2. give root access to a zfs file system over nfs.
> 
> I¹m sure this is doable with the right options, but I can¹t figure out how.
> 
> Any suggestions? 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


-- 
- Johnson Earls
System Support Lead for Sun Labs West
MPK16-1205      x88965          650/786-8965
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to