[Bug 1818209] Re: installing on NVMe fails no disk with serial
Ryan Harper
1818209 at bugs.launchpad.net
Wed Mar 6 00:44:31 UTC 2019
Thanks for the report.
I suspect subiquity may need to validate the serial value with what's
present in /dev/disk/by-id to ensure that curtin finds the same device
here.
** Also affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Changed in: curtin
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1818209
Title:
installing on NVMe fails no disk with serial
Status in curtin:
Incomplete
Status in subiquity package in Ubuntu:
New
Bug description:
While installing Ubuntu Server 18.04.2: curtin seems to compose the serial (id) for my NVMe storage incorrectly.
Right after I give the installer the go-ahead to perform the installation (with nothing but default values) the command: ['curtin', 'block-meta', 'simple'] fails. The tracedump says:
ValueError: no disk with serial 'THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV' found.
Under '/dev/disk/by-id' there indeed is no "nvme-THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV" but rather "nvme-THNSN5512GPU7_NVMe_TOSHIBA_512GB__76KS12H7T5ZV" (missing 7 of the underscores)
Workaround:
Rebooting back to the installer, and before doing anything else, switch to a different terminal and manually create a symlink with the name curtis expects to find: cd /dev/disk/by_id ; ln -s ../../nvme0n1 nvme-THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV
After that the installation goes fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1818209/+subscriptions
More information about the foundations-bugs
mailing list