#745873 virt-clone onto LVM logical volume gives: ERROR Clone onto existing storage volume is not supported #745873
- Package:
- virtinst
- Source:
- virt-manager
- Submitter:
- Mark Abrahams
- Date:
- 2015-01-24 01:45:05 UTC
- Severity:
- wishlist
When I create an LVM logical volume and use virt-clone to clone an existing LV to the new LV, I get this error: virt-clone --original source-vm --name dest-vm --file=/dev/vg1/dest-vm-lv ERROR Clone onto existing storage volume is not supported: '/dev/vg1/dest-vm-lv' The LV was created with: lvcreate -L 50G -n dest-vm-lv vg1 Regards Mark Abrahams
severity 745873 wishlist thanks Yeah but as far as I know the target needs to be created by virt-clone. Cheers, -- Guido
Hi Guido Thanks for your reply. I'm not sure that there is a way to create LV targets with virt-clone? Regards, Mark.
I don't think so it'd be fine to convert this into a wishlist bug asking to support that. We could extend --force to do just that. Cheers, -- Guido
this is in fact a regression as it worked in squeeze but stopped working in wheezy. To be precise at least the combination with --preserve-data worked and allowed to easily clone temporary throwaway virtual machines via lvm snapshots. greetings, jens