I am going to set up a new Linux system on the SSD drive. Does the filesystem choice make a difference for them? Should I go with the default ext4, maybe try XFS, or does it just not matter?
Asked
Active
Viewed 8,218 times
9
-
1If this is a normal desktop, just use ext4 with `noatime` as a mount option. The top answer to the dupe question has an interesting point about journalling, but I would not bother with this unless it's a busy fileserver or something. Your SSD will probably last quite a few years regardless. – goldilocks Jul 25 '14 at 20:42
-
1The Arch Linux wiki [has great info on this](https://wiki.archlinux.org/index.php/Solid_State_Drives#Choice_of_Filesystem). Ext4 and XFS both have TRIM support, so they can treat SSDs well. (It's [off by default in Ext4](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/ext4.txt#n344), but you can enable it with the `discard` mount flag.) – Anko - inactive in protest Jul 25 '14 at 21:17
-
@Anko You ought to summarize and put an answer on question goldilocks linked to. – derobert Jul 25 '14 at 21:42
-
[**MY ANSWER IS HERE**](https://unix.stackexchange.com/questions/13314/file-system-for-an-ssd-drive/175121#175121). This question ranks highest in searches but since it was marked as duplicate, I've just posted my answer in the 2011 question that had no up to date info. – rsp Dec 20 '14 at 05:59
1 Answers
3
I found an article suggesting ext4 with following configuration in /etc/fstab:
/dev/sda / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1
Here is my source for more information: apcmag.com Good question by the way, I'm planning on installing Linux on a SSD drive too, but didn't think of this before reading your question.