Hi Guys,

I have to clone and manage some LVM volume that was created without making filesystem ext4.

In these volume still in use some guest Kvm machines that i tried to clone with virt-clone utility.

The command that i used is: virt-clone --original vmname --name vmname-clone -f /mnt/pathofcloneddisk/myvmdisk.qcow2

When i tried to boot the cloned machine i get this error:

error: internal error: process exited while connecting to monitor:
(process:31100): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
2019-03-19T08:37:21.462102Z qemu-kvm: -drive file=/mnt/pathofcloneddisk/myvmdisk.qcow2,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native: could not open disk image /mnt/pathofcloneddisk/myvmdisk.qcow2: Could not open ‘/mnt/pathofcloneddisk/myvmdisk.qcow2’: Permission denied

My mount point is an nfs share and i have set 777 permission on folder. I would like if is possible to mount or read thi qcow2 disk image or start the vm cause the lvm volume wasn’t formatted with a filesystem…

I appreciate so much any suggestion and maybe what are the best practise to cloning and booting kvm guest machine.

Thank you so much in advance,

Michele.

6 Spice ups

Can you post the output of sestatus and also ls -Z for the path of the original disk and the path of the cloned disk?

2 Spice ups