How to manage disk space and partitions
Updated 7/20/2026
Understanding how your disks are organized helps you add space without surprises.
See disks and partitions
lsblk # tree of disks and partitions
df -h # space used on each
Mount a new disk or volume
After you attach a new volume, format and mount it:
mkfs.ext4 /dev/sdb
mkdir -p /mnt/data
mount /dev/sdb /mnt/data
For automatic mounting, add it to /etc/fstab with its UUID (find it with blkid).
Expand a partition
If your plan received more disk, expand the filesystem to use all the space:
resize2fs /dev/sda1
When you run out of space
- Clean up what you do not need, see disk space monitoring.
- Move cold data to a Backup Box.
- Move to a plan with a bigger disk; with hourly billing, resizing is quick.
Put this guide into practice on your own VPS
EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.
See pricingRelated tutorials
Storage & files
How to encrypt files and backups
Protect sensitive data by encrypting files and backups before storing or transferring them.
Updated 7/20/2026Storage & filesHow to sync files automatically with Syncthing
Syncthing syncs files in real time between servers and devices, encrypted and without an external cloud.
Updated 7/20/2026Storage & filesHow to share files through a web interface with File Browser
File Browser gives you a simple web interface to manage and share files on your server.
Updated 7/20/2026