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

Dietmar Maurer dietmar at proxmox.com
Sun Oct 9 09:28:13 CEST 2011


> > 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? 

No, there is no pod documentation there. We auto-generate manual pages
from the JSON-schema used for the API.

also see https://git.proxmox.com/?p=pve-common.git;a=blob;f=README.dev;h=bf7470c24cab8c1dca0b8f87e56ccb9b1146e7d2;hb=HEAD

> Is there a styleguide for
> coding? You don't use perltidy right?

No. Just try to use a 'similar' style.

- Dietmar





More information about the pve-devel mailing list