User Tools

Site Tools


sysadmin_misc:xfs

XFS

Inspect fragmentation levels

To see how much fragmentation your file system currently has:

# xfs_db -c frag -r /dev/sda3

Perform defragmentation

To begin defragmentation, use the xfs_fsr(8) command:

# xfs_fsr /dev/sda3

Miscellaneous

* Mounting XFS snapshots : to avoid the error Filesystem has duplicate UUID, mount the snapshot with mount -o nouuid.

sysadmin_misc/xfs.txt · Last modified: 2018/09/25 15:00 (external edit)