# Resize Disk of your HSVE macOS VM

This guide has a video walkthrough, please consider watching the video here: [https://youtu.be/x9CokQvbFYc](https://youtu.be/x9CokQvbFYc)

#### Increasing Disk Size In VM Hardware Section - Proxmox Web UI

In the Hardware tab of your VM, select your disk (e.g., `virtio0`) and click 'Disk Actions' at the top.

Enter the 'amount you want to increase it by', \*not the new total size\*.

Example: If your current disk is '250GB' and you want '500GB total', you must type '250'.

#### Expanding Disk In macOS After Increasing In VM Hardware

Boot into your macOS VM, open 'Terminal', and run:

```bash
diskutil list
```

This will show your disks. Example: `disk0` might be '524.4GB', but the APFS container (`disk3`) is still only '255.8GB'.

<span style="color: rgb(241, 196, 15);">Your disk numbers may be different — double check before running commands!</span>

Repair the Disk Partition Run:

```
diskutil repairDisk disk0
```

  
Type 'y' when prompted.

4Resize the APFS Container Run:

```
diskutil apfs resizeContainer disk3 0
```

  
This expands the APFS volume to use all available space.

Verify TRIM Status Check in 'System Information → SATA/NVMe' if 'TRIM' is enabled.  
If disabled, run:

```
sudo trimforce enable
```

Done! Your macOS VM should now be using the newly expanded disk space.

If you require any support please [contact us](https://hsve.cc/contact)