Linux LVM users
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lilo wrote to an lvm disk
Date: Wed Apr  2 01:26:01 2003	[thread overview]
Message-ID: <20030402072605.GC27228@percy.comedia.it> (raw)
In-Reply-To: <1049253225.1486.7.camel@jb>

On Tue, Apr 01, 2003 at 09:13:45PM -0600, Justin Bauer wrote:
>Hi,
>
>I was having trouble earlier with lilo, and while configuring it, I
>wrote it to the mbr on a disk I had lvm on.  The only place I found that
>mentioned this problem was in an email to this list in march 2001, over
>two years ago.  It basically said that the lvm disk would be hosed.  Is
>there anyway to get the data off the disk? or repair it?

if you have a recent metadata backup you can try using vgcfgrestore to
put the metadata back on the disk.

other options depend on what was the disk layout:
was it the only disk you had in the volume group?
are there lv sharing more than one pv?
do you recall the LV layout?

>Also, in the future, could I use the mbr if the pv was a partition
>rather than the whole disk?

that would be a good idea.
as much as i hate partition tables i found that just too much code in
linux applications depend on having a partition table, so wasting
512bytes for a partition table entry is easier than fixing everything
that breaks.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2003-04-02  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 21:14 [linux-lvm] lilo wrote to an lvm disk Justin Bauer
2003-04-02  1:26 ` Luca Berra [this message]
2003-04-02 10:33   ` Justin Bauer

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=20030402072605.GC27228@percy.comedia.it \
    --to=bluca@comedia.it \
    --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