Whatever program creates /etc/zfs/exports from a "zfs set sharenfs ...." command does not act correctly if hostnames have a - in them. I first spotted this on a 10.3 system. Still exists in 11 RC2 Steps to reproduce. On the 11.0-RC2 EC2 instance I spun up, the pool name was tstpool # zfs create tstpool/some-test-fs # zfs set \ sharenfs='rw=devlab16-79.newjersey.sco.com,root=devlab16-79.newjersey.sco.com' \ tstpool/some-test-fs # cat /etc/zfs/exports # !!! DO NOT EDIT THIS FILE MANUALLY !!! /tstpool/some-test-fs rw=devlab16 79.newjersey.sco.com root=devlab16 79.newjersey.sco.com # zfs get sharenfs tstpool/some-test-fs NAME PROPERTY VALUE SOURCE tstpool/some-test-fs sharenfs rw=devlab16-79.newjersey.sco.com,root=devlab16-79.newjersey.sco.com local Note the missing dash between 16 and 79 in /etc/zfs/exports but the sharenfs property is correct. Sorry I haven't had time to track down where the trouble is. I just ran into this setting up a storage server. -- Tim Rice tim_at_xinuos.comReceived on Thu Sep 01 2016 - 18:52:49 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC