Date: Sun, 08 Jul 2018 00:03:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229595] zpool upgrade should substitute disk and partition numbers in gpart instructions Message-ID: <bug-229595-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229595 Bug ID: 229595 Summary: zpool upgrade should substitute disk and partition numbers in gpart instructions Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mqudsi@neosmart.net After upgrading a zpool with `zpool upgrade xxx`, instructions are emitted regarding updating the bootsector code for compatibility with the latest zfs version. These instructions emit an example of what command should be execu= ted. ``` mqudsi@freebsd ~> sudo zpool upgrade zroot This system supports ZFS pool feature flags. Enabled the following features on 'zroot': device_removal obsolete_counts zpool_checkpoint 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 ``` Again, the command displayed is only an example and not to be taken/executed literally. As the relevant information is available to the tools in question, the actu= al command to be executed should be displayed instead of a "rough estimate" of command with the possibly incorrect disk/partition values. See also #229594 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229595-227>