Extend directory


New Member
Aug 31, 2023

I have deployed the PBS server on top of VE, to test it out, before potentially rolling it out in production.

I initially created a 100GB disk for the backup, and then wanted to extend it afterwards with 50GB.
The PBS instance can see the new size, but i cant seem to figure out how to get XFS to extend.



Can you guide me, on how to extend the directory? :)
with `xfs_growfs` you will only increase the size of the filesystem, but first you need to resize the underlying partition. If the data on the partition is important, you could quickly make a backup, just to be on the safe side:
xfsdump -f /path/to/backup.xfs -L MySession -M MyMedia /mount/point
xfsrestore -f /path/to/backup.xfs /mount/point

Then we can resize the partition using fdisk (by deleting and recreating it):
fdisk /dev/sdd

# removes the partition
Command (m for help): d

# create new partition
# Accepting all the defaults is fine. When
# prompted to "remove the signature", select "No"
Command (m for help): n

# write to disk and exit
Command (m for help): w

The filesystem should be resized automatically, if not, execute:
xfs_growfs /mount/point
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!