hi! i am truly desperate! i messed up my metadata and pvdisplay, vgdisplay and lvdisplay outputs nothing. all my disks are still functional and present. i keep getting the error message: # vgcfgrestore -f main_disk_group_mod3 main_disk_group Cannot change metadata for partial volume group main_disk_group Restore failed. i found almost no information about this error message on the web. i have one backup-file that i am pretty sure is the one i want to backup (see attachment). it seems /dev/sda's uuid has changed and that is why i modified it to have the right uuid (hence the "vgcfgrestore -f main_disk_group_mod3") lvmdiskscan outputs the following: /dev/ram0 [ 64.00 MB] /dev/sda [ 465.76 GB] LVM physical volume /dev/evms/hda1 [ 8.99 GB] /dev/ram1 [ 64.00 MB] /dev/hda1 [ 8.99 GB] /dev/hdc1 [ 232.88 GB] LVM physical volume /dev/evms/hda5 [ 431.40 MB] /dev/ram2 [ 64.00 MB] /dev/evms/hdb1 [ 149.05 GB] LVM physical volume /dev/ram3 [ 64.00 MB] /dev/evms/hdc1 [ 232.88 GB] LVM physical volume /dev/ram4 [ 64.00 MB] /dev/evms/hdd1 [ 186.31 GB] /dev/ram5 [ 64.00 MB] /dev/hda5 [ 431.40 MB] /dev/ram6 [ 64.00 MB] /dev/ram7 [ 64.00 MB] /dev/ram8 [ 64.00 MB] /dev/ram9 [ 64.00 MB] /dev/ram10 [ 64.00 MB] /dev/ram11 [ 64.00 MB] /dev/ram12 [ 64.00 MB] /dev/ram13 [ 64.00 MB] /dev/ram14 [ 64.00 MB] /dev/ram15 [ 64.00 MB] /dev/sdb [ 465.76 GB] LVM physical volume /dev/hdb1 [ 149.05 GB] /dev/hdd1 [ 186.31 GB] 0 disks 23 partitions 2 LVM physical volume whole disks 3 LVM physical volumes disk overview: /dev/sdb 14AP4R-X75R-94Dx-Pk5g-HU0e-F6yh-8tQoEz 500gig (somehow changed to mQYVpB-CCAn-OdlL-Ows5-m33h-gCMy-DWS8ku) /dev/hdb kUgW4k-AO0G-qRS0-0cH8-VkzD-Xjfj-ZjzZVL 150gig /dev/hdc1 JDMxOF-84VA-Ir6e-tAeB-LAKj-gy4J-7GXspF 250gig /dev/sda F87gox-1Z8e-eDcZ-QUxW-9gLI-XJLp-ySl017 500gig Pål Driveklepp Norway > But the error probably means you're attempting to use an incomplete backup > (or you attempted hand-editing it incorrectly). > > Alasdair
Attachment:
main_disk_group_00001.vg
Description: Binary data
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/