Bobcares

Proxmox Increase VM Disk Size: How to?

by | May 15, 2023

Let us take learn how to do the proxmox increase vm disk size with the support of our Proxmox support services at Bobcares.

How to increase VM disk size in Proxmox?

proxmox increase vm disk size

Below, we’ll look at how to increase VM disk space in Proxmox. We’ll be utilizing a Windows virtual machine here, but the procedure will be slightly different depending on the operating system.

Keep in mind that there are adjustments that must be done to the VM.

  1. In Promox, first, check the VM Disk size using the Proxmox Web Gui. Navigate to Target VM > Hardware > On Harddisk.

    Then, using the CLI Console, log in to the Virtual Machine > See also Disk size > Using the Commands Below:

    df -h

  2. Take note of the hard drive name (in the example below, it is sata0) and the VM ID (101).
  3. Open the Shell, then enter the command below, specifying the disk name, VM ID, and the amount of space we want to add to this VM disk.

    qm resize [VM_ID] [DISK_NAME] +[SIZE_INCREASE]G

    Example: qm resize 101 sata0 +20G

  4. If we return to the VM’s hardware tab, the disk size should be raised.

Windows VM Changes – How to Increase VM Disk Size in Proxmox?

As an example, the disk capacity was raised to 120GB above, but the VM still only has 100GB accessible.

  1. When we open Disk Management, we can see that the C: disk still only has 100GB available. If the VM is still operating and we don’t notice the newly allocated space, restart it.
  2. We can observe that there is 20GB of unallocated space after restarting the VM.
  3. When we see unallocated space, right-click the C: drive (or the disk we want to enlarge) and choose enlarge Volume.
  4. To begin the Extend Volume Wizard, click Next.
  5. Change the disk from Available to Selected, then Next (check all other options).
  6. Choose Finish to complete the proxmox increase vm disk size process.
  7. The disk should now be enlarged, and it should be using its whole storage space!

Linux VM Changes – How to Increase VM Disk Size in Proxmox

Make a backup of the VM before proceeding. Use the instructions below to locate the partition we want to extend, erase it, and then reconstruct it.

  1. Locate the disk. (I’m using /dev/sda3, but we’ll just need /dev/sda in the following step.)

    sudo fdisk -l

  2. After that Run fdisk:

    sudo fdisk [PATH]

  3. To remove the partition, set the partition number (3 in my case for /dev/sda3), create a new partition, and then write the partition, use the instructions listed below.

    d
    [PARTITION_NUMBER]
    default
    default
    n (if there's a signature)
    w

    After making the aforementioned modifications, the disk should now be a new size.

[Need assistance with similar queries? We are here to help]

Conclusion

To sum up we have now seen more on how to proxmox increase vm disk size with the support of our tech team.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.