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

Filed under system

2 responses to “XFS

  1. Pingback: SSD trouble | slackalaxy

  2. Pingback: SSD trimming as a cron job | slackalaxy

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