- Most Recent |
24 hours |
7 days |
30 days |
365 days |
HowFlow —
File system fragmentation is the phenomenon in which free storage becomes divided into many small pieces over time. The result is that, although free storage is available, it is effectively unusable because it is divided into pieces that are too small to satisfy the demands of the application. Learn how to find out if your XFS file system is fragmented and how to defragment it.
Posted by
aroedl 8 months ago
aroedl 8 months ago How to find out if your XFS file system is fragmented
As root enter (/dev/sda1 is an example):
noname ~ # xfs_db -c frag -r /dev/sda1
You can actually run this command while the file system is mounted.
How to defragment an XFS file system
Enter as root:
xfs_fsr /dev/sda1
Please log in or sign up and vote for this trick if it was helpful for you.
Don't forget to subscribe to our
RSS/Atom feed to get the latest tricks.
Don't forget to subscribe to our
RSS/Atom feed to get the latest tricks.








