Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am planning to install Ubuntu/Debian on a new SSD and was searching for info when stumbled upon this link:
Quote:
Originally Posted by askubuntu
I would not use ext4 on a solid state drive based on anecdotal evidence and my own experience that suggests ext4 can greatly diminish the lifetime of a SSD due to the number of reads and writes associated with the file system. One article I recently read suggested that unoptimized (accounting for page size, etc.) ext4 on an SSD can cut the disk life in half. After a week of trouble shooting, I've come to the conclusion that my own SSDs have only lasted eight months due to this issue. If you use an SSD, do lots of reading on how to optimize the file system based on things like flash page size which may be different than the typical cylinder size the file system is set up for.
Quote:
Originally Posted by askubuntu
The last time I tested it, and I haven't heard differently yet anywhere, ext4 eats solid-state media. (thumbdrives, solid-state drives, etc.) I don't recommend using it on such a device. Use ext3 instead. For most cases on SSD you won't be able to tell the difference anyway.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491
Rep:
The old problem of too many writes to disk doesn't exist with modern SSD, however it is advisable to use 'noatime' in your /etc/fstab entry, and not put 'swap' onto an SSD, other than that, it doesn't matter which filesystem you choose to use.
Really it doesn't matter I've got ext 4 running on an OCZ Vertex+, it's been on ext4 for two years. Before that it was HFS+ swap has been on the dive in both instances ext4 is not killing drives
Many SSD's have basically all that you need to secure data without a journal. All SSD's will slow down way too soon. It's their dirty little secret that they don't tell us.
Disable journal would be my suggestion. Move swap off to mechanical or don't use swap.
Btrfs is still in development and isn't considered stable for general usage.
JFS is still the most recommended file system for GNU/Linux.
I haven't used JFS filesystem. it was ext2/3 and now ext4 which I have used all along.
I am planning to install Debian Linux into a new SSD. formatting with GPT partition table. with JFS, for any unforeseen reason, power failure occurs, can it be recovered as easily as ext4? with ext4, running a fsck.ext4 -fvy /dev/sdX solves the problem most of the time.
So, Although not enough reasons cited, JFS is unofficially preferred for SSDs in Gnu/Linux?
JFS supports TRIM very well and is a Copy-On-Write file system.
JFS has great data recovery support compared to other file systems. As long as the file system journal writes are kept current regularly, you'll rarely experience data loss.
It's no ZFS, but it's better than BtrFS is currently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.