[OpenIndiana-discuss] Proper invocation for zfs sharenfs
Marcel Telka
marcel at telka.sk
Wed Apr 12 13:57:29 UTC 2023
On Wed, Apr 12, 2023 at 03:19:04PM +0200, Till Wegmüller wrote:
> 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.
Do you have the service/file-system/nfs package installed?
--
+-------------------------------------------+
| Marcel Telka e-mail: marcel at telka.sk |
| homepage: http://telka.sk/ |
+-------------------------------------------+
More information about the openindiana-discuss
mailing list