From: Igor Dumaire <Igor.Dumaire@LTUtech.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgcfgrestore error !
Date: Mon Nov 19 06:17:02 2001 [thread overview]
Message-ID: <3BF8F8BF.3FE1491C@LTUtech.com> (raw)
In-Reply-To: 20011119125632.A12388@sistina.com
> you need to figure out, which Physical Volumes (PVs) belong to your VG lvm1
> by running 'vgcfgrestore -ll -n lvm1'. Please check for the PV list at
> the end of the output.
> Then restore the LVM metadata by running 'vgcfgrestore -n lvm1 /dev/hdWhatever`
> on every of those.
# vgcfgrestore -n lvm1 /dev/hde1
vgcfgrestore -- can't restore part of active volume group "lvm1"
vgcfgrestore [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]]
[-n|--name VolumeGroupName] [-h|--help]
[-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose]
[--version] [PhysicalVolumePath]
# vgcfgrestore -n lvm1 /dev/hdf1
vgcfgrestore -- can't restore part of active volume group "lvm1"
vgcfgrestore [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]]
[-n|--name VolumeGroupName] [-h|--help]
[-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose]
[--version] [PhysicalVolumePath]
# vgcfgrestore -n lvm1 /dev/hdc1
vgcfgrestore -- can't restore part of active volume group "lvm1"
vgcfgrestore [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]]
[-n|--name VolumeGroupName] [-h|--help]
[-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose]
[--version] [PhysicalVolumePath]
What's about "PV Status NOT available" in vgcfgrestore -ll -n lvm1
message ?!
--- Volume group ---
VG Name lvm1
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 255
Cur LV 1
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 3
Act PV 3
VG Size 171.79 GB
PE Size 4.00 MB
Total PE 43977
Alloc PE / Size 43776 / 171.00 GB
Free PE / Size 201 / 804.00 MB
VG UUID iwDjRO-WlFd-GZUw-DU20-GP8C-mMwV-MkzCeR
--- Logical volume ---
LV Name /dev/lvm1/Data
VG Name lvm1
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 171.00 GB
Current LE 43776
Allocated LE 43776
Allocation next free
Read ahead sectors 120
Block device 58:0
--- Physical volume ---
PV Name /dev/hde1
VG Name lvm1
PV Size 57.27 GB / NOT usable 8.11 MB [LVM: 181.00 KB]
PV# 1
PV Status NOT available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 4096
Total PE 14659
Free PE 0
Allocated PE 14659
PV UUID kbvz5r-hJlN-WU9Q-7xwj-alJ6-8UfO-jopMFc
--- Physical volume ---
PV Name /dev/hdf1
VG Name lvm1
PV Size 57.27 GB / NOT usable 8.11 MB [LVM: 181.00 KB]
PV# 2
PV Status NOT available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 4096
Total PE 14659
Free PE 0
Allocated PE 14659
PV UUID weQY7t-7II0-7t74-hVI5-Dj8Y-CV0O-8CyGqh
--- Physical volume ---
PV Name /dev/hdc1
VG Name lvm1
PV Size 57.27 GB / NOT usable 8.11 MB [LVM: 181.00 KB]
PV# 3
PV Status available
Allocatable yes
Cur LV 1
PE Size (KByte) 4096
Total PE 14659
Free PE 201
Allocated PE 14458
PV UUID BFvA7F-ccvF-e5r1-3QH7-02JG-dH4r-AOYF64
--
Igor Dumaire
www.LTUtech.com - Making Sense of Visual Content
------------------------------------------------
next prev parent reply other threads:[~2001-11-19 6:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-19 4:57 [linux-lvm] vgcfgrestore error ! Igor Dumaire
2001-11-19 6:02 ` Heinz J . Mauelshagen
2001-11-19 6:12 ` Igor Dumaire
2001-11-19 6:17 ` Igor Dumaire [this message]
2001-11-19 8:23 ` Heinz J . Mauelshagen
2001-11-19 9:21 ` Igor Dumaire
2001-11-20 5:25 ` Heinz J . Mauelshagen
2001-11-20 5:40 ` Igor Dumaire
2001-11-23 7:41 ` Heinz J . Mauelshagen
2001-11-20 12:54 ` Igor Dumaire
2001-11-20 13:24 ` Igor Dumaire
2001-11-20 12:40 ` Sébastien Riccio
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=3BF8F8BF.3FE1491C@LTUtech.com \
--to=igor.dumaire@ltutech.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.