I have a machine (guest VM running CentOS 6.5) with 2 disks. Main OS on sda and then a 2TB LVM on the second sdc.
I added 2 more 2TB disks to the machine and was going through the process of formatting then using fdisk to add to the LVM, but I fdisk'd the wrong disk, sdc. Two new disks came up as sdb and sdd. Like an idiot I didn't check fdisk -l properly before continuing.
I created a new primary partition on 1, and then over-wrote the system id again to 8e (LVM).
So sdc now has a new UUID and a new partition table.
Anyone know how I can recover this using the vgcfgrestore util? Can I just overwrite the new UUID over the old one in the vg1(volume-group-backup-file) and run the restore?