LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-09-2007, 02:48 PM   #1
stromdal
Member
 
Registered: Jul 2007
Location: Sweden
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
Question HW RAID, fake-HW RAID or SW RAID?


According to some, all HW RAID is superior to SW RAID. Others claim that the RAID support provided by a cheap motherboard such as this ASUS MB is not really true HW RAID and that using Linux SW RAID is superior. Trying to sort this out I found this site, claiming that the RAID control provided by these kinds of motherboards is NOT real HW RAID control, but rather SW RAID provided by the BIOS.

I am about to set up a file server with two disks in a RAID 1 configuration and I am wondering whether I should buy a MB with "HW RAID controller" or whether I am better off using Linux SW RAID. Performance is a non-issue; file integrity, security and long-term recovery is everything. Buying a real RAID controller card is not within my budget. If the fake HW RAID is the better choice, can I get it to work under Linux?

Best regards
Tord Strømdal, Linux Newbie
 
Old 08-09-2007, 03:26 PM   #2
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 106

Rep: Reputation: 28
for this purpose, and based on your criteria of cheap but flexible, I would recommend Linux software raid. It is very easy to manage and recover even if the motherboard you use dies. You can just move the drives to a new system, plug them in and your data will work.

With bios controlled raid, I have occasionally found that unless you can replace the motherboard with the exact same unit, your data may be lost.
 
Old 08-09-2007, 03:30 PM   #3
stromdal
Member
 
Registered: Jul 2007
Location: Sweden
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by roreilly
Linux software raid is very easy to manage and recover even if the motherboard you use dies. You can just move the drives to a new system, plug them in and your data will work.

With bios controlled raid, I have occasionally found that unless you can replace the motherboard with the exact same unit, your data may be lost.
If this is true, there's no competition.
 
Old 08-09-2007, 05:27 PM   #4
TheDirtyScreech
Member
 
Registered: Jul 2007
Distribution: Gentoo, LFS
Posts: 42

Rep: Reputation: 15
Software RAID has the advantage that you can reassemble your RAID array in the case of a hardware failure.

Hardware RAID has the advantage of being able to perform the RAID funtions without using and CPU. CPU usage isn't a very big deal on RAID 0 or 1, but on something with parity information (RAID 4,5,6, etc.), this can be a huge issue. Your software RAID array can and will steal substantial amounts of your CPUs.

I generally prefer hardware RAID to software RAID, but I find a RAID controller is worth the money when you're dealing with servers.

There's a lot of personal preference when choosing software vs. hardware. Usually, the user is just running RAID 0, 1, 10, or 0+1, so CPU usage is minimal in software RAID. Then you need to identify what you feel is more likely to fail: two HDDs (or whatever is one more than your RAID array can tolerate), or your mobo/raid controller. If you run something like RAID 5, you'll almost certainly want hardware RAID if you expect to be using much CPU elsewhere on your system.

That last comment will probably start a flame war. Oh well.

-TheDirtyScreech-
 
Old 08-10-2007, 12:09 AM   #5
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
No flames. But, I tried a network attached RAID storage, that was based on Linux software RAID. It was as slow an molasses. I'm currently in the process of re-building my server, with an old LSI IDE raid card that cost me $70. Yeah, I know IDE RAID 'aint the fastest in the world, but I'm more interested in the redundency than the speed.

Cheers.
 
Old 08-10-2007, 02:54 AM   #6
stromdal
Member
 
Registered: Jul 2007
Location: Sweden
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Thumbs up

Thank you, TheDirtyScreech, for your informative answer. The more I read, the more I am leaning towards SW RAID.

The main purpose of the server is to make sure that my files do not disappear. Recovery from a failure (disk crash or controller malfunction) is by far the most important factor. If a disk crash results in me shutting down the server until I've bought a new HDD, that's OK. But losing the entire RAID array because of a MB failure is not acceptable.

I will "only" be running RAID 1 on the server, and the server will be a dedicated file server with only one other task: domain controller for a small home network. If the RAID operations hog CPU cycles it's something I can live with.

If you'd like to read more about this (future) system (and perhaps help me with more input), please take a look at this post: http://www.linuxquestions.org/questi...d.php?t=575869

Best regards
Tord Strømdal
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10.2 booting problem using fake RAID nemethz SUSE / openSUSE 4 05-21-2007 12:50 AM
Unique Grub Issues (RAID 1 --fake-- involved) TruANTOlogy Ubuntu 1 07-05-2006 03:30 PM
Which motherboard for (fake) SATA RAID? ilhbutshm Linux - Hardware 10 08-10-2005 04:29 AM
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration