Linux – howto import existing linux soft array volume group

linuxlvmmdadmraid1

I have a server that consists of a boot drive, then two data drives combined to a RAID1 linux array. My boot drive recently became corrupted and I need to re-install the operating system. The RAID1 data array is fine, and I would like to just import it once the operating system is installed. (The data array is just a big LVM setup in a volume group)

What steps should I go through to import the volume group, and LVM within the array? Google has been surprisingly unhelpful for this.

Thanks in advance

Best Answer

Maybe you can try to follow the recipe for moving volumes in the LVM Howto? Of course you'll skip a few steps there.