I think this is something unique to your system that you had to do this. I created raid+lvm under Rocky 8, then disconnected the disks, and connected them to Rocky 9 and it was accessible as soon as I activated the mdadm.
As you found, mileage varies, what works for one person, not necessarily another. The good think is you were able to use lvmdevices to add the device and then the vgchange command to activate it. Maybe mine just worked because it was created under Rocky 8, rather than using LVM under CentOS 7. Perhaps that had something to do with it, perhaps not.
Iāve had varying issues with lvm, also had one inaccessible once, and was just enough to use vgchange to activate it. Others it was irrecoverable due to metadata loss but was able to get it back from a backup. So itās handy to make a list of commands used that helped resolve it, just in case for the future you might need them again.
Hello,
Iāve been a CentOS user since V4 and I loved it when Rocky started up.
Iāve been on Rocky since its beginning.
But Iāve now been motivated by this thread.
My home server (web/file) has gone from CentOS V4 up to Rocky 8.7.
Of course it is and old server so I decided to upgrade.
Its now on Rocky 9.1.
All of my /home content is on a LV.
After installing Rocky 9.1 fresh on the new server I did the following on the old one to move the disks over: