Merge ~jibel/ubiquity:zpool_use_persistent_path into ubiquity:master

Proposed by Jean-Baptiste Lallement
Status: Merged
Approved by: Jean-Baptiste Lallement
Approved revision: 36ea45160d00c9fd940b6d1b760e7a7b9b652625
Merged at revision: 36ea45160d00c9fd940b6d1b760e7a7b9b652625
Proposed branch: ~jibel/ubiquity:zpool_use_persistent_path
Merge into: ubiquity:master
Diff against target: 33 lines (+14/-0)
2 files modified
debian/changelog (+6/-0)
scripts/zsys-setup (+8/-0)
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli (community) Approve
Review via email: mp+384627@code.staging.launchpad.net

Commit message

Use persistent path for pool's vdevs

Devices names such a /dev/sdX may change on reboot and leads to unbootable systems.
This patch uses partuuid instead which is stable. We couldn't use uuid because it changes when the pool is created. (LP: #1880869)

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

+1 with your tests in the different environment :)

review: Approve
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

For the report, this branch has been tested on VM and HW, with virtio and sata disks. I couldn't test with nvme drives.
I verified that zpool.cache is updated with the right paths and persists other several reboots.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

s/report/record/

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches