linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Romeo Theriault <romeo.theriault@maine.edu>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Partition Recovery in LVM
Date: Mon, 16 Aug 2010 22:02:48 +0900	[thread overview]
Message-ID: <AANLkTikk+_fTX1EhLMyM2hcy0pc0D10DDjSOb_PHS16v@mail.gmail.com> (raw)
In-Reply-To: <0b2501cb3cfd$e7c263e0$b7472ba0$@rit.edu>

On Mon, Aug 16, 2010 at 13:45, Andrew Ragone <ajr9166@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>



>
> -Andrew
>
> _______________________________________________
> 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/



--
Romeo Theriault
System Administrator
Information Technology Services
Ph#: 207-561-3517
Em@: romeo@maine.edu

  parent reply	other threads:[~2010-08-16 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16  4:45 [linux-lvm] Partition Recovery in LVM Andrew Ragone
2010-08-16 13:00 ` Bryn M. Reeves
2010-08-16 13:02 ` Romeo Theriault [this message]
2010-08-16 14:25   ` Bryn M. Reeves

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=AANLkTikk+_fTX1EhLMyM2hcy0pc0D10DDjSOb_PHS16v@mail.gmail.com \
    --to=romeo.theriault@maine.edu \
    --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).