[Bug 229595] zpool upgrade should substitute disk and partition numbers in gpart instructions
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 8 00:03:04 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229595
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 at FreeBSD.org
Reporter: mqudsi at 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 executed.
```
mqudsi at 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 actual
command to be executed should be displayed instead of a "rough estimate" of
command with the possibly incorrect disk/partition values.
See also #229594
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list