Recover from VM backup
I dont' know why Proxmox allow to delete hard disk while OS is still running, not the same behavior like in physical machine.
And I suggest to add an extra confirmation step like deleting vm, which need to input the vm id.
I was deleting a hard drive of a running machine.I cannot delete a running machine
I was deleting a hard drive of a running machine.
KEEP THE VM RUNNING AND search the forum, I remember that as long as the VM is still running, the OS does not *really* (yet) delete the file qcow2! Keep the VM alive and find the post about it, there is some sort of trick AFAIR to "resurrect" it.Suffered the same disaster today...I originally wanted to delete the second hard disk of 105, but accidentally deleted the second of 106, which is still running...
I dont' know why Proxmox allow to delete hard disk while OS is still running, not the same behavior like in physical machine.
I found the Protection defaults to No in Options. Shouldn't it be Yes by default?
And I suggest to add an extra confirmation step like deleting vm, which need to input the vm id.
the OS does not *really* (yet) delete the file qcow2!
As already stated: You cannot remove a disk from a running VM, not via the GUI.
Yes, I've used to test ZFS with "hot unplug" event. In "Options" there is a HotPlug setting, maybe disk hotplug should be set to FALSE by default instead of true! If someone is willing to file a feature request... is welcomedWell, you can. I have just checked that using one of my CentOS guests.
Be honest... how often plugging a hard disk from your VM is a good idea against a bad nightmare? Default behavior (and so related default option) is that no one removes disks on running PC/Servers/VM, doing so should be just a nice feature that you can enable if really needed.Well, that's the nature of defaults, isn't it - they never suit everyone. Actually, I am pretty content with the current set. To me, it's basically the same as walking up to my servers in the rack and checking twice, before pulling a drive from any server. The same applies to the "virtual" rack, I suppose.
Well, you can. I have just checked that using one of my CentOS guests. You can detach a device from a running guest, even while the volume is mounted.