Linux LVM users
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Questions
Date: Mon, 5 Mar 2007 12:53:23 +0100	[thread overview]
Message-ID: <20070305115323.GA7635@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0703032051050.6632-100000@bmsred.bmsi.com>

On Sat, Mar 03, 2007 at 08:59:38PM -0500, Stuart D. Gathman wrote:
> Which display commands display on-disk metadata, which display 
> lvmtab/lvmtab.d, and which display kernel data structures?  I'd like to 
> know if the metadata is trashed on my original two PVs, or just on
> the new one I tried to add.

Because you're refering to LVM1, you see kernel metadata unless you
provide the -D option to the *display commands.

> 
> Given my situation described previously (where vgextend/me screwed up and 
> kernel data is fine, VG is active, but disk metadata seems to be toast),
> should I run vgcfgrestore on the live VG in the hope that things might 
> boot?  I have Centos-3  /etc/lvmconf backups of metadata (I think) for
> prior to the attempt to vgextend.

Make sure that your /etc/lvmconf backup is alright for your case
by running "vgcfgrestore -ll -f ...".
If so, vgcfgrestore it after initializing the PVs with pvcreate -f.

> 
> What is the equivalent of pvremove (which is what I needed) in LVM1?
> I tried using pvcreate "I'm really really sure", but that seems to have
> screwed up.  If VG metadata is stored at the beginning of a PV, then
> I guess dd might be the answer.

There's no pveremove in LVM1, so dd of 512 bytes of zeroes will do.

> 
> Does the last /etc/lvmconf entry respresent the result of the last 
> command?

/etc/lvmconf contains a backup history including the actual
VG configuration.

> Or is it a backup of things just before the last autobackup
> command?
> 
> 
> -- 
> 	      Stuart D. Gathman <stuart@bmsi.com>
>     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
> "Confutatis maledictis, flammis acribus addictis" - background song for
> a Microsoft sponsored "Where do you want to go from here?" commercial.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2007-03-05 11:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04  1:59 [linux-lvm] Questions Stuart D. Gathman
2007-03-05 11:53 ` Heinz Mauelshagen [this message]
2007-03-05 17:31   ` Stuart D. Gathman
2007-03-05 17:41   ` Stuart D. Gathman
  -- strict thread matches above, loose matches on Subject: below --
2001-11-05 17:08 [linux-lvm] questions Magosanyi Arpad
2001-11-07 19:26 ` Wolfgang Weisselberg
2001-11-08  2:23   ` Heinz J . Mauelshagen
2001-11-11 14:28     ` Wolfgang Weisselberg
2001-02-08 19:55 Ragnar Kjørstad
2001-02-08 21:35 ` Heinz J. Mauelshagen
2001-02-08 22:44 ` Andreas Dilger
2001-02-08 23:30   ` Ragnar Kjørstad
2001-02-09  0:05     ` Andreas Dilger
2001-02-09  8:34       ` Christoph Hellwig
2001-02-09 11:21         ` Heinz J. Mauelshagen

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=20070305115323.GA7635@redhat.com \
    --to=mauelshagen@redhat.com \
    --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