vgcfgrestore -- can't restore part of active volume group "vg01"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm getting the above error:
vgcfgrestore -- can't restore part of active volume group "vg01"
I'm trying to restore the volume group as vgscan returns:
# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vg01"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume
group "vg01" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group


What's the problem?


vgcfgrestore -d -n vg01 /dev/hde results in the last few lines being:

<4444> lvm_check_chars -- CALLED with name: "vg01"
<4444> lvm_check_chars -- LEAVING with ret: 0
<333> vg_check_name -- LEAVING with ret: 0
<22> vg_status -- LEAVING with ret: 0
<1> vg_check_active -- LEAVING with ret: 1
vgcfgrestore -- can't restore part of active volume group "vg01"


Here are the results of "vgdisplay -v;pvscan;lvmdiskscan" and "pvdata -PP /dev/hde"


vgdisplay -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hde" is associated to unknown VG "vg01" (run vgscan)
pvscan -- total: 1 [111.79 GB] / in use: 1 [111.79 GB] / in no VG: 0 [0]


lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/hde [ 111.79 GB] USED LVM whole disk
lvmdiskscan -- /dev/hda1 [ 57.25 GB] Primary LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb1 [ 57.25 GB] Primary LINUX native partition [0x83]
lvmdiskscan -- 3 disks
lvmdiskscan -- 1 whole disk
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 2 partitions
lvmdiskscan -- 0 LVM physical volume partitions



--- Physical volume ---
PV Name /dev/hde
VG Name vg01
PV Size 111.79 GB [234441648 secs] / NOT usable 32.19 MB [LVM: 141 KB]
PV# 1
PV Status available
Allocatable NO
Cur LV 0
PE Size (KByte) 32768
Total PE 3576
Free PE 3576
Allocated PE 0
PV UUID XAAlct-wQKl-764B-10Yt-N2UK-o9Ss-5fffgF
pv_dev 0:33
system_id dave1052256028
pv_on_disk.base 0
pv_on_disk.size 1024
vg_on_disk.base 4096
vg_on_disk.size 4096
pv_uuidlist_on_disk.base 8192
pv_uuidlist_on_disk.size 32896
lv_on_disk.base 45056
lv_on_disk.size 84296
pe_on_disk.base 131072
pe_on_disk.size 33619968






_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux