Fun With Software RAID on Windows Server 2008
At my company we just got a server back from the field. It happened to be our backup server for our Houston office. My project is to re-purpose it and configure it as the backup server for our co location facility in Denver Colorado. Easy as pie right? Just slap a fresh install of Windows server 2008 on there and call it a day!
Well it turns out this particular server, which is an HP Proliant DL360 G4 only has two SATA hard drives, and the SATA controller doesn’t support hardware RAID. Damn! Who the hell ordered that? I am a big proponent of NOT sending out a production server without some sort of fault tolerance. I mean, what happens if the hard drive fails out in Denver? Now I have to attempt a remote install of Windows, and reconfigure everything from scratch. No thanks!
So what are my options here? I could order a hardware RAID controller, but that costs money, and we have no budget, or I can configure software RAID through disk management. Guess which one I did?
To create a mirror in Disk management is really easy. All you have to do is the following:
- In Disk manager, in the lower half of the screen, click the square labeled Disk 0.
- Right click on the square and select Convert to dynamic disk
- After it is done converting to dynamic disk, make sure your second hard drive is unformatted, and unallocated.
- Now right click on your system partition on Disk 0 and select Add Mirror, now select Disk 1 as the destination for the mirror.
- Do the same thing with any other partitions you have.
- You will now see that the mirrors are syncing.
Hurray! Now we have some fault tolerance! Sure, write operations will be a little slower, but at least your data is safe.
Now if something happens to Disk 1, not biggie, you can break the mirror, slap a new drive in, and recreate the mirror. So what happens if Disk 0 fails? Here is where the ultimate in ass pain is found for Windows software RAID. You now have to create a floppy boot disk so you can boot to your mirrored drive to break the mirror, install a new Disk 0 and recreate the mirror. Yes, I said Floppy! Don’t worry, I said WTF too!
To make your floppy, do the following. I used an external USB floppy drive for this. If your server has a built in floppy drive, well then yours is older than mine, and your in better shape.
- Format your floppy using the quick option
- Open a command prompt
- Run: MKDIR A:\BOOT
- Run: XCOPY /H c:\bootmgr A:\
- Run: REG SAVE HKLM\BCD00000000 A:\BOOT\BCD
Now if Disk 0 fails, you can boot up with the floppy and select…
Microsoft Windows Server 2008 – Secondary Plex
…and boot up to Disk 1. Now you can break the mirror to Disk 0, replace Disk 0, and recreate the mirror. Awesome! You’re not done yet though. If you reboot, you will still need the boot disk to boot until you fix the boot sector on Disk 0. To do that you can restore the boot sector using a little utility I found called EasyBCD from Neosmart Technologies. They have a boot sector restore. Just point it to A:\boot\BCD and select restore. Bam! Done! Now all is right with the world, and your server is running again!
If any of you have successfully made a boot cd from a 2008 Boot Floppy I am all ears. So far, I have been unsuccessful in making one. I can’t believe that in this day and age we still have to use floppy disks!
Have you had to use any software RAID in your environment? What kind of tools/procedures do you use to recover from a drive failure? Let me know in the comments!
By El Di Pablo of Bauer-Power
| Print article |


about 2 years ago
Great read.
I go a kick out of this line: If your server has a built in floppy drive, well then yours is older than mine, and your in better shape.
I think I would argue that if it’s got a built in floppy drive, they’re probably in worse shape… (The only servers I have that have built in floppy are scary old, and putting Windows Server 2008 on them is not fun (have you ever tried to install it without a DVD drive?) of course, if I’m not mistaken you can do this in Windows server 2003 too)
After reading the part about rebuilding the BCD on disk0, I’m wondering if it’s possible to do the same with disk1 (rebuild the BCD). I would guess that you *might* be able to boot the Windows 2008 DVD (or just about any install media since Vista) then pull up the recovery console, and then rebuild the BCD of disk0 from there.
about 2 years ago
Shout out to H-town.
Haha i liked the floppy line also but forgot that both my machines have floppys.
I have a DL380 G2 (old P3). I had it running in software RAID and never had any problems with it.
I upgraded about 2.5 years ago to a ML370 G4, also has a built in floppy, but its got a RAID controller in it. I use tape to backup and by the way we are on SBS 2003
about 2 years ago
You know what is better than an external Floppy drive? A virtual floppy drive through iLO. The boot floppy over iLO works pretty well too.
-EDP
about 2 years ago
I wonder if you could boot off a usb stick instead of a floppy?
I had to do that on a SLES 11 server this morning, and I used that HP utility to make the stick bootable. Then maybe copy the data from your newly created floppy in 2008 to the usb drive?
I’m curious to see if it would work. I almost put 2008 on that server after the 6th SLES install :)
about 2 years ago
brain: In my experience, booting from a USB key instead of floppy is flaky at best, depending on the applications. sometimes they seem to work, and sometimes they don’t.
On my server, even the PowerEdge 1900/1950 I still order them with either a built in Floppy Drive, or a USB external floppy, specifically because I know that if something happens,or i need to update some particular firmware, I have to use the floppy. Go figure. I also say WTF quite often about that one.
Funny part is, I have a harder time actually finding a floppy disk media than finding me a floppy disk drive!… and when I do find one… dope.. it’s fully of bad sectors… tsk tsk !
about 2 years ago
I have tried this and could not get it to work. If anyone knows how I would love to hear about it!
about 2 years ago
Try this link from amazon $15 for 30 disks. http://www.amazon.com/gp/product/B00009QP2Q?ie=UTF8&tag=asthad-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00009QP2Q”
And ATA will get a whopping .83 on your purchase :)