[PVE-User] VMID clarifying

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Oct 22 15:28:02 CEST 2019


On October 22, 2019 2:43 pm, Gilberto Nunes wrote:
> Folks,
> When you create a VM, it generates an ID, for example 100, 101, 102 ... etc

no. when you create a VM in the GUI, it suggests the first free slot in 
the guest ID range. you can choose whatever you want ;)

> ...
> By removing this VM 101 let's say, and then creating a new one, I noticed
> that it generates this new one with ID 101 again.

only if you don't set another ID.

> But I also realized that it takes the backups I had from the old VM 101 and
> links to this new one, even though it's OSs and everything else. My fear is
> that running a backup routine will overwrite the images I had with that ID.
> It would probably happen if I had not realized.

the solution is to either not delete VMs that are still important (even 
if 'important' just means having the associated backups semi-protected)

> Any way to use sequential ID and not go back in IDs? I do not know if i was
> clear....

or don't use the default VMID suggestion by the GUI. there is no way to 
change that behaviour, since we don't have a record of "IDs that (might) 
have been used at some point in the past"



More information about the pve-user mailing list