Hi Guys,<\/p>\n
I have to clone and manage some LVM volume that was created without making filesystem ext4.<\/p>\n
In these volume still in use some guest Kvm machines that i tried to clone with virt-clone utility.<\/p>\n
The command that i used is: virt-clone --original vmname --name vmname-clone -f /mnt/pathofcloneddisk/myvmdisk.qcow2<\/p>\n
When i tried to boot the cloned machine i get this error:<\/p>\n
error: internal error: process exited while connecting to monitor:
\n(process:31100): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
\n2019-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<\/p>\n
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…<\/p>\n
I appreciate so much any suggestion and maybe what are the best practise to cloning and booting kvm guest machine.<\/p>\n
Thank you so much in advance,<\/p>\n
Michele.<\/p>","upvoteCount":6,"answerCount":2,"datePublished":"2019-03-19T07:47:11.000Z","author":{"@type":"Person","name":"michelesalva","url":"https://community.spiceworks.com/u/michelesalva"},"suggestedAnswer":[{"@type":"Answer","text":"
Hi Guys,<\/p>\n
I have to clone and manage some LVM volume that was created without making filesystem ext4.<\/p>\n
In these volume still in use some guest Kvm machines that i tried to clone with virt-clone utility.<\/p>\n
The command that i used is: virt-clone --original vmname --name vmname-clone -f /mnt/pathofcloneddisk/myvmdisk.qcow2<\/p>\n
When i tried to boot the cloned machine i get this error:<\/p>\n
error: internal error: process exited while connecting to monitor:
\n(process:31100): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
\n2019-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<\/p>\n
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…<\/p>\n
I appreciate so much any suggestion and maybe what are the best practise to cloning and booting kvm guest machine.<\/p>\n
Thank you so much in advance,<\/p>\n
Michele.<\/p>","upvoteCount":6,"datePublished":"2019-03-19T07:47:11.000Z","url":"https://community.spiceworks.com/t/cloning-and-restore-raid-lvm-linux-volume-on-centos/702871/1","author":{"@type":"Person","name":"michelesalva","url":"https://community.spiceworks.com/u/michelesalva"}},{"@type":"Answer","text":"
Can you post the output of sestatus<\/strong> and also ls -Z<\/strong> for the path of the original disk and the path of the cloned disk?<\/p>","upvoteCount":2,"datePublished":"2019-03-20T15:25:29.000Z","url":"https://community.spiceworks.com/t/cloning-and-restore-raid-lvm-linux-volume-on-centos/702871/2","author":{"@type":"Person","name":"phillupson2","url":"https://community.spiceworks.com/u/phillupson2"}}]}}