As-salamu alaykum đ”đž
Have you ever found yourself lacking some space around you? Youâd love to buy that beautiful piece of furniture for your house, but then you think:
âOh dude, how can it fit? I donât have enough space!â
Well, in a similar fashion, thatâs exactly what my OpenMediaVault (OMV) experienced the other day. Sure, it wasnât about furnitureâbut it was me trying to squeeze yet another container into it via the Containers service.
Initially, Iâd created the VM with just enough room for the OSâabout 4GBâwhich turned out to be laughably insufficient for my Calibre stack. At first, I assumed it was some permission shenanigans, but Portainer was pretty eloquent about the error:

Naturally, I double-checked andâŠ

I thought this would be a quick two-click fixâwell, no. Not terribly complicated, but if you find yourself in the same predicament, be prepared to set aside 15 minutes of quality nerd time.
The First Attempt
My first move: hopping into the Proxmox UI to allocate more space to the disk. I gleefully restarted the VM, convinced that some kind of SciFi auto-expanding root partition magic would happen.
Spoiler: it did not.
After booting up, the disks page at least showed that the bigger disk was loaded:

But the main partition hadnât budged a single byte:

The Solution
I had to rummage around the net, piecing together a Frankenstein guide to expand the partition properly. Since it turned out to be pretty straightforward, Iâm sharing it here to save you the scavenger hunt.
Youâre welcome. đ
If youâre determined to go full command-line ninja, this guide isnât for you. Iâm using GParted Live, because lifeâs too short to type endless commands when you donât have to.
Prerequisites
Before you get started, youâll need:
- A working OMV installation (Iâm on OMV 7)
- Some unallocated space on your virtual disk
- The
omv-extras
plugin installed (it adds extra goodness) - The
openmediavault-kernel
plugin installed (this is what lets you boot GParted Live)
To install the kernel plugin:
- Go to System > Plugins
- Search for
kernel
- Install it
- Reboot
Booting into GParted Live
Once youâre ready, head to:
System > Kernel
Install GParted Live, and then hit Reboot to GParted Live.

Follow the boot process via your Proxmox console, or if youâre on bare metal, just connect a monitor and your favorite keyboard. After a couple of moments, youâll see the GParted UI.
Resizing the Partition
Hereâs what I saw:

All looked fineâŠexcept for that pesky swap
partition, sitting smugly in my way. Sure, I couldâve just created a shiny new 16GB partition, but noâthat wasnât what I wanted. I wanted my existing root partition expanded.
So, the plan was:
- Remove the
swap
partition. - Expand the
ext4
partition, making sure to leave 975MB unallocated so I could recreate the swap later.
Once done, commit your changes and reboot into OMV.
All Done
Thatâs it. If you now head to Storage > File Systems, youâll see your available space has grown nicely:

(This screenshot was taken a few days later, so thatâs why you see 9.22GB usedâno mysterious partition curse. đ )
Wrapping Up
I hope this helped you avoid a mini meltdown when your containers outgrow your disk. Let me know how it went for you, andâŠ
Happy building â