[OpenIndiana-discuss] Proper invocation for zfs sharenfs

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Apr 12 14:02:15 UTC 2023


On 12/04/2023 15:19, Till Wegmüller wrote:
> Hello everyone
>
> I am currently trying to configure an NFS server but I seem to fail to correctly
> invoke zfs sharenfs properly.
>
> zfs keeps complaining with 'cannot set property for 'rpool/data/oirepo':
> 'sharenfs' cannot be set to invalid options'
>
> And a manual invokation of share keeps complaining with: 'Invalid protocol
> specified: nfs'
>
> My command is:
> ~# zfs set
> sharenfs='rw=@10.1.0.70:@10.1.0.71:@10.1.0.72,ro=@10.1.0,root=@10.1.0.70:@10.1.0.71:@10.1.0.72,anon=abuild'
> rpool/data/oirepo
>
> Does anybody know the correct invokation? Manpages etc. show that this should be
> correct but I can't make it work.
>
> Thanks
> Till
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

,anon=abuild  is not a valid sharenfs option.

-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list