XFS
Posted: 2016-01-14 Filed under: system | Tags: noatime, relatime, SSD, trim, XFS, xfs_db, xfs_fsr, xfs_repair 2 CommentsI am using XFS at the moment and I will put here a few filesystem related tools, for my own future use. The Arch Linux wiki has good documentation.
To repair:
umount /dev/sda3 xfs_repair -v /dev/sda3
To check fragmentation:
xfs_db -c frag -r /dev/sda3
To defragment:
xfs_fsr /dev/sda3
XFS is among the recommended filesystems for use with SSD, supporting TRIM. In addition, XFS has had relatime
as the default atime behaviour for a long time.
[…] ended up reformatting the whole SSD and making a clean install of Slackware. I chose XFS without changing the default settings. I may do this after I read some more. The system has been […]
[…] use XFS for my SSD and the partitions are mounted with default settings in /etc/fstab. Instead of using the discard […]