From owner-freebsd-current@freebsd.org Sat Jan 30 11:14:11 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 8C4744E7217; Sat, 30 Jan 2021 11:14:11 +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 4DSWmz1RjGz3m34; Sat, 30 Jan 2021 11:14:11 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l5oCW-000LPM-0i; Sat, 30 Jan 2021 12:14:00 +0100 Date: Sat, 30 Jan 2021 12:14:00 +0100 From: Kurt Jaeger To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, Xin Li Subject: Re: zpool upgrade to draid feature: does it require updated zfs boot code ? Message-ID: References: <7a2b946a-636c-5aae-1129-adbf73168b70@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7a2b946a-636c-5aae-1129-adbf73168b70@delphij.net> X-Rspamd-Queue-Id: 4DSWmz1RjGz3m34 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] 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: Sat, 30 Jan 2021 11:14:11 -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: > > With the draid update, no message was displayed. > > > > Does it require the bootcode update anyway or, if not, why not ? > > This sounded like a bug. Is it your boot pool, or just a regular data pool? Its my boot pool. > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd0 > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd1 > > To answer your short question: do I need to update bootcode? No if > draid is the only feature that you have enabled on an existing pool, but > personally I don't recommend upgrading boot pool right now. The boot pool shows: zroot feature@draid enabled local > The reason for that "No" answer is 1) the boot code do not currently > support draid, and 2) enabling the feature won't activate it until draid > vdev is added to the pool, which is quite unlikely in your case; note > that if you do add draid vdev, your bootcode won't be able to boot from > it anymore. Ok. -- pi@opsec.eu +49 171 3101372 Now what ?