[pve-devel] Disk cloning feature for shared lvm storage

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Oct 10 11:20:57 CEST 2011


Am 09.10.2011 18:39, schrieb Dietmar Maurer:
>>>> What is the way to test the API?
>>>
>>> You can use 'pvesh' for example.
>>
>> Thanks - so pvesm es depricated?
>
> No. 'pvesh' is a very generic tool to explore/test the REAT API. People told me that
> the get/set/create/delete interface is not really obvious for non-developers.
>
> 'pvesm' is the tool for the 'normal' admin ;-)
>
> NOTE: We get both tools more or less 'automatically' out of the JSON schema.

OK so what do you think? Should i implement a copy function - so that 
someone can do with the API:
1.) GET size of orig LVM
2.) CREATE new LVM with ORIG size
3.) copy Data

or we can create a new function which does all of these things.

Stefan



More information about the pve-devel mailing list