Will Raid 1 allow an os to continue normally after hard drive failure?

xoiio

Honorable
Nov 18, 2012
119
0
10,690
Hello all, so I had a bit of an issue with my blade server, which made me realize the setup I have is not ideal for redundancy. (two 146gb hard drives in raid 0 for the os, four 300gb hard drives in raid 0 for storage)

Now, I am still on the shelf about keeping the four 300gb drives in a raid, it's much more convenient for use as NAS, but of course if one drive fails I lose it all. It saves the hassle of splitting up folders with lots of files/sub folders, but anyways, that's a side point.

The battery for my raid controller died, causing my server to be dead in the water, I ignored it for a long time and finally the battery was around half a volt, instead of 3 volts, stopping me from being able to boot up at all.

I have a TS server and some others with configuration data I do not want to lose, so now that it's back up and running (as well as some issues with windows update, and it's just time to refresh the OS, this thing has been running non stop with few reboots for a long time, and the os install itself is pretty old), I plan on copying this critical data, splitting up the raid, and installing the OS again, with a smaller amount of space, which won't be an issue as I am not using up that much as it is.

My question is, if I set the hard drives up in raid 1, so that I do not have to deal with scheduling windows backup, or risking it being interrupted with a power outage, does this offer instant redundancy?

If a hard drive fails the computer will lock up/crash, obviously, but, if I then remove the damaged drive while waiting for a replacement, or in the case one can not be found, when I reboot will windows be able to run from the redundant drive without issue?

I have a feeling that is the intent, however I am not sure if that is the case. If it helps I am running Windows Server 2008 R2 on an HP Proliant DL380 G4


Side note: I'm also curious if there are any systems that allow a single server to be self redundant, which I suppose would essentially mean running the operating system twice, so that if a hard drive failed, it would continue running with minimal error, or if this would be too much of a shock for the server, and it would just be simpler to have two servers mirrored to eachother to serve this purpose. It would be interesting, although I'm sure any company with the need for that type of redundancy would have the budget for multiple servers.
 
Solution
in my experience, (windows SBS 2000, and hardware RAID-1) yes, instantly the system will revert to the working drive and give you a warning that one of the drives has failed. this is the main reason for using raid-1. this assumes the OS is on the RAID-1 array.

Raid-1 the system sees one hard drive (actually the controller reports as one drive), but the data is instantly read on both, and written on both, if one were to fail windows would still see the working drive as the drive it has been working with and continue until the drive is replaced and the array rebuilt.
in my experience, (windows SBS 2000, and hardware RAID-1) yes, instantly the system will revert to the working drive and give you a warning that one of the drives has failed. this is the main reason for using raid-1. this assumes the OS is on the RAID-1 array.

Raid-1 the system sees one hard drive (actually the controller reports as one drive), but the data is instantly read on both, and written on both, if one were to fail windows would still see the working drive as the drive it has been working with and continue until the drive is replaced and the array rebuilt.
 
Solution
Alright, excellent, I was worried the system would not start and wait for a replacement to rebuild the raid before continuing normally.

Also, very cool, I figured that the controller only wrote the data to both drives, but only one was technically used to run, not both at once allowing one to fail and the machine to keep running, that's even better than I expected.
 


it is easy enough to test. build an array, install OS, boot to array, unplug the power to one of the drives (while they are IDLE <=cannot stress that enough, IDLE) then continue about your way. power down and plug in the drive.
I would try this first before installing all your stuff. My experience is with a hardware RAID card, I'm not sure how good the onboard controllers are but RAID-1 is RAID-1.
Don't trust it till you test it.
 
True, I figured I would just ask in the meantime while files finish copying and I image the system onto the storage raid. This server has hot swap bays at the front so it's easy enough to take one out while it runs. If I had some spares I'd just pop one in every now and then to image it over, and then swap it for an extra one to get more storage space, but these hard drives are expensive.

I think the raid in this technically is a card, there's a smaller car which had the raid array controller batter plugged in, it has a dedicated slot underneath the pci riser module, so it's probably pretty robust. It is made for this sort of thing after all, and did recover fine after not having a battery plugged into the module for a couple weeks.
 
Alright, so it seems that the server only supports raid 1+0, I would guess that this mirrors the first two drives, and if I had others in the raid, it would stripe them to that one? I am only using the two 146gb drives, so I'm wondering if it will work the same as we discussed.

Edit: Ah, apparently for HP computers/servers, this is correct.
 
They are seagate cheetah scsi drives (can't get the model right now as they are running)

The server is an hp proliant dl380 g4, with the option for 6 full sized drives (the 8 smaller ones would have been much nicer but this is what i got lol)/

The raid array setup only had options for raid 0, 1+0 and 5
 
Actually, what I was looking at was the write cache apparently, the raid controller in built onto the mainboard after all, is says software raid but I'm not sure if that means it's handled by the bios,(which while firmware i guess might technically count as software in some cases?) there's no raid control in the OS from what I've seen, and it only views the logical drives.

http://www8.hp.com/h20195/v2/GetPDF.aspx/c04285980.pdf
 
http://www.howtogeek.com/howto/36504/how-to-create-a-software-raid-array-in-windows-7/

software raid uses windows as the controller, you set up the volumes as redundant and windows treats them as twins. you cannot boot to the raid volume.
 
Yeah, as I thought, I've never touched that sort of thing inside the OS, it's done through bios before startup (just after the drives initialize)

No luck finding the specific model of my server, hp's site doesn't bring up anything with the serial number.

It's USX5100B7

PID 370596-001