Multiple entries in ZFS "sharenfs" property?

Lev Serebryakov lev at FreeBSD.org
Sun Aug 2 18:08:27 UTC 2015


Hello Willem,

Sunday, August 2, 2015, 1:49:54 PM, you wrote:
>>   Is it possible to put multiple entries (for multiple networks) into
>> "sharenfs" property for ZFS filesystem?

> Something like?
>          -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0
> I think I just did it by putting the text between '' 's:
>         ' <volume>

> Which then ends up in /etc/zfs/exports:
> /home/wjw  -alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.252.0
 I need 4 such lines per FS (with different -network / -mask arguments). One line works. Four lines don't.

-- 
Best regards,
 Lev                            mailto:lev at FreeBSD.org



More information about the freebsd-fs mailing list