Date: Thu, 1 Sep 2016 15:05:37 -0700 From: Tim Rice <tim@xinuos.com> To: freebsd-current@freebsd.org Subject: Re: /etc/zfs/exports conversion problem Message-ID: <e477c449-fbf4-e2b6-32e4-2bd2bc8dd242@xinuos.com> In-Reply-To: <ea09e455-c2e3-0fa6-09d6-927c2b0ec83b@xinuos.com> References: <ea09e455-c2e3-0fa6-09d6-927c2b0ec83b@xinuos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
never mind. Sorry for the noise. Silly me, using mount options that work on solaris on a freebsd system. On 09/01/16 13:43, Tim Rice wrote: > 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@xinuos.com 707 456-1146
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e477c449-fbf4-e2b6-32e4-2bd2bc8dd242>