VM disk custom name

Mar 28, 2018
3
0
1
36
Hello there,
I've noticed that in Proxmox VE there is no option how to set a custom name to VM disk. I figured out there is way to achieve this but I dont know if it is safe to use.

1) Change disk name label (according to https://pve.proxmox.com/wiki/Storage:_Directory) in vm config file
vm-104-disk-1.qcow2 -> vm-104-custom_name.qcow2
2) Rename disk image

My question is, if this option is usable or not and why it shouldnt be done like that. I dont know if Proxmox or KVM is dependent on default naming.
I'd be grateful for any response. Thank you!
 
if you create a disk with 'pvesm alloc' then the tool gives you hints about how the disks can be named to not interfere with our tools
see 'man pvesm' for details about how to call it