Hello Linux friends,
Looking for some help today. Some dummy who won’t be named undersized the partition for his Debian VM at 32Gb. This was not enough space, as the VM is already out of storage. In Proxmox where the VM is hosted, I’ve already allocated extra space for this VM using Proxmox’s built in GUI tools. The problem is, I’m not sure how to properly extend the partition within the VM itself, using the terminal only, without breaking everything (something I obviously don’t want to do, lol).
I’ve done a bit of searching and people seem to be recommending tools like fdisk and resize2fs, both of which are not installed, and I’m afraid that I don’t have any available space to install them. I’m also a bit of a noob and some of the language for drives and partitioning just flies over my head.
Any tips on:
- Clearing a bit of space on a Debian VM (that’s mostly using Docker, no other programs/files running constantly)
- Resizing root partitions without too much headache
Would be greatly appreciated!
Thanks, and have a beautiful and safe day!


Since you’re using docker, also ensure your containers are set to rotate log files. By default, docker does not enable this, but you can change the defaults. Otherwise you can quickly get gigabytes of logs that eat up space.