I had a weird issue on my Rocky Linux 9.2 system after upgrading from
One of my VGs on a Crucial NVMe/SSD disk disappeared.
The physical device path was fine.
I could see the partitions on the disk.
However LVM refused to bring the VG online.
vgscan all failed, complaining that a device previously on
/dev/nvme0n1p1 was no longer available.
Rebooting to the previous kernel worked; the missing VG was visible once more.
After some deep-diving, the cause of the LVM failure was that LVM was using a “devices” file (
/etc/lvm/devices/system.devices) and the kernels were reporting the
wwid differently for the NVMe disk between the two versions.
I renamed the old
system.devices file, then ran
pvscan, followed by
vgscan, after which
vgs showed the missing VG.
After that, I ran a
vgimportdevices -a command which created a new
system.devices file, containing the new
A reboot to re-validate confirmed all okay.
I’m posting this here just in case anyone else hits this problem.