34

I have a couple of SATA hard disks RAIDed for safety in my machine, because I'm worried about the drive having some sort of mechanical failure and losing my data. I'm considering switching to an SSD next year when the prices have come done a bit.

Is it worth using a RAID with SSDs? It seems like the major cause of mehanical failure will have been eliminated by using the SSD, so you're basically trading "Chance of SSD failure" for "chance of cheapo motherboard raid controller failure". I'm not sure if that's worth it.

Opinions?

Colen
  • 507

7 Answers7

19

If you don't mind the cost, then there's nothing stopping you from RAIDing SSDs.

Always go with software RAID if you're not running a server! Software RAID is transferable between machines, and hardware RAID often isn't.

Personally, I wouldn't bother with RAID on the current generation of SSDs. Just get the one, and ensure you have sufficient backups that you don't feel concerned about loss of a drive. With the current price and size of SSDs it will be cheap and easy to back up, and then when they get cheaper and larger in the future (as they invariably will) I'd buy more :)

I'd also suggest looking at the MTBF of SSDs and hard disks, and calculating the chances of a failure (and the types of failure -- they may not be as catastrophic with SSDs, as a single sector breaking may not be a sign that the whole drive is dying as it can be with HDDs) and work out if the SSD has a higher or lower chance of failing than a set of RAIDed hard disks...

Edit : The official server fault blog says that this very site is going with RAID-ed SSDs now : http://blog.serverfault.com/post/our-storage-decision/

9

If you use software raid you remove your "chance of cheapo motherboard raid controller failure". With today's processor speeds, the CPU time required to do the parity calculations is tiny (and you are likely doing this already in the CPU with most half-baked consumer raid chips). When doing some of my own benchmarks I have actually seen software RAID outperform enterprise RAID cards when in write-through mode (I assume your motherboard does not have a battery backed cache to allow you to operate in write-back mode).

So, unless you have something against software raid, I think you lose very little by going with software raid and gain the increased reliability.

8

SSDs can and do fail. I'd say yes RAID them just to be safe.

pQd
  • 30,537
mrdenny
  • 27,212
3

I do not have any direct experience with RAIDing SSDs, but I was talking to a Dell rep last year and asked the same question. He said that the IO time actually increased with the RAID, and he didn't suggest it.

I thought about this for a while. For the most part you want the RAID for just a few reasons: speed, redunancy, and/or space.

On the speed issue, there are no moving parts. On a normal drive moving the head and waiting for the disk to spin around to the correct spot probably takes most of the access time. SSDs just don't have those parts, so it should not be an issue.

On the space issue, a logical volume can handle that and no real need for RAID.

On the redandancy, I don't know. It would be an interesting test to see if you received any benefits. I believe the SSDs have "extra" space in them, so when "blocks" go bad there is a spot to put the data. I have only looked at that section in the most casual manner.

Hope I helped,

pulcher
  • 336
1

If you do not need too high sustained write performance, you could even go with asymmetric raid1 (--write-mostly), with the other mirror residing on a HDD partition. This had very nice performance for us in a read-intensive database application, it should also play nice as a root or usr partition. However, I would not use this setup for swap or anything similarly write-intensive (swap is dangerous for MLC SSDs anyway).

P.Péter
  • 649
1

Is it worth using a RAID with SSDs?

In general: yes. For data redundancy, RAID 1 or greater is the way to go. Now, with SSDs, I'm not sure how this affects their performance but I can't imagine it being too detrimental. I don't have experience with SSDs so I can't speak to it.

It seems like the major cause of mehanical failure will have been eliminated by using the SSD

Logically, yeah. But some people are reporting performance problems with SSDs over time. Basically SSDs are still not 100% mature for the consumer market IMO. I can't wait for the technology to mature but when you have problems like this from Intel, and performance degradation it's only a matter of time until manufacturers work out the kinks an outmatch their lowly "disk"-based hard drives.

.. so you're basically trading "Chance of SSD failure" for "chance of cheapo motherboard raid controller failure".

Good point, but cheapo motherboard raid controllers affect both SSD and HDD so it's really a matter of the hardware RAID.

I'm not sure if that's worth it.

Now we get to the meat of your question. Are SSDs worth the money? For speed, without a doubt I think they're worth it. Unless you want a WD Raptor at 10,000rpm, SSD is so much faster. But you said...

I'm worried about the drive having some sort of mechanical failure and losing my data.

I think it's safe to say, just wait. Wait for at least 12-18 months until the manufacturers mature their product lines, prices come down, capacity increases, etc. etc. There's no harm in waiting in the computer industry. Your emphasis is on data redundancy, not speed. Why risk it? And the disks today are so cheap and offer more capacity, if you absolutely need storage today, get cheaper SATA II HDDs and hardware RAID them. You'll probably spend less money overall and when the time comes for SSD, you'll already have a good RAID controller (assuming you put the money into it).

osij2is
  • 3,895
0

I just RAIDED 2 Kingston V series 64GB SSDs, and I am getting a speed of nearly 500MB/s. I was curious about RAIDING the one 64 Kingston I have been using as my Boot/App drive for the past month, but this is twice as fast in my Mac Pro 2.8GHz, 12GB RAM,early 2008 Model - "Harpertown" Dual Processors (8 cores). I'm one happy camper !!!