Zpool upgrade on mirrored boot volume

Doug Niven dniven at ucsc.edu
Tue Jul 28 19:37:55 UTC 2015

Hi Folks,

I ran a ‘zpool upgrade zroot’ then saw the following:

	If you boot from pool 'zroot', don't forget to update boot code.
	Assuming you use GPT partitioning and da0 is your boot disk
	the following command will do it:

		gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0

zroot is our boot volume but it’s made up of two mirrored disks: ada0, ada1

Please advise how I should run the above command without hosing our 10.1-RELEASE-p15 host.



More information about the freebsd-questions mailing list