[pve-devel] Disk cloning feature for shared lvm storage
Dietmar Maurer
dietmar at proxmox.com
Fri Oct 14 12:06:29 CEST 2011
> > 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?
BTW, I know that stuff is quite tricky, so please ask if you do not understand.
The full URI is "/nodes/localhost/storage/local/content/vm-103-disk-1.raw"
and "PUSH /nodes/localhost/storage/local/content/vm-103-disk-1.raw" triggers the copy method.
NOTE: Our framework extracts the volume parameter from the URI
- Dietmar
More information about the pve-devel
mailing list