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

Stefan Priebe s.priebe at profihost.ag
Sat Oct 8 22:50:51 CEST 2011


Am 08.10.2011 21:26, schrieb Dietmar Maurer:
>>> How do you plan to 'clone' a disk? By simply making a copy?
>> I think there are various ways. For example lvm snapshot or just create new lvm
>> and den dd from the other device.
>
> AFAIK lvm snapshot simply do not work on shared storage, so I would
> not consider that an option.

OK then i'll use create new and dd ;-)

>> But this can be changed pretty easy if we have the rest ;-)
>
> The first step would be to implement an API to copy a volume in:
>
> https://git.proxmox.com/?p=pve-storage.git;a=summary
>
> Make yourself familiar with the code first, and feel free to ask more questions here ;-)

OK will clone the git and add the API 1st. I'm writing perl since a long 
time so i think this won't be a problem ;-)

I haven't found any pod documentation in the packages? Is there a 
styleguide for coding? You don't use perltidy right?

Stefan



More information about the pve-devel mailing list