LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-25-2012, 10:32 AM   #1
Ronayn
Member
 
Registered: Jan 2006
Posts: 55

Rep: Reputation: 0
raid drive setup


Apologies in advance, as I am complete novice on this topic and not sure how to phrase the question.

I have an HP server with several physical hard drives. When the server is powered on, it goes through a raid controller check that allows the option of setting up logical drives (in various configurations).

My question is, if I configure a logical drive as a raid of a few physical disks, do I have to configure them the same way in the OS? Or is a the server level raid completely seperate from an OS level raid?

I am not sure if I am explaining this very well, so I going to give more detail:

The HP server is blank, so normally I go through the raid controller to setup the logical drives. Once that is done, I set the server for PXE boot which pulls my kickstart file that contains the following lines:

Code:
clearpart --all --initlabel
part /boot    --fstype ext3   --size=100                             --ondisk=cciss/c0d0   --asprimary
part swap                     --size=1000   --grow  --maxsize=2000   --ondisk=cciss/c0d0
part /        --fstype ext3   --size=1      --grow                   --ondisk=cciss/c0d0
part /data1   --fstype ext3   --size=1      --grow                   --ondisk=cciss/c0d1
My question is should I be setting these up as a raid in the kickstart file -- or, again, is the server's raid different from an OS raid (if so, I am assuming you only use one of the other -- if not, I am guessing that you have to have them match).
 
Old 05-25-2012, 10:45 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,999

Rep: Reputation: Disabled
The RAID controller presents one or more logical drives to the host OS through the controller driver. The number of logical drives depend on how you've configured your drives, but typically does NOT match the number of actual, physical drives.

If you have four SATA drives configured as a RAID 5 volume, that volume will appear as a single, physical drive in Linux (for instance, /dev/sda). You partition and use /dev/sda as were it a regular disk, and use software from the controller manufacturer to monitor the status of the RAID array and the physical drives in it.

Exception: If the controller is a low-end so-called "fakeRAID" controller (like those used in the ProLiant ML and DL 1xx series), the physical drives may actually be visible as /dev/sda, /dev/sdb etc. You still do not need to configure the RAID setup twice, but you typically use a slightly different kind of driver which attaches to the physical devices and produce the logical RAID device(s). dmraid is one such driver.

Edit: I see you're using the older cciss block device driver. Nothing wrong with that, but your RAID volumes will appear as /dev/cciss/cxdy, with x being the controller number and y the logical RAID volume number.

Last edited by Ser Olmy; 05-25-2012 at 10:52 AM.
 
  


Reply

Tags
configuration, raid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How long does hardware Raid card (raid 1) take to mirror 1 TB drive (500gb used)? abefroman Linux - Server 1 03-23-2011 11:41 AM
Dual drive failure in RAID 5 (also, RAID 1, and LVM) ABL Linux - Server 6 05-27-2009 08:01 PM
RAID-1 setup doesn't boot on second Hard Drive petrasl Slackware - Installation 4 12-22-2008 12:48 PM
RAID Setup, Hard Drive labels change after reboot! jonez Linux - Hardware 1 05-19-2008 10:10 PM
How to setup RAID on existing single drive system? Erik765 Linux - Hardware 1 03-17-2008 03:19 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration