From owner-freebsd-current@freebsd.org Thu Jan 28 19:00:36 2021 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 D257F4E70F2; Thu, 28 Jan 2021 19:00:36 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRVD44C43z4WT3; Thu, 28 Jan 2021 19:00:36 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l5CWm-000HFo-Ux; Thu, 28 Jan 2021 20:00:24 +0100 Date: Thu, 28 Jan 2021 20:00:24 +0100 From: Kurt Jaeger To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org Subject: zpool upgrade to draid feature: does it require updated zfs boot code ? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4DRVD44C43z4WT3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Thu, 28 Jan 2021 19:00:36 -0000 Hi! Short question: Does a zpool upgrade on 14.0 (current) for the draid feature require a boot code update ? Long version of the same question: I've upgraded my testbox to FreeBSD 14.0-CURRENT #0 main-c256294-g2cf84258922f and the system listed the zfs-feature draid as available if I do an zpool upgrade. The pool resides on two nvme drives: mirror-0 ONLINE 0 0 0 nvd0p4 ONLINE 0 0 0 nvd1p4 ONLINE 0 0 0 Normally, when I do the zpool upgrade for the pool, and the zpool upgrade also requires an upgrade to the bootcode, some message is displayed, reminding me to do so. With the draid update, no message was displayed. Does it require the bootcode update anyway or, if not, why not ? gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd1 -- pi@opsec.eu +49 171 3101372 Now what ?