[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] recovery of virtual machine

On 02/09/2011 01:04 PM, Tapas Mishra wrote:
> On Wed, Feb 9, 2011 at 11:08 PM, Cole Robinson <crobinso redhat com> wrote:
>> On 02/09/2011 08:16 AM, Tapas Mishra wrote:
>>> I want to know if for some reason the host OS has crashed and I need
>>> to restore in such a situations how do I recover the Virtual Machines.
>>> All these VMs are on separate LVM partition on same hard disk.
>> If you still have the disk image, all you'd really need to do is recreate the
>> VM configuration using a tool like virt-install or virt-manager. For example
>> virt-install --import --disk /path/to/original/disk/image <options>
>> - Cole
> All those are LVM images so in this situation what do I need to do let me know.
> I have the backup of xml files.

Hmm, maybe I'm not clear on what you are asking. If you are trying to recreate
your virtual machines, and you have the LVM volumes in place, just do

virsh define <xmlfile>

If you mean that you're host crashed while your guests were running, there
isn't much you can do except try to restart your VMs and see what happens.

- Cole

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]