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

Daniel P. Berrange berrange at redhat.com
Wed May 30 03:23:37 UTC 2007


On Mon, May 28, 2007 at 08:24:50PM +0900, Kazuki Mizushima wrote:
> 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

Looks good to me, though I think I'd prefer --preserve-data instead of 
--nodiskcopy as a name. 

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list