[et-mgmt-tools] [PATCH] Adding the option "--nodiskcopy" for virt-clone

Kazuki Mizushima mizushima.kazuk at jp.fujitsu.com
Mon May 28 11:24:50 UTC 2007


Hi,

I make a patch added "--nodiskcopy" option for virt-clone.

When this option is specified, only changing and defining
a 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 at jp.fujitsu.com>

Thanks,
Kazuki Mizushima
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-clone.nodiskcopy.patch
Type: application/octet-stream
Size: 1293 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070528/74963ac7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CloneManager.nodiskcopy.patch
Type: application/octet-stream
Size: 1147 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070528/74963ac7/attachment-0001.obj>


More information about the et-mgmt-tools mailing list