Project

General

Profile

Actions

Feature #9955

closed

loader: export boot pool and vdev GUID

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
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

Related to illumos gate - Bug #7119: boot should handle change in physical path to ZFS root devicesClosedJoshua M. Clulow2016-06-18

Actions
Actions #1

Updated by Toomas Soome almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 3 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>

Actions #3

Updated by Joshua M. Clulow almost 3 years ago

  • Related to Bug #7119: boot should handle change in physical path to ZFS root devices added
Actions

Also available in: Atom PDF