VM Destroy Procedure

ucantekme

Member
Jul 18, 2014
1
0
21
Hi people

Is proxmox actively search all the storages and delete all the disk image files named destroyed VM's ID?
I had old image in NFS storage but live one was in the local disk. It was copied ages ago probably for some odd reason.

I destroyed VM, config was saying sata0: local:100/vm-100-disk-0.qcow2 but proxmox also delete nfs:100/vm-100-disk-0.qcow2 too.
Is that a weird behaviour or this is normal?
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
4,573
428
103
31
Vienna
Is that a weird behaviour or this is normal?
that is normal and expected

on pve, all disks with the correct naming scheme (vm-...) on configured storages belong to that vm, and will deleted/migrated/etc. together with the vm
 
  • Like
Reactions: Moayad

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!