Hi list,

with traditional /etc/exports i can do

/export/linux/root      -ro             xxx.xxx.xxx.0/24
/export/linux/root      -maproot=0      xxx.xxx.xxx.1

How can i do this using zfs's sharenfs option?

When i try 

zfs set sharenfs="-ro -network xxx.xxx.xxx.0/24,-maproot=0 xxx.xxx.xxx.1" 
data/linux/root

/var/log/messages shows "network/host conflict" and "bad exports list line.

The general problem seems to be that with each "zfs set sharenfs" command, the 
corresponding in /etc/zfs/exports gets overwritten.

Is there a workaround for this besides ignoring sharenfs and using hand edited 
/etc/exports?

Thanks for any help,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-62394
Fax   :            -3341





_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to