Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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'm looking to setup a system with mirrored SSD drives, i'd like to have TRIM support, and I am finding conflicting information. Some articles say TRIM doesn't work with drives in RAID, some say it will work with a RAID controller but not with drives configured in a RAID set, and others say that it works with RAID but not RAID5 and doesn't go into detail beyond that.
So can I get a mirrored set of SSD's with TRIM support? What chipset? Does anyone have any experience with this? Thanks if you can help!
The RHEL Storage Administration Guide has this warning about using RAID with SSDs:
In addition, keep in mind that MD (software raid) does not support discards. In contrast, the logical volume manager (LVM) and the device-mapper (DM) targets that LVM uses do support discards. The only DM targets that do not support discards are dm-snapshot, dm-crypt, and dm-raid45. Discard support for the dm-mirror was added in Red Hat Enterprise Linux 6.1.
Red Hat also warns that software RAID levels 1, 4, 5, and 6 are not recommended for use on SSDs. During the initialization stage of these RAID levels, some RAID management utilities (such as mdadm) write to all of the blocks on the storage device to ensure that checksums operate properly. This will cause the performance of the SSD to degrade quickly.
I have yet to see TRIM working automatically in any filesystem. If you wanted to use TRIM manually (with wiper.sh & hdparm, which only works on the ocz vertex series) you can, however not with a raid since the script needs a block device not a raid device. So to answer your question, I don't know of any scripts/raid cards/software that can actually use TRIM. I do know that it is possible on some SSD's that aren't raided together.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.