Sign in with
Sign up | Sign in
Your question

RAID 5 + SATA + Hot Swap

Last response: in Storage
Share
February 18, 2010 10:02:30 PM

I'm trying to find out what I'd need to do to enable a RAID 5 setup where I really could swap out a disk while the system was still running.

I'm trying to figure out where to start on this. I assume I'll use one of those caddies, so that I don't need to open the case when I want to change a drive. Does the ability to do this depend on the caddy, the controller, both?

I'm not looking for hotswap meaning the ability to mount a completely different disk the way you can with a USB drive. If I set things up correctly, the OS shouldn't even know that anything is happening, or even necessarily that I'm using RAID at all.

I wasn't quite sure what to Google for, so I'm asking here. Thanks!

//This is the motherboard I'm using: http://www.newegg.com/Product/Product.aspx?Item=N82E168...

More about : raid sata hot swap

a c 415 G Storage
February 19, 2010 2:34:02 AM

RAID is not designed to swap storage volumes on the fly. For RAID, "hot swap" means to replace a failed drive with a new, working drive so that the RAID controller can rewrite the redundant data or parity information to protect against the next failure. From the point of view of the OS, it's supposed to look as though the RAID volume was online and working just fine the whole time.

If you want to swap storage volumes (ie, remove the "movies" volume and plug in the "songs" volume), what you want is an external disk in an eSATA or USB-connected enclosure. RAID will not do that for you.
m
0
l
February 19, 2010 7:59:06 PM

That's exactly what I do not want to do. The second part of my post implied that, I thought.

I want to replace a failed drive on the fly so that the array can rebuild.
m
0
l
Related resources
February 19, 2010 10:22:39 PM

Do you have a free PCIe x16 slot?
m
0
l
a c 415 G Storage
February 19, 2010 11:50:24 PM

Part of it depends on the RAID controller - they all have their idiosyncrasies but most of them should automatically rebuild if a different drive is plugged in.

If it's just the "hot swap" part that you're concerned about, then the actual SATA connector is designed for that, so you should be able to do it with any drive. Of course if you have a standard case then you'll have to open up the system while it's running to do that, and that risks disturbing other drives.

If you want something more elegant, you can buy drive caddies and mounts that fit into external 5-1/2" slots in a standard computer case, or you can buy an external tower that's specifically designed to hold hot-swappable drives - the latter is typically a NAS (Network Attached Storage) unit that has it's own processor and RAID controller.

One thing to be very careful about is how your identify which drive is which. If you have several drives in a failed RAID-5 set, the last thing you want to do is to try to pull out the dead drive and get the wrong one.
m
0
l
February 20, 2010 10:54:12 AM

Okay, thanks. I thought about using a NAS, but I'd rather a block device and I sure can't afford real SAN hardware.

Those caddies are just what I'm thinking of. I'd set up a RAID 5 array and if a drive dies, I can just swap it out while the system is still running and rebuild things.

Thanks for the reply :) 
m
0
l
!