From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: "Sean C. McCord" <lvm@lifelabs.net>
Cc: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>, linux-lvm@sistina.com
Subject: Re: [linux-lvm] VG has wrong num of PV's; won't vgscan
Date: Wed Feb 13 15:43:01 2002 [thread overview]
Message-ID: <20020213224147.B10678@sistina.com> (raw)
In-Reply-To: <Pine.LNX.4.33L0.0202131103290.15752-100000@fcofer2>; from lvm@lifelabs.net on Wed, Feb 13, 2002 at 11:04:32AM -0500
On Wed, Feb 13, 2002 at 11:04:32AM -0500, Sean C. McCord wrote:
> Thanks greatly! That worked beautifully.
>
You're welcome.
> Let this me a lesson to me (again).... backup, backup, backup.
>
Should go for a backup here now ;-)
Regards,
Heinz -- The LVM Guy --
>
> On Sun, 10 Feb 2002, Heinz J . Mauelshagen wrote:
>
> >
> > Sean,
> >
> > I have attached a quick hack perl script to fix your VGDA on
> > /dev/ide/host0/bus1/target0/lun0/part1.
> >
> > Please recognize that it *just* solves the very purpose of getting your
> > VG with the single PV on /dev/ide/host0/bus1/target0/lun0/part1 back!
> >
> > Save your metadata before you run it by
> >
> > dd if=/dev/ide/host0/bus1/target0/lun0/part1 bs=1k count=1024 of=vgda.sav
> >
> > in order to be able to redi from start in case something goes badly wrong.
> >
> > Regards,
> > Heinz -- The LVM Guy --
> >
> >
> > On Sat, Feb 09, 2002 at 04:28:14PM -0500, Sean C. McCord wrote:
> > > I was attempting to add another PV to my VG 'mccord', and vgextend
> > > segfaulted in the middle. After I rebooted (the kernel dumped its LVM
> > > core), there was no volume group found by vgscan.
> > >
> > > I have seen similar posts in the archives, but most of them reference a
> > > bug that was supposedly fixed before LVM 1.0, so this must not be it.
> > >
> > > Anyway, pvdisplay on /dev/ide/host0/bus1/target0/lun0/part1 says
> > > everythings's great, and that it is PV #1 of VG mccord.
> > >
> > > pvdata says VG mccord has two PVs and that both are active. The other PV,
> > > though, is completely trashed. pvdata also says that the LV seems to be
> > > fine.
> > >
> > > I have no backup of the vgdata that I can find (they are stored on the
> > > first PV...), so I can't do what many of the other people did to get their
> > > VGs back.
> > >
> > > Is there any way to change the VG info back to having only one PV, and if
> > > so, will that get vgscan to find the VG again? If you need the debug
> > > info, I can provide it.
> > >
> > > My system is using LVM 1.0.1-rc4, devfs, Reiserfs, and I have my root file
> > > system on that VG.
> > >
> > > Thanks for any assistance anyone can offer,
> > >
> > > Sean C. McCord
> > >
> > >
> > >
> > > _______________________________________________
> > > linux-lvm mailing list
> > > linux-lvm@sistina.com
> > > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
> > *** Software bugs are stupid.
> > Nevertheless it needs not so stupid people to solve them ***
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2002-02-13 15:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 15:28 [linux-lvm] VG has wrong num of PV's; won't vgscan Sean C. McCord
2002-02-10 12:37 ` Heinz J . Mauelshagen
2002-02-13 10:04 ` Sean C. McCord
2002-02-13 15:43 ` Heinz J . Mauelshagen [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=20020213224147.B10678@sistina.com \
--to=mauelshagen@sistina.com \
--cc=linux-lvm@sistina.com \
--cc=lvm@lifelabs.net \
/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).