My old PC died so I put the old drive in an external USB enclosure and connected it to my new PC. The trouble was, only the boot partition was mounted - it couldn't see the LVM partition.
Luckily the Volume Group on the old system was called Volume00 and the Volume Group on the new one was called VolGroup00. I don't know why this would be the case as they were both FC6 systems. lvdisplay showed the logical volumes on the external drive as inactive.
This was useful.
This is what I did:
[root@scorpio dev]# vgchange -ay Volume00 2 logical volume(s) in volume group "Volume00" now active [root@scorpio dev]# lvdisplay Volume00 --- Logical volume --- LV Name /dev/Volume00/LogVol01 VG Name Volume00 LV UUID g00L7X-ootz-cXz5-T7XS-yCWM-KOnC-v1QrOh LV Write Access read/write LV Status available # open 0 LV Size 33.93 GB Current LE 8685 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:3 --- Logical volume --- LV Name /dev/Volume00/LogVol00 VG Name Volume00 Allocation inherit Read ahead sectors 0 Block device 253:3 --- Logical volume --- LV Name /dev/Volume00/LogVol00 VG Name Volume00 LV UUID dql7gX-qhq1-SNcP-P0Aq-Q01w-5cDf-uMy22I LV Write Access read/write LV Status available # open 0 LV Size 80.00 GB Current LE 20480 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:4 [root@scorpio ~]# mkdir /mnt/oldbox [root@scorpio oldbox]# mkdir home [root@scorpio oldbox]# mount /dev/Volume00/LogVol00 home/ [root@scorpio oldbox]# mkdir root [root@scorpio oldbox]# mount /dev/Volume00/LogVol01 root
