[pve-devel] Why gets "activate_volume" executed on Harddisk edit

Alexandre DERUMIER aderumier at odiso.com
Thu Dec 15 07:38:32 CET 2016


I'm not sure, but I think the size is checked (for the size=... hint)

----- Mail original -----
De: "Jasmin J." <jasmin at anw.at>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 15 Décembre 2016 03:27:33
Objet: [pve-devel] Why gets "activate_volume" executed on Harddisk edit

Hi! 

When you add a HardDisk to a not running VM, it gets simply written to the 
*.conf file. But when you EDIT a HardDisk, someone executes the storage plugin 
function "activate_volume", even if the VM is deactivated. 
Is this a bug or a feature? 
At least the state of the volume is different after creating and editing, 
which is inconsistent in my opinion. 

BR, 
Jasmin 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list