> >> It seems the storage plugin function "deactivate_volume" will be not > >> executed, when the VM stops by issuing a "poweroff" command. > > That is by design ... > So there is NO interface between the code who already detects this > (eg.: "pvedaemon[6695]: client closed connection") to the storage and this > behaviour is intended?
Yes. > I don't know all the concepts behind Proxmox, but is there really no way to > execute "deactivate_volume" from pvedaemon in that case? pvedaemon does also > execute "activate_volume" and "filesystem_path" so it seems to be the right > tool to implement also this. > > I noticed the problem with the LVM plugin also. The volume keeps activated > after issuing a shutdown from within the VM. In my opinion this should be > fixed. Why? There is no real need to deactivate a volume, unless you move the VM to another node. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel