Hi, I make a patch added "--nodiskcopy" option for virt-clone. When this option is specified, only changing and defininga XML is done, and read/write copying is not done. When a user wants to use a ready-made snapshot product and so on not a normal copy(read/write) at the time of device copying, I think that this option is effective. It may be faster than
normal copying. A user uses in the following. 1)Take snapshot A user takes snapshot which becomes R/W volumes (e.g. split-mirror way). It depends on a product. 2)Take clone having --nodiskcopy option #virt-clone -o original -n clone -f /dev/snapshot_sysvol -f /dev/snapshot_data1 -f /dev/snapshot_data2 --nodiskcopy Signed-off-by: Kazuki Mizushima <mizushima.kazuk@xxxxxxxxxxxxxx> Thanks, Kazuki Mizushima
Attachment:
virt-clone.nodiskcopy.patch
Description: Binary data
Attachment:
CloneManager.nodiskcopy.patch
Description: Binary data