Date: Wed, 15 Aug 2012 16:21:09 +0200 From: =?iso-8859-2?Q?Radek_Krej=E8a?= <radek.krejca@starnet.cz> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: ZFS sharenfs problem Message-ID: <B2E0472020754D45B72E9B0CE35278CA90E439A8E5@EXCHANGE.mail.starnet.cz>
next in thread | raw e-mail | index | archive | help
Hello, after upgrade to fbsd 9.0 I dont know how to set sharenfs on zfs filesystem= correctly. On the older version of freebsd I used: zfs set sharenfs=3D-alldirs -maproot=3D0 pokus.starnet.cz storage/pokus on the same version of freebsd, but after uprade zfs zfs set sharenfs=3Drw=3D@pokus.starnet.cz,root=3D0 storage/pokus command ended fine, but on freebsd 9.0 I got with this command=20 Aug 14 12:26:48 storage mountd[1181]: bad exports list line /usr/local/stor= age/pokus rw=3D@pokus.starnet.cz root=3D0 So i found this page http://docs.oracle.com/cd/E23824_01/html/821-1448/gayn= e.html and change command to zfs set share=3Dname=3Dstorage_pokus,path=3D/usr/local/storage/pokus,prot= =3Dnfs,anon=3D0,sec=3Dsys,rw=3D@pokus.starnet.cz storage/pokus and command crashes with cannot set property for 'storage/pokus': invalid property 'share' How is correct command for setting sharenfs (i gave sharenfs=3Don, but I ne= ed to restrict access)? Thank you very much. Radek
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2E0472020754D45B72E9B0CE35278CA90E439A8E5>