Howto rename VMID

rcd

Active Member
Jul 12, 2019
245
23
38
62
Yes it has been asked before, a decade ago. Things have moved on, we no longer use OpenVZ. How is it done 2019?

I can rename the devices under /dev/pve and update the config files under /etc/pve/qemu-server, but after a reboot the symlinks under /dev/pve are back to their old values. I suppose LVM may be renaming the symlinks on boot, but they must be getting the values from somewhere.

Where?
 
Yes it has been asked before, a decade ago. Things have moved on, we no longer use OpenVZ. How is it done 2019?

I can rename the devices under /dev/pve and update the config files under /etc/pve/qemu-server, but after a reboot the symlinks under /dev/pve are back to their old values. I suppose LVM may be renaming the symlinks on boot, but they must be getting the values from somewhere.

Where?
Hi,
to change the VMID please perform a backup and restore the backup to a different VMID. This is the easiest way to achieve what you want!
 
  • Like
Reactions: PlOrAdmin

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!