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

Dietmar Maurer dietmar at proxmox.com
Fri Oct 14 12:02:09 CEST 2011



> -----Original Message-----
> From: Stefan Priebe - Profihost AG [mailto:s.priebe at profihost.ag]
> Sent: Freitag, 14. Oktober 2011 11:58
> To: Dietmar Maurer
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] Disk cloning feature for shared lvm storage
> 
> 
> Am 14.10.2011 11:53, schrieb Dietmar Maurer:
> >> pvesh does have a reverse map i would implement copy also as POST -
> >> then the reverse map gets broken.
> >
> > I already set up the API for you (fully functional, including example) - why do
> you want to change it?
> 
> Sorry i don't get it. You meant i should test using pvesh.
> 
> You've done:
> https://git.proxmox.com/?p=pve-
> storage.git;a=commitdiff;h=883eeea67d3bd7a24dd8f62d2bcf6fb43f079574
> 
> But pvesh doesn't know copy.

Why don't you simply try my example?

# pvesh
# pve:/> cd /nodes/localhost/storage/local/content
# pve:/> create local:103/vm-103-disk-1.raw -target local:103/vm-103-disk-2.raw

The trick is that you call PUSH on the source url - got it?




More information about the pve-devel mailing list