All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Recovering PV's VG metadata
Date: Tue, 20 Mar 2001 03:40:56 -0700 (MST)	[thread overview]
Message-ID: <200103201040.f2KAeuD00732@webber.adilger.int> (raw)
In-Reply-To: <3AB71D83.2000000@inetnow.net> from HopNet at "Mar 20, 2001 06:06:11 pm"

"Hopnet" writes:
> Thanks to Heinz & Andreas for your suggestions.  They are "almost" working.
> :-)  I can activate the VG, but I'm getting "wrong major or minor number"
> from the mount of the lvol, so I'm thinking I have an offset that is not
> correct.

Is this a user message, or a kernel message?  Could you please give the
exact message, so I can find where it is coming from?

> hda showed: (after LILO, which was indeed the problem)
> PV Size               12.14 GB / NOT usable 3.21 MB [LVM: 16.09 MB]
> hdc showed:
> PV Size               12.14 GB / NOT usable 3.24 MB [LVM: 242 KB]
> 
> After I copied the header over, they are the same (as hdc).  Should they
> be the same?  Or do I need to fudge some more numbers in the hda header.

Yes, for the same disks, the PV info should be the same.

> Andreas, this appears to be a v1 header, so no uuid.  This confused the
> heck out of me for a while, until I finally deciphered part of lvm.h.
> Also, pvdata doesn't support -PU on this release.

Yes, I only noticed this after Heinz's post.

> If I can't get the offset fixed, I'll probably try creating the
> "lvrecover" that Andreas suggested.

I would avoid that, since it appears we are almost working.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-03-20 10:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-18 10:52 [linux-lvm] Recovering PV's VG metadata HopNet
2001-03-19  6:33 ` Andreas Dilger
2001-03-19 13:14 ` Heinz J. Mauelshagen
2001-03-20  9:06   ` HopNet
2001-03-20 10:40     ` Andreas Dilger [this message]
2001-03-20 12:25     ` Heinz J. Mauelshagen
2001-03-21  0:46       ` HopNet

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=200103201040.f2KAeuD00732@webber.adilger.int \
    --to=adilger@turbolinux.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.