The manpages have an answer, though it takes a bit to get there. The
zfs man page, under sharenfs, redirects to the share manpage, which
redirects to the share_nfs manpage, which after a bit of looking, has
this gem:
When specifying individual IP addresses, use the same @
notation described above, without a netmask specifica-
tion. For example:
[email protected]
So, I think what you want is "zfs set
sharenfs='[email protected],[email protected]' data/data" for
read-only root access. Hostnames should work without "@", but
"ro=root=" doesn't work.
Tim
On Fri, Aug 17, 2012 at 9:40 AM, andy thomas <[email protected]> wrote:
>
> I've been trying to export a ZFS share on a OI 148 system to a Linux NFS
> client system whose root needs read access to all files on the OI box. I've
> tried variations of the zfs sharenfs command such as:
>
> zfs set sharenfs='root=185.198.192.20' data/data
> zfs set sharenfs='ro=root=185.198.192.20' data/data
> zfs set sharenfs='root=backup.my-domain.com' data/data
>
> etc, but root on the Linux box still cannot read files set by users on the OI
> server with permissions like 600 (that is, -rw-------).
>
> I've also tried using the mountvers=3 and vers=3 mount options on the Linux
> box but these don't fix the problem.
>
> What am I doing wrong?
>
> Andy
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> [email protected]
> http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss