From: Duane Evenson <devenson@shaw.ca>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgcfgrestore -- can't restore part of active volume group "vg01"
Date: Tue May 6 20:12:02 2003 [thread overview]
Message-ID: <3EB85E55.3010202@shaw.ca> (raw)
In-Reply-To: 3EAF28A8.5010107@shaw.ca
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
prev parent reply other threads:[~2003-05-06 20:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-27 13:17 [linux-lvm] vgscan segmentation faults, VG name problems Duane Evenson
2003-04-28 4:03 ` Heinz J . Mauelshagen
2003-04-29 20:34 ` [linux-lvm] vgscan problem (was vgscan segmentation faults, VG name problems) Duane Evenson
2003-04-30 6:11 ` Heinz J . Mauelshagen
2003-04-30 21:12 ` Duane Evenson
2003-05-02 22:29 ` [linux-lvm] vgscan problem Duane Evenson
2003-05-06 20:12 ` Duane Evenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EB85E55.3010202@shaw.ca \
--to=devenson@shaw.ca \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox