# Increase size of VM disk

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Time Required</td><td>15 Minutes</td></tr><tr><td>Difficulty</td><td>Easy</td></tr><tr><td>Required Knowledge</td><td>Proxmox, machine boot order</td></tr></tbody></table>

## Prerequisites

{% columns %}
{% column %}

#### Requirements

* Administrator access to PVE webUI
* GParted ISO in your ISO store
  {% endcolumn %}

{% column %}

#### Recommended

{% endcolumn %}
{% endcolumns %}

### 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,\
   ![](/files/UY6IL2NTK9LuYQTjVllN)![](/files/BNTVMA7n22f65VO5GbND)

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.

<details>

<summary>There is a partition between the partition I am increasing and the unallocated space</summary>

1. Select the partition in between (example photo shows SDA2)
2. Click on edit and you will see something similar to below\
   ![](/files/fVpA3iEmSU19fhfWFCBv)
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

</details>

### Increase the partition

1. Click on edit on the partition you want to increase. You will see something similar to below\
   ![](/files/aqIR94lKhisfYCYN87JB)
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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.trentbauer.com/guides/other-guides/proxmox/increase-size-of-vm-disk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
