linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Marc MERLIN <marc_lvm@merlins.org>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgchange -a y /dev/System fails
Date: Mon Feb 11 13:01:01 2002	[thread overview]
Message-ID: <20020211190120.GQ21505@merlins.org> (raw)
In-Reply-To: <20020201210928.GO8651@merlins.org>

On Fri, Feb 01, 2002 at 01:09:28PM -0800, Marc MERLIN wrote:

I wanted to thank Heinz publically for going beyond the call of duty, and
helping until the problem was fixed.
I thought I'd give a few lines to explain the resolution for the benefit of
other list members and the archives.

> On Thu, Jan 31, 2002 at 12:14:17PM +0100, Heinz J . Mauelshagen wrote:
> > > -> My BigAssLVMRaid VG is gone :-(
> > > 
> > > Did I just lose my data?
> > 
> > If you really tried all your  metadata backups unsuccessfully, I am afraid
> > so  :-(  
> 
> I tried other ones, but every time, I'm getting:
> vgcfgrestore -- VGDA for "BigAssLVMRaid" successfully restored to physical
> volume "/dev/rd/disc0/part7"
> vgcfgrestore -- you may not have an actual backup of restored volume group
> "BigAssLVMRaid"

The reason why vgchange -a -y didn't pick up  my VG is due to a small bug in
vgcfgrestore, which  only restored the  UUIDs of 8 out  of my 9  PVs (quoted
from memory, sorry if I got this slightly wrong).
Either way, the fix it to upgrade to  a newer version of the lvm tools (from
CVS or the next snapshot)

> This VG was working fine before I restored the other one (active and all)

The reason why I tried to restore it in the first place is that any kind of
partition access on that VG would hang the machine.
The problem turned out to be the crappy VM in 2.4.17, and not LVM.

Actually 2.4.14 also had a few  issues fscking the 800G partition, and froze
when  fsck was  going to  write  the changes  to  the partition  (and its  4
snapshots)
It probably would have completed had I deleted the snapshots, but I ended up
going  back to  2.4.7, and  after an  8H fsck,  the partition  was mountable
again.

Again, thanks to Heinz for his invaluable help.

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key

  reply	other threads:[~2002-02-11 13:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25 17:36 [linux-lvm] vgchange -a y /dev/System fails Marc MERLIN
2002-01-28  3:47 ` Heinz J . Mauelshagen
2002-01-29 15:58   ` Marc MERLIN
2002-01-30  6:17     ` Heinz J . Mauelshagen
2002-01-30 21:04       ` Marc MERLIN
2002-01-31  5:19         ` Heinz J . Mauelshagen
2002-02-01 15:10           ` Marc MERLIN
2002-02-11 13:01             ` Marc MERLIN [this message]
2002-01-29 18:25 ` Adrian Head
2002-01-30  6:20   ` Heinz J . Mauelshagen
  -- strict thread matches above, loose matches on Subject: below --
2002-01-29 16:02 Marc MERLIN

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=20020211190120.GQ21505@merlins.org \
    --to=marc_lvm@merlins.org \
    --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;
as well as URLs for NNTP newsgroup(s).