Increase size of VM disk

Time Required

15 Minutes

Difficulty

Easy

Required Knowledge

Proxmox, machine boot order

Prerequisites

Requirements

  • Administrator access to PVE webUI

  • GParted ISO in your ISO store

Increase size of disk

  1. Log into PVE

  2. Locate the VM and shut it down

  3. Select the hardware tab and select the disk

  4. Click on disk action > resize

  5. Input how many GB's you want to increase it by

Boot into GParted

  1. Add a new CD drive

  2. Select the GParted ISO

  3. Power on the VM, interrupt its boot and select CD drive

  4. Select the default options as GParted starts up

  5. Open the tool on the desktop and you will see something similar to below,

Take note of the order of the partitions. The screenshot on the left shows the SDA next to unallocated. We can increase SDA without any issues

The screenshot on the right shows that there is SDA2 in between SDA1 and the unallocated space. We are assuming we need to increase SDA1, as it is the larger of the partitions and is likely the partition we want to increase.

There is a partition between the partition I am increasing and the unallocated space
  1. Select the partition in between (example photo shows SDA2)

  2. Click on edit and you will see something similar to below

  3. Click the middle of the white block and drag it all the way to the right

  4. Click on resize / move

  5. If you do not get any errors, continue

Increase the partition

  1. Click on edit on the partition you want to increase. You will see something similar to below

  2. Click on the right most arrow and drag it as far right as it will go

  3. Click on resize / move

  4. Click on the green tick and wait

  5. Shutdown the VM

Remove the CD drive

  1. Log into PVE

  2. Locate the VM and click on Hardware

  3. Select the CD drive, then click on remove

  4. Power on the VM

Last updated

Was this helpful?