Feature #9955
loader: export boot pool and vdev GUID
Start date:
2018-11-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
We do export zfs-bootfs, bootpath and diskdevid in boot environment to support zfs boot. To support boot pool discovery in case the bootpath and diskdevid are changed (are not reflecting the actual device tree), we need to export at least boot pool GUID. While on it, we also export boot disk vdev GUID. Once we can discover the boot pool configuration, we probably should not even need vdev GUID any more, because pool should should ensure the data integrity.
Export pool guid in zfs-bootpool
and vdev guid in zfs-bootvdev
While there, remove unused fbsd vfs.* variables.
Related issues
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit f6dea603a339e9ce32cc78b775543b0cccbefac2
commit f6dea603a339e9ce32cc78b775543b0cccbefac2 Author: Toomas Soome <tsoome@me.com> Date: 2018-11-09T21:58:28.000Z 9955 loader: export boot pool and vdev GUID Reviewed by: Adam Števko <adam.stevko@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Updated by Joshua M. Clulow over 2 years ago
- Related to Bug #7119: boot should handle change in physical path to ZFS root devices added