Assuming that there is LVM metadata written on every disk (which is the default), it doesn't matter where a disk is connected. The metadata is read from the disk by LVM each time the system boots.
How it's connected is another matter. You need to have a driver that supports it. And that driver (if it's not compiled into your kernel) needs to be available from somewhere and loaded prior to accessing the disk... That somewhere is, I think, always the initial ramdsk (initrd). (I could be wrong - others can correct me if I am.)
I would suggest a different sequence to moving the data.
You can do a simple experiment by installing your new PCIE SATA controller card, moving an existing drive there, and rebooting to see if your LVM is still intact.
If it's not you can hopefully just move the disk back to its original position and correct the problem. (There may be the possibility that a VG missing a PV can be marked as inactive and need to be vgchange'd to active from disk recovery...)
If it boots, you can install the new drive on the empty motherboard controller and 'pvmove' the data from the disk on the pcie sata controller.
(Don't forget to 'vgreduce' and 'pvremove' the newly emptied disk before you remove it!)
good luck.
|