Automatic resize disk space for different VM

TND

Active Member
May 19, 2019
15
0
41
34
Dear Proxmox,

How can i create a centos 7 template and deploy for multi VM with differrent size ? Like 10gb, 20gb, 30gb.
And new VM will automatic use all available space for root?

Thank you
 
Hi, you could create a template with minimum required disk size and expand your disk after deployment in the Hardware tab (or via `qm resize <vmid> <disk> <size> [OPTIONS]` see `man qm`).
How the additional space is used is up to your VM. You can expand your filesystem or create a new partition... This is something you will have to do from within the VM.
 
  • Like
Reactions: TND

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!