Issue

Samuel Thampy samjiks at hotmail.com
Fri Mar 5 10:04:39 UTC 2021


Is there any additional info anyone who needs?

________________________________
From: Samuel Thampy <samjiks at hotmail.com>
Sent: 03 March 2021 22:11
To: libvirt-users at redhat.com <libvirt-users at 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

May I know the steps are missing something because both are getting corrupted. Thanks for your help.

Regards
Samuel Thampy


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210305/bd8f5c08/attachment.htm>


More information about the libvirt-users mailing list