What filesystem should I choose for an SSD?
8,103
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.
Related videos on Youtube
Author by
Admin
Updated on September 18, 2022Comments
-
Admin over 1 year
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?
-
Admin almost 10 yearsIf 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. -
Admin almost 10 yearsThe Arch Linux wiki has great info on this. Ext4 and XFS both have TRIM support, so they can treat SSDs well. (It's off by default in Ext4, but you can enable it with the
discard
mount flag.) -
Admin almost 10 years@Anko You ought to summarize and put an answer on question goldilocks linked to.
-
Admin over 9 yearsMY ANSWER IS HERE. 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.
-