[pve-devel] [PATCH] Make qm clone working with devices.

Jasmin J. jasmin at anw.at
Sun Oct 26 13:44:24 CET 2014


> This is not a 'clone',  and nothing I want to add.
And virtual disks are copied to new disks as expected for a clone. Only the
disk device content isn't copied.

Imagine there is a device with 4TB mapped to a guest. There is no possibility
to copy this huge amount of data. When people do disk device mappings, they
know what they are doing, so indeed they know that a copy will reference the
same physical disk.

What would your proposal to clone/copy the device data?

BR
   Jasmin

***************************************************************************

On 2014-10-26 13:30, Dietmar Maurer wrote:
>>> So where do you make a copy of the device data?
>> I do the same like for CDROMs. This line will copy the configuration entry in the
>> conf file. The device data is on the device and remains there (like it does for
>> CDROMs).
> 
> This is not a 'clone',  and nothing I want to add.
> 
> 



More information about the pve-devel mailing list