From owner-freebsd-current@freebsd.org Fri Sep 4 12:13:23 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51AB73DF89C for ; Fri, 4 Sep 2020 12:13:23 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjc5Y5jLYz3gNy for ; Fri, 4 Sep 2020 12:13:21 +0000 (UTC) (envelope-from ohartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.94.26]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfYPY-1klJXr3C24-00g07j for ; Fri, 04 Sep 2020 14:13:19 +0200 Date: Fri, 4 Sep 2020 14:13:18 +0200 From: "O. Hartmann" To: freebsd-current Subject: Fw: OpenZFS support merged: problem mounting ZFS within JAILs Message-ID: <20200904141314.566d1d38@freyja> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:TgUq4HLLgirLattSMzmItFf7jvGILDDn1dM3mtyx0KqYDTy9bBN UaFJPFTXA2ZRO3Y3t85msiJl6hfhRi8kc/Hbsf+w1D01RXnd5YCYik/6qiClx16G1gI21/V zy+vXZcT1PisTXa940z+pbudodit3PlVvkRe99A4AGtbZ7XQoOt/N7dFTt0D4knTff/mBvd obnOcHqpvXtp2Qv3Ekexg== X-Spam-Flag: NO X-UI-Out-Filterresults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F8bcNi0yXWk gcsVHHtoSxFaw2/qoSCYwAGllTxaaD88Uf/+84PkYTSu0RKss7KJDC5MUaamtfPwm9Z2qQ9q4 5oep4IkMAAYhkzVSDHAjWuVkOewouEgl9q95i1Tmyr6pwAShXTX4F8cTpYS+xpp5Klr0mGC2q M204k5w7TD0160advpwupCcLF3RDwhLqj1JqWzx+VEs3jU7EWheDPz19dfJJEer19RmGnXo5U WOegrbcqLktxGSy+YNeqXcqa+tF5UnOaW8YJE6A== X-Rspamd-Queue-Id: 4Bjc5Y5jLYz3gNy X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.12 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.85)[-0.849]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.20:from]; NEURAL_HAM_MEDIUM(-0.77)[-0.775]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.60)[-0.597]; RECEIVED_SPAMHAUS_PBL(0.00)[46.88.94.26:received]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 12:13:23 -0000 Begin forwarded message: Date: Fri, 4 Sep 2020 14:06:12 +0200 From: "O. Hartmann" To: Matthew Macy Cc: freebsd-current , freebsd-fs , freebsd-hackers@freebsd.org Subject: Re: OpenZFS support merged: problem mounting ZFS within JAILs On Mon, 24 Aug 2020 19:38:53 -0700 Matthew Macy wrote: > r364746 merged OpenZFS support in to HEAD. > > The change should be transparent unless you want to use new features. > I caution against 'zpool upgrade' for the next few weeks. > > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D364746 > > If you encounter problems please report them to me, Ryan Moeller, and > -current. _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" Hello. We just upgraded several boxes running CURRENT to r365325. These systems a= re running customized kernels with ZFS statically compiled in. the host's OS = is derived from "make buildworld buildkernel" in /usr/src. Jails on that hosts are maintained vi /etc/jail.conf, but system is instal= led by misusage of ezjail. So far the environemnt. One of the jails is a dedicated poudriere jail using ZFS. This worked so f= ar. Every pool this specific jail or any other jail is mounting is located bel= ow POOL/ezjail therefore we consider enforce_statfs=3D "1"; in /etc/jail.conf as sufficient. After updating all /etc/default/ and /etc/rc.d of those poudriere-jails with ZFS everything should be inline regarding new requests for OpenZFS . But now enforce_statfs=3D "1"; isn't sufficient anymore, the jais fail to = startup with a mount error complaining about insufficient access rights. The probl= em partially disappear by setting enforce_statfs=3D "0";, but this isn't what= we want and personally I consider it a risk. But furthermore, several ZFS dat= asets prior to the upgrade successfully being exported from the hosts pools and = mount from withing the jail are now invisible within the jail. According to /usr/src/UPDATING, tag 20200824, the features of the ZFS pool= s of the main hosts have been left untouched so far, no feature upgrade has bee= n performed. Some hints would be nice. Kind regards, oh _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"