[linux-lvm] problems when moving a volume group to a new system

Ruben Alvarez Timon Ruben.Alvarez at sciops.esa.int
Thu Sep 1 12:31:27 UTC 2005


Hi there,

we are in the process of moving a volume group to a new server. We have
done the unmount/vgchange/vgexport sequence following the LVM_HOWTO but
something must have gone wrong because now when trying to import the
volume group we get:

vgimport -v fibre_vg /dev/sdc /dev/sdd
vgimport -- locking logical volume manager
vgimport -- checking volume group name
vgimport -- checking volume group "fibre_vg" existence
vgimport -- trying to read physical volumes
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/sdc"
vgimport -- reading data of physical volume "/dev/sdc" from disk
vgimport -- checking for exported physical volume "/dev/sdc"
vgimport -- checking consistency of physical volume "/dev/sdc"
vgimport -- ERROR "pv_check_consistency(): PE size" checking physical
volume consistency of "/dev/sdc"
vgimport -- checking for duplicate physical volumes
vgimport -- checking physical volume name "/dev/sdd"
vgimport -- reading data of physical volume "/dev/sdd" from disk
vgimport -- checking for exported physical volume "/dev/sdd"
vgimport -- checking consistency of physical volume "/dev/sdd"
vgimport -- reallocating memory
vgimport -- reading exported volume group data  of "fibre_vg" from disk
(s)
vgimport -- only found 0 of 800 LEs for LV /dev/fibre_vg/clusterware_lv
(0)
vgimport -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" reading
data of volume group "fibre_vg"

The output of pvscan is:

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sdc"  is in EXPORTED VG "fibre_vg" [0 / 0
free]
pvscan -- inactive PV "/dev/sdd"  is in EXPORTED VG "fibre_vg" [1.18
TB / 1.18 TB free]
pvscan -- total: 2 [1.18 TB] / in use: 2 [1.18 TB] / in no VG: 0 [0]

Could anyone please give us a hand with it ?

Thanks a lot in advance,

Ruben






More information about the linux-lvm mailing list