[pve-devel] Copy from snapshot

Alexandre DERUMIER aderumier at odiso.com
Tue Apr 30 13:17:57 CEST 2013


I'll recheck that and send a patch tomorrow. (I'll be busy at work this afternoon)

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 30 Avril 2013 10:57:57 
Objet: RE: Copy from snapshot 

> currently with qemu-img : qcow2,rbd,sheepdog. 
> 
> But nexenta....it's not possible. (could be done with nexenta with cloning the 
> snapshot then "zfs promote", to detach the clone child from the parent) 

Ah, OK. 

But why don't you pass the $running parameter to has_feature()? 

> Maybe future storage backend will have snapshot but not cloning. (glusterfs ?) 
> 
> That's why I have added the has_feature check. 

Ok. Would you mind to assemble a patch for the current code? 


More information about the pve-devel mailing list