[CentOS] Moving LVM from one machine to another

Sat Jan 9 03:40:21 UTC 2010
Stephen Harris <lists at spuddy.org>

My CentOS4 machine died (CPU cooler failure, causing CPU to die).
In this machine I had 5 Tbyte disks in a RAID5, and LVM structures
on that.

Now I've moved those 5 disks onto a CentOS5 machine and the RAID array
is being rebuilt.  However the LVM structures weren't detected at boot
time.  I was able to "vgscan" and 'vgchange -a y' to bring the volume
online and then fsck the logical volumes.

But I was concerned this didn't happen at boot time.  Do I need to do
anything else, or have the commands I've run done sufficient?

FWIW, this machine has no other LVM (nor RAID) disks on it.

(only 5 more hours for the rebuild to complete!)

-- 

rgds
Stephen