Date: Sat, 30 Jan 2021 12:14:00 +0100 From: Kurt Jaeger <pi@freebsd.org> To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, Xin Li <delphij@delphij.net> Subject: Re: zpool upgrade to draid feature: does it require updated zfs boot code ? Message-ID: <YBU/eBirDXMQCBtY@home.opsec.eu> In-Reply-To: <7a2b946a-636c-5aae-1129-adbf73168b70@delphij.net> References: <YBMJyIsFShf16pgT@home.opsec.eu> <7a2b946a-636c-5aae-1129-adbf73168b70@delphij.net>
index | next in thread | previous in thread | raw e-mail
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 ?help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YBU/eBirDXMQCBtY>
