![]() ![]() ![]() As mentioned above, it’s easier to expand a disk than it is to shrink a disk. Overall, the process is simple from a Proxmox perspective but slightly more complicated on the VM side. This tutorial looked at how to increase VM disk size in Proxmox. After making the changes above, the disk should now be the new size! Conclusion: How to Increase VM Disk Size in Proxmox Run the commands below to delete the partition, set the partition number (3 in my case for /dev/sda3), create a new partition, then write the partition. Find the disk (/dev/sda3 is the disk I am using, but we will only use /dev/sda in the next step) sudo fdisk -lģ. Run the commands below to find the partition you’d like to expand, delete it (yes, it must be deleted using this process), then recreate.ġ. This can be done via the CLI, but the process is a little tougher.īefore proceeding, take a backup of your VM! This process will be entirely different for everyone, so use the information below as a guideline rather than a tutorial! GParted provides a GUI very similar to the Disk Management tool in Windows above but works on Linux. The disk should now be extended and the disk will be utilizing the full storage space! Linux VM Changes – How to Increase VM Disk Size in Proxmoxīefore proceeding, the main point that I want to make is that using GPartedis the easiest way to complete this. Move the disk from Available to Selected, then select Next (confirm all other settings as well).ħ. Select Next to start the Extend Volume Wizard.ĥ. As soon as you see the unallocated space, right-click the C: drive (or the drive you’re looking to extend), and select Extend Volume.Ĥ. After restarting the VM, you’ll see that there is 20GB of unallocated space.ģ. Restart the VM (if it was still running and you don’t see the newly allocated space).Ģ. ![]() After opening Disk Management, you’ll see that the C: drive still only shows 100GB. Windows VM Changes – How to Increase VM Disk Size in ProxmoxĪs an example, you’ll see that the disk size above was increased to 120GB but the VM still only has 100GB available.ġ. While the command above has technically increased the size of the disk, the guest OS that you’re using must also make changes. If you navigate to the hardware tab of the VM again, the disk size should be increased. Using the information above, this is the command that I will be running: qm resize 101 sata0 +20GĤ. Open the Shell, then run the command below substituting the disk name, VM ID and how many GB you’d like to increase this VM disk. Take note of the hard disk name (in the example below, it’s sata0) and the VM ID (101 in the example below).ģ. Open Proxmox, select the VM that you’d like to resize, then select Hardware.Ģ. There are changes that must be made on the VM, so keep that in mind as well.ġ. I will be using a Windows virtual machine, but please keep in mind that the process will be slightly different based on the OS that you’re using. We will look at how to increase VM disk size in Proxmox below. Conclusion: How to Increase VM Disk Size in Proxmox.Linux VM Changes – How to Increase VM Disk Size in Proxmox.Windows VM Changes – How to Increase VM Disk Size in Proxmox.How to Increase VM Disk Size in Proxmox.
0 Comments
Leave a Reply. |