From: Brad Corsello <bcorsello@usa.net>
To: linux-lvm@sistina.com, lvm-bugs@sistina.com
Subject: [linux-lvm] Possible bug in vgcfgrestore?
Date: Sun, 07 Jan 2001 14:53:31 -0500 [thread overview]
Message-ID: <014b64953190711NYCSMTP1@nyc.rr.com> (raw)
I am trying to restore the config of a volume group with two physical volumes.
I ran vgcfgrestore against each of the two PVs, which reported back that the
VG had been restored successfully. However, when I run a vgscan, it reports
back that there are no volume groups. Looking at the debug output of vgscan,
it appears that the uuid-list on each of the PVs has only one uuid in it, and
not two (as I think there should be?). Specifically, the uuid-list on each PV
contains its own uuid, and not the uuid of the other PV. (I verified that
fact by examining the first 10k of each of the PVs, and it's true -- after the
restore, each PV has only its own uuid in the uuid-list.)
Thus, vg_check_exist blows up with the following error:
<22> vg_check_exist -- before vg->pv_cur check with vg->pv_cur: 2 pv_count: 1
<22> vg_check_exist -- LEAVING with ret: -347 [LVM_EVG_CHECK_EXIST_PV_COUNT]
The debug outputs are too voluminous to post to the list, so I'll just post
links to the relevant files:
Output of vgscan -d -> http://home.nyc.rr.com/bcorsello/lvm/vgscandebug
Output of vgcfgrestore -d ->
http://home.nyc.rr.com/bcorsello/lvm/lvmrestoredebug
Output of vgcfgrestore -ll -> http://home.nyc.rr.com/bcorsello/lvm/vgconfig
First 10k of /dev/hdb1 -> http://home.nyc.rr.com/bcorsello/lvm/hdb1
First 10k of /dev/hdb2 -> http://home.nyc.rr.com/bcorsello/lvm/hdb2
Is there any way I can restore the VG config successfully? Any help would be
appreciated.
(BTW, the patch I applied to lvm.c is the one Jan posted to fix the kernel
oops on vgextend. But the vgconfig file I'm trying to restore is from before
I vgextended with the patched module, so I think it's not relevant to the
present problem.)
next reply other threads:[~2001-01-07 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-07 19:53 Brad Corsello [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-07 19:53 [linux-lvm] Possible bug in vgcfgrestore? Brad Corsello
2001-01-07 19:53 Brad Corsello
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=014b64953190711NYCSMTP1@nyc.rr.com \
--to=bcorsello@usa.net \
--cc=linux-lvm@sistina.com \
--cc=lvm-bugs@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.