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!
 

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!