<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT face="Courier New" size=2>Hi all.<BR><BR>> <BR>> Zitat von
Hector Suarez Planas <hector.suarez@codesa.co.cu>:<BR>> <BR>>>
Greetings.<BR>>><BR>>> I'm testing a VM with VyOS and I accidentally
delete the hard disk, <BR>>> but ¡¡¡The VM still powered on!!!. I
reboot the VM and working on <BR>>> after reboot. Where is the hard
disk? Well, the qcow2 file do not <BR>>> exist on
/var/lib/vz/imaged/VMID. This thing is using a cached hard <BR>>>
disk??!! I thought I went crazy, but not.<BR>>><BR>>> I power off
the VM completely and turn on it again. Aaaaaahhh, disk <BR>>> not
found:<BR>>><BR>>> No bootable device<BR>>><BR>>> This
bug must be fix. When VM is powered on, the hard disk or other
<BR>>> device must be locked.<BR>>><BR>>> If someone malicious
comes up to remove hard disks of our powered on <BR>>> virtual
machines, we're screwed.<BR>>><BR>>> :(<BR>> <BR>> If you try
this with the Management GUI you will get a warning, if you <BR>> do it
as "root" on command line all is lost. That's Unix after all.<BR>> <BR>>
Regards<BR>> <BR>> Andreas<BR><BR>Sorry I did not put the main part. I
know this is the natural behavior of Linux. I mean that I deleted the hard disk
of the powered on virtual machine using the Proxmox GUI, which should not be
allowed.<BR><BR>I went to /var/lib/vz/images/VMID directory to make sure if the
image was deleted or not. It was deleted. I was referring to the Proxmox GUI
must have a lock mechanism that does not allow delete the hard disk while the
virtual machine is powered on. Only that.<BR><BR>Wow... You are many, many ...
Hehehehehe.<BR><BR>:D</FONT></DIV>
<DIV> </DIV></BODY></HTML>