# LVM/device identifiers changed after kernel updates, resulting in missing VGs/PVs

**URL:** <https://forums.rockylinux.org/t/lvm-device-identifiers-changed-after-kernel-updates-resulting-in-missing-vgs-pvs/10059>\
**Category:** Rocky Linux Help & Support\
**Created:** [May 26, 2023, 1:35am UTC](https://forums.rockylinux.org/t/lvm-device-identifiers-changed-after-kernel-updates-resulting-in-missing-vgs-pvs/10059 "2023-05-26T01:35:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![El.Scotto](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/el.scotto/32/3135_2.png) [@El.Scotto](https://forums.rockylinux.org/u/El.Scotto)\
**Post date:** [May 26, 2023, 1:35am UTC](https://forums.rockylinux.org/t/lvm-device-identifiers-changed-after-kernel-updates-resulting-in-missing-vgs-pvs/10059/1 "2023-05-26T01:35:46Z")

</div>

Hi everyone,  
I had a weird issue on my Rocky Linux 9.2 system after upgrading from `kernel-5.14.0-162.23.1.el9_1.x86_64` to `kernel-5.14.0-284.11.1.el9_2.x86_64`.  
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. `pvscan` and `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.

Old: `eui.6479a76080000043`  
New: `nvme.c0a9-323231334536323230314331-435432303030503253534438-00000001`

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 `wwid` identifier.

A reboot to re-validate confirmed all okay.

I’m posting this here just in case anyone else hits this problem.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [May 26, 2023, 1:37am UTC](https://forums.rockylinux.org/t/lvm-device-identifiers-changed-after-kernel-updates-resulting-in-missing-vgs-pvs/10059/2 "2023-05-26T01:37:52Z")

</div>

This will be helpful for anyone running into this issue. This information is also documented in our release notes for 9.2: [Current Release 9.2 - Documentation](https://docs.rockylinux.org/release_notes/9_2/#upgrading)

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:13am UTC](https://forums.rockylinux.org/t/lvm-device-identifiers-changed-after-kernel-updates-resulting-in-missing-vgs-pvs/10059/3 "2023-08-25T03:13:13Z")

</div>

Closed on August 25, 2023, 3:13am UTC


