Project

General

Profile

Feature #9955

loader: export boot pool and vdev GUID

Added by Toomas Soome 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-11-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

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

Related to illumos gate - Bug #7119: boot should be more resilient to physical path to bootfs changingNew2016-06-18

Actions

History

#1

Updated by Toomas Soome 9 months ago

  • Description updated (diff)
#2

Updated by Electric Monk 9 months 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>

#3

Updated by Joshua M. Clulow 8 months ago

  • Related to Bug #7119: boot should be more resilient to physical path to bootfs changing added

Also available in: Atom PDF