I looked into this a few months ago for slightly different reasons (juju/maas getting confused and not identifying a disk, due to differing kernels used for install vs boot), I can confirm I found at the time that the nvme by-id symlinks change due to backporting of the NVME_QUIRK_BOGUS_NID quirk. This was
Unfortunately backports of this quirk for random SSD models has been regularly done to linux -stable kernels upstream. I ran out of time to follow-up on this at the time, but probably this practice needs to be raised upstream with the kernel and possibly needs to stop and/or some solution to do with the symlinks needs to happen, I didn't quite get as far as understanding why the BOGUS NID matters and what that breaks, or what is fixed by the change, fully. There are a couple of other open bugs related to this issue, e.g. where it also breaks on upgrade: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2039108 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1940723 in my juju/maas case this was happening with VirtIO SCSI devices too, not a real SSD. As that was also quirked. May make for a way to reproduce the issue without one of the effected SSDs. Possibly also related links I collected: https://lore.kernel.org/all/20220606064055.ga2...@lst.de/T/#madf46b0ae9d07405bad2e324cb782c477e7518b2: https://bugs.launchpad.net/curtin/+bug/2015100 https://bugzilla.redhat.com/show_bug.cgi?id=2031810 https://bugzilla.kernel.org/show_bug.cgi?id=217981 https://www.truenas.com/community/threads/bluefin-to-cobia-rc1-drive-now-fails-with-duplicate-ids.113205/ ** Bug watch added: Red Hat Bugzilla #2031810 https://bugzilla.redhat.com/show_bug.cgi?id=2031810 ** Bug watch added: Linux Kernel Bug Tracker #217981 https://bugzilla.kernel.org/show_bug.cgi?id=217981 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083176 Title: grub-efi/install_devices becoming stale due to by-id/nvme-eui.* symlinks disappearing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2083176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs