[virt-tools-list] restoring backup from an LVM Guest OS on KVM Lucid

Justin Clift jclift at redhat.com
Mon Oct 4 06:51:30 UTC 2010


On 10/04/2010 05:41 PM, Tapas Mishra wrote:
<snip>
> lvscan
>    ACTIVE    '/dev/nintendo/lvm1' [100.00 GiB] inherit
>    ACTIVE    '/dev/nintendo/lvm2' [150.00 GiB] inherit
>    ACTIVE    '/dev/nintendo/lvm3' [50.00 GiB] inherit
>    ACTIVE     '/dev/nintendo/lvm4' [100.00 GiB] inherit
<snip>
> So swap and ext4 both do exist in all four lvms above but how  is that done
> manually that is one thing I want to know.

Ahhh, got it.  For that scenario, you should be able to use "standard 
partitioning tools" on the LVM volumes.

For example:

   $ sudo fdisk /dev/nintendo/lvm1

or:

   $ sudo parted /dev/nintendo/lvm2

And that kind of thing.  Inside the guest, it will just have (for
example) /dev/nintendo/lvm1 given to it as a full disk (ie /dev/sda),
and would see the partitions in it you've created.  (ie /dev/sda1,
/dev/sda2)

I *think* that's what you're asking?  Is that right? :)

Regards and best wishes,

Justin Clift




More information about the virt-tools-list mailing list