[linux-lvm] vgcfgrestore error !

Igor Dumaire Igor.Dumaire at LTUtech.com
Tue Nov 20 13:24:02 UTC 2001


#  vgimport -f -v lvm1 /dev/hdc1
vgimport -- locking logical volume manager
vgimport -- checking volume group name
vgimport -- checking volume group "lvm1" existence
vgimport -- trying to read physical volume
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/hdc1"
vgimport -- reading data of physical volume "/dev/hdc1" from disk
vgimport -- checking for exported physical volume "/dev/hdc1"
vgimport -- reallocating memory
vgimport -- checking consistency of physical volume "/dev/hdc1"
vgimport -- ERROR: wrong number of physical volumes to import volume group
"lvm1"
I try vgimport on the three disks :
 
#  vgimport -f -v lvm1 /dev/hde1
vgimport -- locking logical volume manager
vgimport -- checking volume group name
vgimport -- checking volume group "lvm1" existence
vgimport -- trying to read physical volume
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/hde1"
vgimport -- reading data of physical volume "/dev/hde1" from disk
vgimport -- checking for exported physical volume "/dev/hde1"
vgimport -- reallocating memory
vgimport -- checking consistency of physical volume "/dev/hde1"
Segmentation fault

#  vgimport -f -v lvm1 /dev/hdf1
vgimport -- locking logical volume manager
vgimport -- checking volume group name
vgimport -- checking volume group "lvm1" existence
vgimport -- trying to read physical volume
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/hdf1"
vgimport -- reading data of physical volume "/dev/hdf1" from disk
vgimport -- checking for exported physical volume "/dev/hdf1"
vgimport -- reallocating memory
vgimport -- checking consistency of physical volume "/dev/hdf1"
vgimport -- ERROR: wrong number of physical volumes to import volume group
"lvm1"


#  vgimport -f -v lvm1 /dev/hdc1
vgimport -- locking logical volume manager
vgimport -- checking volume group name
vgimport -- checking volume group "lvm1" existence
vgimport -- trying to read physical volume
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/hdc1"
vgimport -- reading data of physical volume "/dev/hdc1" from disk
vgimport -- checking for exported physical volume "/dev/hdc1"
vgimport -- reallocating memory
vgimport -- checking consistency of physical volume "/dev/hdc1"
vgimport -- ERROR: wrong number of physical volumes to import volume group
"lvm1"

Why ERROR? Why coredump ?!


-- 
Igor Dumaire

www.LTUtech.com - Making Sense of Visual Content
------------------------------------------------




More information about the linux-lvm mailing list