LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2009, 05:41 AM   #1
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Rep: Reputation: 15
How to find which raid I am using.


Hi
I have been handed over a few servers(in remote location), and they are running RHEL3 or 4 in them. How do I find if they are using any software / hardware raid of any level ? Also how to find if they are connected to any external storage box.

What is the expected result of cat /proc/mdstat if there is any level of RAID there ?

Also I have a 146 GB internal disk in one of the boxes how to create RAID-5 + LVM on it(Fresh Installation).

Thanks in advance.
 
Old 03-02-2009, 07:45 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
...Why don't you just run the command and see for yourself?! Yes, "cat /proc/mdstat" will tell you about the RAID setup and its current status.

As for hardware RAID, lspci - and look for a RAID controller.
 
Old 03-05-2009, 02:07 PM   #3
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the reply Indienick, here is what I see:

[root@aquarius ~]# cat /proc/mdstat
Personalities :
unused devices: <none>
------------------------------------------
[root@aquarius ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9204 73931098+ 83 Linux
/dev/sda2 9205 9726 4192965 82 Linux swap
------------------------------------------
lspci does not show any RAID Controller.

Thanks

The old maintenance document for the server says - "Original Harddisk size - 146GB , Usable after RAID5 - 73.3GB"
What should I make out of these.
 
Old 03-06-2009, 07:40 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
That is bizarre; however, if nothing informative shows up in /proc/mdstat, chances are the RAID is not running. Try starting it with:
Code:
# service mdadm start
If that doesn't work, are you able to open the case of the server and take a peek to see if there is a hardware RAID controller on-board?
 
Old 06-19-2009, 06:44 AM   #5
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Smile Found the info required.

This thread may be old but I found the answer so thought of putting it here. I found out from the DELL support website and the dell customer service desk that these Dell PE 1750 servers are using PERC - Power Edge Raid Controller which is inbuilt and allows to enable, disable or reconfigure it at the boot up time. Pressing Ctrl + M at the boot uptime takes to the raid configuration screen where you can do all the necessery changes. The dell support guy however informed that we cannot see the status from the OS!!!
 
Old 06-19-2009, 07:37 AM   #6
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Rep: Reputation: 35
I'd have a skim over the logs and look for any boot up raid messages. Then I would look for any mdadm messages in the logs and look for any fatal crashes or things like that.

It might give you all the info you are looking for.
 
Old 10-16-2009, 07:46 AM   #7
neerajmalve
LQ Newbie
 
Registered: Apr 2003
Location: India
Posts: 4

Rep: Reputation: 0
hwconfig
 
  


Reply


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
find raid level lhrt Linux - General 1 06-10-2006 01:03 AM
FC5 install: cannot find HDD, looks for RAID... Barry Bingham Fedora - Installation 4 05-21-2006 07:53 AM
How to find H/W RAID configuration installed sanjeev.naik Linux - Hardware 1 05-01-2005 02:41 AM
Cannot find adaptec-SCSI raid array Manuel-H Linux - Software 1 08-25-2004 06:32 PM
where do i find RAID docs in linux9 samik_ban Linux - Newbie 1 08-18-2003 04:10 AM


All times are GMT -5. The time now is 11:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration