- First, increase the size of the disk in Proxmox.
- The next step is to verify the disk size in Ubuntu, and also check that the OS sees the new expanded part of the disk.
- Run
sudo fdisk -l
to see the information on the available disk blocks: - Run
df -h
to see the size of the filesystem:
- Run
- Run
sudo cfdisk
on the VM.- Select the disk you want to expand and choose “Resize”, then press enter. The maximum size should be pre-selected.
- Select “Write” and enter “yes”:
- And then “Quit”:
- Select the disk you want to expand and choose “Resize”, then press enter. The maximum size should be pre-selected.
- Now that the disk has been expanded, it is time to expand the filesystem. Enter `sudo resize2fs /dev/sda1:
- Done!
/ How to resize an Ubuntu VM on Proxmox
Created
Thu, 28 Aug 2025 21:57:00 +0100
Modified
Thu, 28 Aug 2025 20:17:56 +0000