Recreating the /etc/pve/qemu-server/*.conf files manually - disk size questions

penfold07

New Member
May 26, 2023
4
0
1
So, we had a boot drive failure in our new server we are getting into commission and I hadn't yet setup a backup of the /etc/pve/qemu-server directory.
I have to create the .conf files manually. I was able to get all the storage for vm's and vm backups on line relatively easily.
I was following Patrick @Serve the home's method shown here:
https://www.servethehome.com/9-step-calm-and-easy-proxmox-ve-boot-drive-failure-recovery/2/

The thing is that the disk size shown in the vm datastore for the previous vm is an odd size - like 218GB. I've never created a 218GB disk.
Would it be ok for me to add the disk in the conf file at 220GB? i.e. round up? I think the critical thing here would be that the disk is not smaller in any way than the previous vm.
Advice please.
 
Last edited:
you don't see to add disk size in vm configuration. It's just an hint to display the size in the gui.

(you can use "qm rescan" if your want to rescan disk sizes and put them in your vm configuration)
So what I currently do is see the vm disks in the summary of the datastore and add that size to the config rounded up. Thanks for the rescan though!