LVM repair via /etc/lvm files?
Hello all,
I botched up adding storage to an existing volume group. The original volume is still intact and working fine, but the management utilities show I have an "unknown physical volume" as part of the group. That happened because I did things out of order and dropped a partition with fdisk before removing in LVM. So now it says it can't remove the volume because it can't find device with UUID Mt6....... .
Am I correct in thinking that if I restore a *.vg file that describes the lvm state before the botch up from /etc/lvm/archive to /etc/lvm/backup, then re-start the system, I'll be able to find and remove UUID Mt6....... and then start over doing things in the proper order?
I want to get rid of the "unknown device" record and add the "New Physical Volume" at /dev/sdb1 to the volume group. I'm concerned about adding the new pv with the bogus record still in place. I need this volume group to be stable!
Attached is a txt file with output from "dmsetup info" and "pvdisplay".
I'm running a CentOS 5.4 server. Any help is appreciated, thanks!
|