linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: David Brown <lvm@davidb.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] recover a pv from a disk with no partition table
Date: Mon, 1 May 2006 16:55:49 -0700	[thread overview]
Message-ID: <20060501235549.GA29617@old.davidb.org> (raw)
In-Reply-To: <1146527256.31003.63.camel@pc.local>

On Mon, May 01, 2006 at 07:47:36PM -0400, Brian J. Murrell wrote:
> I need to recover a PV from a disk with no partition table.  I have a
> disk which gives EIO errors trying to read from the first few blocks of,
> so, no partition table.
> 
> Is there any way with LVM2, given that I have
> the /etc/lvm/backup/<vgname> file that I can determine the offset into
> the disk where the partition starts, so that I could do:

The backup files don't list physical offsets.  You'll have to figure that
out yourself.  But, you can see the id's for the partitions, and the lvm
header is at offset 0x200 into the partition.

Dave

  reply	other threads:[~2006-05-01 23:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 23:47 [linux-lvm] recover a pv from a disk with no partition table Brian J. Murrell
2006-05-01 23:55 ` David Brown [this message]
2006-05-02  0:20   ` Brian J. Murrell

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=20060501235549.GA29617@old.davidb.org \
    --to=lvm@davidb.org \
    --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;
as well as URLs for NNTP newsgroup(s).