LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-23-2011, 07:57 AM   #1
grolendaves
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
RAID 1 SSD drives with TRIM


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!
 
Old 06-01-2011, 08:12 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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.
http://docs.redhat.com/docs/en-US/Re...ssdtuning.html
 
Old 06-05-2011, 08:44 AM   #3
slimg00dy
LQ Newbie
 
Registered: Oct 2009
Posts: 26

Rep: Reputation: 2
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] TRIM on SSD mira.mikes Linux - Kernel 8 01-08-2011 06:36 PM
SSD drives McDivot Linux - Newbie 2 09-28-2010 05:00 PM
[SOLVED] Fedora 13 SSD TRIM Support Potatos Linux - Hardware 6 06-14-2010 03:17 PM
Installing RHEL Enterprise 5.3 on 2 80 GB SSD RAID 0 CelticBlues Red Hat 2 05-03-2009 09:29 PM
SSD TRIM support on Linux Thoreau Linux - Kernel 2 03-25-2009 04:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration