linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Stefan Lucke <stefan@lucke.in-berlin.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvm1.0.8: vgcfgrestore does not seem to work
Date: Thu, 22 Jun 2006 22:00:26 +0200	[thread overview]
Message-ID: <200606222200.26702.stefan@lucke.in-berlin.de> (raw)

Hi, I know I'm running an old system, but yesterday I got some troubles.
It started with a simple read I/O error on an lvm disk. There are 2 x 300GB
disks in that VG. Next step was that first 8 sectors were zeroed on the first
disk in that VG. pvscan showed only the 2nd of this VG and disks of other
VGs. Doing a: 
./vgcfgrestore -ll -n vg01 -v -f /etc/lvmconf/vg01.conf  /dev/sde
shows expected values for this VG:
vgcfgrestore -- locking logical volume manager
vgcfgrestore -- restoring volume group "vg01" from "/etc/lvmconf/vg01.conf"
vgcfgrestore -- checking existence of "/etc/lvmconf/vg01.conf"
vgcfgrestore -- reading volume group data for "vg01" from "/etc/lvmconf/vg01.conf"
vgcfgrestore -- reading physical volume data for "vg01" from "/etc/lvmconf/vg01.conf"
vgcfgrestore -- reading logical volume data for "vg01" from "/etc/lvmconf/vg01.conf"
vgcfgrestore -- checking volume group consistency of "vg01"
vgcfgrestore -- checking volume group consistency of "vg01"
--- Volume group ---
VG Name               vg01
VG Access             read/write
VG Status             NOT available/resizable
VG #                  1
MAX LV                255
Cur LV                1
Open LV               0
MAX LV Size           1.00 TB
Max PV                255
Cur PV                2
Act PV                2
VG Size               558.78 GB
PE Size               32.00 MB
Total PE              17881
Alloc PE / Size       16356 / 511.12 GB
Free  PE / Size       1525 / 47.66 GB
VG UUID               QOShhy-bTvW-sBL6-z9L8-aEgS-q9rt-Kd8lMw

--- Logical volume ---
LV Name                /dev/vg01/lv02
VG Name                vg01
LV Write Access        read/write
LV Status              NOT available
LV #                   1
# open                 0
LV Size                511.12 GB
Current LE             16356
Allocated LE           16356
Allocation             next free
Read ahead sectors     120
Block device           58:1


--- Physical volume ---
PV Name               /dev/sde
VG Name               vg01
PV Size               279.40 GB / NOT usable 55.67 MB [LVM: 158.00 KB]
PV#                   1
PV Status             available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       32768
Total PE              8939
Free PE               0
Allocated PE          8939
PV UUID               IheqIs-8lN7-GoSh-YTvX-LJdk-gtib-xSH6uY

--- Physical volume ---
PV Name               /dev/sdb
VG Name               vg01
PV Size               279.48 GB / NOT usable 44.82 MB [LVM: 158.00 KB]
PV#                   2
PV Status             available
Allocatable           yes
Cur LV                1
PE Size (KByte)       32768
Total PE              8942
Free PE               1525
Allocated PE          7417
PV UUID               ptD8W7-aPU9-G7kU-TLtw-8g71-orH0-KwzYdm



vgcfgrestore -- unlocking logical volume manager

but a subsequent vgscan only finds my other VG

Hopefully I havn't lost the entire video data :-( .
Really need some advice.

-- 
Stefan Lucke

             reply	other threads:[~2006-06-22 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 20:00 Stefan Lucke [this message]
2006-06-23  4:59 ` [linux-lvm] lvm1.0.8: vgcfgrestore does not seem to work Stefan Lucke

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=200606222200.26702.stefan@lucke.in-berlin.de \
    --to=stefan@lucke.in-berlin.de \
    --cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).