[Bug 1880869] Re: Use persistent device name for vdevs
Nicolay Doytchev
1880869 at bugs.launchpad.net
Sat May 30 17:43:05 UTC 2020
Re: SRUing
I just got hit by this. I'm using a laptop that I added a second disk
to. That changed the root disk from /dev/sda to /dev/sdb. The rpool got
imported fine so boot succeeded. However silently bpool did not get
imported. A couple of kernel updates were done over /boot inside rpool
and were not reflected in grub. Effectively kernel became frozen at the
time when bpool failed to import. I dug through the zsys-setup file and
figured I'd add a couple of lines to convert partrpool and partbpool
from /dev/sdx to /dev/disk/by-partuuid. After I did that, I
opportunistically decided to check how the current source looks like and
I saw almost identical lines were added in
https://git.launchpad.net/ubiquity/commit/?id=36ea45160d00c9fd940b6d1b760e7a7b9b652625
by @jibel. :D
So yeah, even though this is an EXPERIMENTAL feature, it would be really
nice to avoid this gotcha.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1880869
Title:
Use persistent device name for vdevs
Status in ubiquity:
Unknown
Status in ubiquity package in Ubuntu:
In Progress
Bug description:
ZFS pools are currently created with device names such as /dev/sdX, /dev/vdX,... However, this name is not stable and may change on each reboot.
"zpool create" must use persistent device names like UUID or PARTUUID instead.
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
Uname: Linux 5.4.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu36
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed May 27 13:52:13 2020
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss
InstallationDate: Installed on 2014-07-15 (2143 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubiquity
UpgradeStatus: Upgraded to groovy on 2018-03-24 (794 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubiquity/+bug/1880869/+subscriptions
More information about the foundations-bugs
mailing list