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

Dietmar Maurer dietmar at proxmox.com
Wed Oct 12 17:11:42 CEST 2011


> Sorry i have to ask some questions regardig your dummy:

no problem.
 
> - Why do we name the "source": volume instead of source?

Because I wrote that in about one minute - feel free to change.

> - What is the meaning of these lines:
> 
> # pvesh examples
> # cd /nodes/localhost/storage/local/content
> # pve:/> create local:103/vm-103-disk-1.raw -target local:103/vm-103-disk-
> 2.raw # pve:/> create 103/vm-103-disk-1.raw -target 103/vm-103-disk-3.raw

That was a message for you ;-) It shows examples how you can test the code using pvesh.

> - What has to be checked? Or just if $src_volid and $dst_volid are set?
> # do all parameter checks first

whatever you want to check.
 
> - # then do all short running task (to raise errors befor we go to
> background)
> This should be creating the target right?

Yes.

> Thanks and sorry. Integrating the next idea (i have some ;-) ) will be a lot easier
> for me with your help. So i don't have to bother you.

It is great to see our developer community growing!

- Dietmar




More information about the pve-devel mailing list