[linux-lvm] Partition Recovery in LVM
romeo.theriault at maine.edu
Mon Aug 16 13:02:48 UTC 2010
On Mon, Aug 16, 2010 at 13:45, Andrew Ragone <ajr9166 at rit.edu> wrote:
> I’ve been searching like crazy to find an answer to this question to no avail: when you restore a backup of LVM does the backup contain partition table information as well?
What kind of backup are you taking? Agent Client based or SAN snapshot based?
> I recently recovered an LVM that had a partition inside of it, but it has since been unable to mount. Most recovery utilities such as TestDisk will only find the LVM so I’m unsure of how to proceed and “recover” the partition.
I don't know the exact lvm commands off the top of my head, but first
I think you need to import the VG with something like 'vgimportclone'
and then once the volume group is imported you should be able to see
the partitions that reside in the VG. Not sure but you may need to run
a 'kpartx -a' to get the kernel to see the new partitions that are
available in the VG. Then I think it should be a matter of mounting
the partition in /dev/mapper/<VG>
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Information Technology Services
Em@: romeo at maine.edu
More information about the linux-lvm