> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Richard Elling
> 
> > zfs create tank/snapshots
> > zfs set sharenfs=on tank/snapshots
> 
> "on" by default sets the NFS share parameters to: "rw"
> You can set specific NFS share parameters by using a string that
> contains the parameters.  For example,
> 
>       zfs set sharenfs=rw=192.168.12.13,ro=192.168.12.14 my/file/system
> 
> sets readonly access for host 192.168.12.14 and read/write access
> for 192.168.12.13.

Yeah, but for some reason, the OP didn't want to make it readonly for
different clients ... He wanted a single client to have it mounted twice on
two different directories, one with readonly, and the other with read-write.

I guess he has some application he can imprison into a specific read-only
subdirectory, while some other application should be able to read/write or
something like that, using the same username, on the same machine.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to