LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-06-2006, 12:29 PM   #1
bujecas
Member
 
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 20
RAID by hardware


Hello,

I am installing a Asus Server that have RAID by hardware. My question is, this is transparent to the operating system (in this case Linux)? Do I need to have in the kernel the RAID support or I don't need it?
 
Old 10-06-2006, 01:45 PM   #2
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
I think most variants of RAID is supported by default by most distributions precompiled kernels.

Some types of RAIF, e.g. Silicon Image 3112 chips are referred to as fake raid. The argument is that it is not true hardware RAID, but software (through the bios). On my ubuntu Linux system I am therefore running with the default ubuntu compiled kernel, but also with the dmraid software.

hope that helps a bit.
 
Old 10-06-2006, 03:04 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
On-board RAID controllers are mostly software RAID. You need dmraid to handle them altough it is better to use Linux software RAID for some flexiblity.

Silicon Image 3112 controllers are crap. Do not use because it is still under beta. Use at your own risk.
 
Old 10-09-2006, 08:28 AM   #4
bujecas
Member
 
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Original Poster
Rep: Reputation: 20
So, my setup of RAID-1 array in the BIOS won't do anything? I still have to do the software RAID in the operating system?
 
Old 10-09-2006, 09:08 AM   #5
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
You can use the dmraid driver as I do, if you have one of the chips supported that way (what hardware do you have by the way?)

I haven't read much about Silicon Image SATA RAID controllers in detail, but I have used my 3112 for 3 years or so now. More than a year of that I have used it in a RAID-0 configuration. I haven't had any problems, but I try to run regular backups of my data, just in case.

I have only just come across Linux software raid. I am for now sticking with my bios/fakeraid setup. One question: Apart from flexibility and possibly stability (neither of which is an issue for me, touch wood), wouldn't running raid through bios still be faster then linux software raid? Presumably running raid through bios would be less work for the main cpu...(?)

In other words, if I am ONLY interested in SPEED, which raid setup is best (linux of fakeraid/bios)?
Obviously true hardware raid would be best. Are those available with Linux support?
 
Old 10-09-2006, 12:15 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
If it's a TRUE Hardware based raid controller all you would probably need is the RAID MANAGEMENT tools provided by the RAID card manufacturer..

but alas you didn't list anything about the type of hardware you are using other than Asus server.... doesn't really tell much.


True hardware RAID is indeed available with Full Linux support see 3Ware for a prime example.. http://www.3ware.com/products/serial_ata9000.asp

Also RAID controllers from many server manufacturers are supported.. i.e. Dell, HP, IBM, etc..
 
Old 10-09-2006, 12:32 PM   #7
bujecas
Member
 
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Original Poster
Rep: Reputation: 20
It's a ASUS Server RS120-E3(PA4) :

4 x SATAII-300 hard disk drive with:
- RAID 0, RAID 1, RAID 10, or software RAID 5 configuration using the Intel Matrix Storage Manager
- RAID 0, RAID 1, or RAID 10 configuration using the LSI Logic Embedded SATA RAID controller

The motherboard CD contains modules of LSI MegaRAID for Red Hat, Suse and Windows. For Debian, nothing...
 
Old 10-09-2006, 04:00 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
nevermind..

Last edited by farslayer; 10-09-2006 at 04:02 PM.
 
Old 10-09-2006, 05:11 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The kernel already supports LSI MegaRAID, so ignore the software on the CD disc.

RAID on the LSI controller should be transparent unless you use the Intel controller which is software RAID.
 
Old 12-01-2006, 07:05 PM   #10
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Rep: Reputation: 30
Quote:
Originally Posted by Electro
The kernel already supports LSI MegaRAID, so ignore the software on the CD disc.

RAID on the LSI controller should be transparent unless you use the Intel controller which is software RAID.
Since everybody seems to know Asus RS120, I have an offtopic question. Using RHEL update 4, how do you know if one of the drives fail under RHEL? There seems to be no beep whatsoever from the RS120 hardware to inform admin of defective or degraded partition, is there any utility under RHEL to do so? And in case you do spot the problem via extra sensory powers, and replace the degraded hard drive while inside OS (RHEL), how would you know the status of rebuilding?

If you do reboot, you will see that it's rebuilding, but in case disk0 is the one that's being rebuilt, how will you go back into operating system?

If in case disk1 is the one that's being rebuilt, will you be able to go back into OS? From what we experienced, this is not the case. It reports of swap partition problem, or swap file problem, and doesn't go in. I thought it was supposed to be Raid 1 mirroring (hardware), how come with Disk0 alone, we can't boot into RHEL?

Thanks, any help will be appreciated.
 
Old 12-02-2006, 11:40 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Go to LSI website go to the downloads section and look up your controller, under misc downloads you will find the following tools for Linux..

megamgr - http://www.lsi.com/files/support/rsa...x_mgr_5.20.txt
megamon - http://www.lsi.com/files/support/rsa...8_MegaMONr.txt
megarc - http://www.lsi.com/files/support/rsa...egarc_1.11.txt

I have no clue if these are packaged somewhere specifically for your distro, but LSI has them avail directly
 
Old 12-02-2006, 07:08 PM   #12
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Rep: Reputation: 30
farslayer, thanks. I'll check them out. I assume these are for monitoring under Linux?
 
  


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
Hardware raid 1 | Fedora 5 | 3Ware raid | boot gomanza Linux - Hardware 4 09-28-2006 11:56 AM
Is it possible to convert from using hardware RAID to software RAID? kindredstar Linux - Hardware 2 12-19-2005 09:13 AM
Hardware RAID PCI Card (Hardware?) MasterC Linux - Hardware 1 03-01-2003 01:19 AM

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

All times are GMT -5. The time now is 01:17 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