[linux-lvm] recover a pv from a disk with no partition table

David Brown lvm at davidb.org
Mon May 1 23:55:49 UTC 2006


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




More information about the linux-lvm mailing list