[prev in list] [next in list] [prev in thread] [next in thread]
List: libvirt-users
Subject: Re: Issue
From: Michal Privoznik <mprivozn () redhat ! com>
Date: 2021-03-12 9:15:37
Message-ID: febddef6-60fb-d91c-f9dd-f9f510569de6 () redhat ! com
[Download RAW message or body]
On 3/5/21 11:04 AM, Samuel Thampy wrote:
> Is there any additional info anyone who needs?
>
> ------------------------------------------------------------------------
> *From:* Samuel Thampy <samjiks@hotmail.com>
> *Sent:* 03 March 2021 22:11
> *To:* libvirt-users@redhat.com <libvirt-users@redhat.com>
> *Subject:* Issue
> I have a storage backend san disks, I have five servers which is KVM
> hosted guests.
>
> I am looking to clone an image of a guest machine, so I can use a new VM
> form the image on a different server..
>
> I am not sure what the best way. But when I do that, I get a memory
> error, and need to xfs_repair and damages the original machine.
>
>
> My steps are
>
> One vm machine on the same server
>
> * dd create original vm to template.img
> * lvcreate -L 9G -n <vol-name> <pool>
> * dd template.img to /dev/<pool>/<vol-name>
> * virsh define <vm_name>.xml
>
> another vm machine on the secondary server
>
> * copy template.img to another server
> * lvcreate -L 9G -n <vol-name> <pool>
> * dd if=template.img of=/dev/<pool>/<vol-name>
> * virsh define <vm_name>.xml
>
Nothing suspicious about these steps. So I'm suspecting that either
template.img is corrupt, or it does not fit into LV, or maybe it's in
use? I mean, if template.img is an image that's in use by a running
domain it doesn't necessarily contain valid state.
Michal
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic