[pve-devel] Why gets "activate_volume" executed on Harddisk edit
Dietmar Maurer
dietmar at proxmox.com
Thu Dec 15 09:56:26 CET 2016
> 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.
We activate a volume before we access it. This is simple and consistent.
It makes no real sense to deactivate the volume all the time.
What for?
More information about the pve-devel
mailing list