Solved

How to setup RAID 1... Should i use Hardware or Server 2008

Posted on 2008-10-11
8
3,420 Views
Last Modified: 2010-08-05
I know in the past you should always use a hardware raid. Is the raid better in Server 2008 to do it software... Just looking to do RAID 1 for the OS... Whichever way you advise, please let me know the benefit of that way... thank you very much.

FYI...
This is a server with:
Server board from asus
(2) QUAD CORE XEON 2ghz
(2) 2gb FB-DIMM Ram = 4gb
OS drives are 7200 rpm sata 80gb western digital
0
Comment
Question by:JBergenske
8 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 22695993
If available always use hardware RAID.  It provides better performance and does not rely on the Operating system thus does not use the resources of the OS.  It is usually easier to recover when hardware raid is configured since it does not rely on OS.  Hardware RAID is faster, more reliable, and gives you better options in most cases such as raid migration and/or expension.
0
 
LVL 1

Author Comment

by:JBergenske
ID: 22696002
ok... so typically on a raid 1 through hardware.... if one of the disks gets corupt or dies what happens as far as the system... will it alert in os, would it shut down, etc? This is a Exchange Server with Active Directory... It is a bit of an important system to go down if and when it does...
0
 
LVL 23

Expert Comment

by:Mysidia
ID: 22696012
Software RAID is slow, and hinders server performance.

With the sole exception of ZFS on Sun platforms, or LVM mirror on Linux for secondary storage,  I have never seen a situation where hardware RAID performed acceptably.


I believe it's better in this situation to  use  hard drive cloning tools  to clone the primary drive to the second one,  and use  software to periodically resync the second drive than to use software RAID.

You will have downtime if your primary drive fails;  however,  software RAID is slow, and can expand downtime caused by other reasons.

Software RAID is less reliable than hardware RAID, in that you may wind up with data corruption,  if your operating system crashes.

Whereas hardware RAID provides better integrity of the drives  (provided the controller doesn't go bad),  and better handling of failure conditions;  including the fact many hardware controllers have good support for hot-swapping a failed
drive.
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 22696018
Correction:  never seen a situation where software RAID performed acceptably.

Your write operations will be slow,  since every block write will have to wait until both disks have finished completing the write,  and your OS has to send the commands to both disks, and manage this entire process.

Rather than sending the command once, to the hardware controller; and the hardware controller commits the write very quickly to both disks.

Using software RAID more than doubles the number of I/O commands your OS must send to the disks.

Performance of software RAID while a volume is rebuilding is terrible, and your server may essentially be down the entire time it takes to sync up the replaced hard drive and bring it online.
With supporting hardware RAID, you can install the replacement drive without downtime.

Server performance will not be degraded so much  in fact, it will barely notice a drive has failed with hardware RAID1,   other than that you have vendor-provided monitoring software on your server to notify you,  performance should not  be degraded  during rebuild of the array.

For mission critical servers that need high availability, hardware RAID is a must,  not a luxury item.

0
 
LVL 1

Author Comment

by:JBergenske
ID: 22696126
Okay... I looked at the specs for my Motherboard... Here are the different choices for raid besides for using windows.

LSI Logic Embedded Sata Raid Setup Utility
Intel Matrix Storage Manager Option Rom utility
Global Array Manager

All three of these come with the server... The first two are prior to the loading of windows... Have to use a entry keey during boot like (ctrl + 1) to enter.
Global  Array one looks like it has software that is included on the server setup cd. Is this one still considered software raid, or is this just a gui for it.

Also, using one of the bios type hardware options, how do you know when a drive fails... Will it alert you in windows.
0
 
LVL 1

Author Comment

by:JBergenske
ID: 22696129
Figured i would include link to Asus Info page on Board. (also below is the manual for it)

Asus Product Info Page:
http://www.asus.com/products.aspx?modelmenu=2&model=1544&l1=9&l2=39&l3=299

Manual:
http://dlsvr.asus.com/pub/ASUS/mb/socket771/DSBF-DE/e2880_DSBF-DE_srs.pdf
0
 
LVL 2

Expert Comment

by:hunter44102
ID: 25423098
For RAID5 and RAID6, I would use a hardware solution because its CPU intensive.

However, Windows software raid works great on RAID1 (mirroring) and RAID0(Striping).

Also, the comment that software raid sends more commands than hardware raid is NONSENSE.

Hardware raid -is- software on a chip and works the same in sending commands. The -only- benefit of hardware raid is offloading work to a dedicated CPU.

Software raid is actually easier to recover. You just take the disk to any Windows XP or higher machine that can recognize Dynamic disks.  In hardware raid you need the exact same controller
0
 
LVL 23

Expert Comment

by:Mysidia
ID: 25434782
hunter44102's  comment that  "Hardware raid -is- software on a chip and works the same in sending commands."   is basically nonsense,  and is clearly referring to fakeraid, which is not hardware RAID.

Software RAID5/6 should be avoided, due to serious reliability and performance issues;  Software RAID1  and software RAID 1+0 may be an option (in some
cases),  with the 1+0  option definitely preferred to lower the SW penalty..

In a true hardware RAID solution, hard drives plug directly into the controller, and commands are sent directly to the hard drives;  no additional commands cross the PCI bus:  in software RAID, there are always additional commands crossing the CPU bus,  it's much more than twice as many, actually.

In a software RAID1, over twice as much PCI bandwidth is required,  and over twice as many disk I/O commands cross the PCI bus and are executed by the main CPU.  Also, since the CPU must partcipate,  twice as many CPU interrupts.

CPU speed (Mhz) isn't the only issue,  more interrupts lead to more OS context switching,  and  every architecture has its limits for number of interrupts that can be executed per second;   the cost of context switching is OS-dependent.
UNIX handles this well.   Windows, not so much...
 
Utilizing software RAID (especially with more than 2 disks)  will  impact the interrupt capacity available on your systems.


This is acceptable on workstation type systems, and low-end server setups.
It's even easier to recover a Software RAID setup from a completely failed server, since you aren't reliant on a proprietary RAID controller  to be able to read your disks.

But on mid to high-end mission critical server setups, where you need the reliability and performance, and you have same-day warranty service on your hardware from a Tier 1 vendor such as HP or Sun (and therefore, can easily get warranty replacement within hours), hardware RAID generally provides a much better experience.


   
Modern CPU multi-core CPUs and  BUS architectures on modern servers typically provide a lot more processing power, interrupt capacity, and PCI bus bandwidth than you actually need for server operations,  and  Software RAID's  penalty is minimal, when that is the case.. so unless you plan to use most of the CPU power and Disk I/O capabilities you are equipping your server with, SW RAID should be acceptable from that point of view,  for  the low-end workloads.

In that case, you accept the cost tradeoff, for heavy RAID CPU usage, and much slower disk write performance  (though possibly better READ performance).


You might also choose software RAID for lab machines  and non-critical workstations,  that you   non-mission-critical things you don't need hot swap for.


Because generally, you will require a reboot after swapping a drive in a RAID1 setup  (even if your chassis has hot-swap bays)




0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question