[PVE-User] Can I delete the hard disk of a running VM??!! Really??!! It can't be!!!

Gilberto Nunes gilberto.nunes32 at gmail.com
Fri Oct 17 12:22:06 CEST 2014


This is not a bug!
This meant that you really need to be careful what you do... Simple like
that...

2014-10-17 5:08 GMT-03:00 <lst_hoe02 at kwsoft.de>:

>
> Zitat von Hector Suarez Planas <hector.suarez at codesa.co.cu>:
>
>
>  Greetings.
>>
>> I'm testing a VM with VyOS and I accidentally delete the hard disk, but
>> ¡¡¡The VM still powered on!!!. I reboot the VM and working on after reboot.
>> Where is the hard disk? Well, the qcow2 file do not exist on
>> /var/lib/vz/imaged/VMID. This thing is using a cached hard disk??!! I
>> thought I went crazy, but not.
>>
>> I power off the VM completely and turn on it again. Aaaaaahhh, disk not
>> found:
>>
>> No bootable device
>>
>> This bug must be fix. When VM is powered on, the hard disk or other
>> device must be locked.
>>
>> If someone malicious comes up to remove hard disks of our powered on
>> virtual machines, we're screwed.
>>
>> :(
>>
>
> If you try this with the Management GUI you will get a warning, if you do
> it as "root" on command line all is lost. That's Unix after all.
>
> Regards
>
> Andreas
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>



-- 
--

Gilberto Ferreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20141017/d4c9e7cd/attachment-0015.html>


More information about the pve-user mailing list