[pve-devel] renaming of disks at cloning VM (patch)

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Jul 22 08:23:45 CEST 2016


On Thu, Jul 21, 2016 at 08:26:16PM +0800, pve at spichka.info wrote:
> Hello!
> 
> Testing:
> qemu-server: 4.0-85
> 
> Problem:
> #qm clone 106 117 -storage local -full
> create full clone of drive ide1 (iso:106/vm-106-disk-1.qcow2)
> Formatting '/var/lib/vz/images/117/vm-117-disk-2.qcow2', fmt=qcow2 size=1073664 encryption=off cluster_size=65536 preallocation=metadata lazy_refcounts=off refcount_bits=16
> transferred: 0 bytes remaining: 1073664 bytes total: 1073664 bytes progression: 0.00 %
> transferred: 1073664 bytes remaining: 0 bytes total: 1073664 bytes progression: 100.00 %
> transferred: 1073664 bytes remaining: 0 bytes total: 1073664 bytes progression: 100.00 %
> 
> 
> was:disk-1 -> became:disk-2
> 
> I use VM with an identical configuration. There is a wish 
> to have identical names of disks.
> 

Hello!

Could you elaborate on the use case for this? Do you actually need this
behaviour, or is just a "wish"? In your example, you are cloning between
different storages so that configuration is already different anyway..

I'd be a bit wary of adding another parameter just for cosmetic reasons
and don't (yet) see other ones ;)




More information about the pve-devel mailing list