PVE 4.4-1 rename VM disks

Dariusz Bilewicz

Active Member
Sep 13, 2018
25
0
41
42
Is there any feature that allows change hard disk names of virtual machines? Unfortunately my fellow created disks on separated storages for few VMs and i can't move them to single storage now because they have same names.

agent: 1
boot: c
bootdisk: ide0
cores: 16
cpu: host
cpuunits: 8192
hotplug: disk,network,usb
ide0: local-thin:vm-114-disk-1,size=50G
ide2: none,media=cdrom
keyboard: pl
memory: 8192
name: server1.xxx.net.pl
net0: virtio=26:75:14:96:BF:13,bridge=vmbr0,tag=66
net1: virtio=52:D5:9D:DB:B4:23,bridge=vmbr0,tag=213
net2: virtio=E2:40:6A:8E:E9:21,bridge=vmbr0,tag=217
numa: 0
onboot: 1
ostype: win8
protection: 1
scsi0: huawei-lvm:vm-114-disk-1,size=100G
scsi1: local-thin:vm-114-disk-2,size=5G
scsi2: huawei-lvm:vm-114-disk-2,size=200G

scsihw: virtio-scsi-pci
smbios1: uuid=74a6b467-617e-461d-8dd9-30d076f1c982
sockets: 1
 
It's been a while since I've done that with LVM. You will need to look closer at renaming LVMs. I would expect you would need to shutdown the VM, rename the LV, change the config file to match, then restart the VM. If you are in a cluster, then you have to run that on the node that owns the VM.
 

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!