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?

link|improve this question

feedback

1 Answer

up vote 7 down vote accepted

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

XFS cannot be shrunk (ref).

link|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
feedback

Your Answer

 
or
required, but never shown

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