Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an xfs filesystem that has some free space. Can I shrink it? I know of xfs_growfs. And there is resize2fs and resize_reiserfs.

Side question: is xfs not a good filesystem choice for bulk longterm file storage?

share|improve this question

1 Answer 1

up vote 14 down vote accepted

You can make a backup, and then create a new smaller file system and restore.

XFS cannot be shrunk (ref).

share|improve this answer
+1 - there were some patches adding support for shrinking a filesystem, but they seem to have stalled now –  James Dec 8 '09 at 9:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.