XFS

I 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.


2 Comments on “XFS”

  1. […] 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 […]

  2. […] use XFS for my SSD and the partitions are mounted with default settings in /etc/fstab. Instead of using the discard […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s