I had a CentOS 5.5 server with two drives in it (sda, sdb) using LVM. sda had a combination of physical partitions and LVs. sdb had one volume group named data with multiple logical volumes. There were no logical volumes or volume groups that spanned the two disks.
Last week I decided to reinstall the OS including formatting /, /root, /boot and rebuilding the LVs on sda. sdb was not touched during the reinstallation as it contains all of the data I want to keep.
After the installation the physical volume on sdb was not listed as active by LVM. Running (as best I can tell from looking at my history)
pvscan activated the physical volume. Unfortunately, none of the existing volume groups on sdb were being listed.
I then ran
vgcreate data /dev/sdb which I thought would either give errors reporting an existing volume group existed with this name or would somehow activate the data volume group. Unfortunately for me, neither of these things happened.
At this point I haven't touched anything on /dev/sdb since I would like to recover the existing logical volumes that are defined on that drive. Is there anyway to reactivate those volumes?