LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-13-2016, 07:07 AM   #1
rames_tv
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Rep: Reputation: Disabled
how to know server configured with hard raid or software raid in linux server


how to know server configured with hard raid or software raid
 
Old 06-13-2016, 07:30 AM   #2
dab1414
Member
 
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 70

Rep: Reputation: 50
Several ways to detect software raid, here is some
Code:
cat /proc/mdstat
Code:
fdisk -l
Code:
cat /proc/partitions
If it is hardware raid, then I am sure that it will just show up as regular drive to the OS.
 
1 members found this post helpful.
Old 06-13-2016, 08:30 AM   #3
BryanWalters
LQ Newbie
 
Registered: Dec 2015
Posts: 11
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by dab1414 View Post
Several ways to detect software raid, here is some
Code:
cat /proc/mdstat
Code:
fdisk -l
Code:
cat /proc/partitions
If it is hardware raid, then I am sure that it will just show up as regular drive to the OS.
Thanks for sharing. It worked for me.
 
Old 06-13-2016, 08:38 AM   #4
rames_tv
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks for the reply
 
Old 06-13-2016, 10:13 PM   #5
rames_tv
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
i am asking how to know whether the server is configured with software raid or hardware raid
is there any command to know software or hardware raid
i know for software raid
i want to know which raid is configured
 
Old 06-13-2016, 11:20 PM   #6
dab1414
Member
 
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 70

Rep: Reputation: 50
Quote:
Originally Posted by rames_tv View Post
i am asking how to know whether the server is configured with software raid or hardware raid
is there any command to know software or hardware raid
i know for software raid
i want to know which raid is configured
There is no magic command to see which one is configured. You have to do some research. If you read my first post

"If it is hardware raid, then I am sure that it will just show up as regular drive to the OS."

After a bit of reading on google about hardware raid, it appears that if hardware raid is set up correctly, then it will just show up as a regular drive would, be it bios "fakeraid", pci hardware raid, or external raid.

You will have to know what hardware you have that is capable of raid. But you can check your bios (dmraid might be of use there). Also can use lspci or lshw for card controllers

Code:
lspci | grep -i raid
 
Old 06-14-2016, 02:45 AM   #7
rames_tv
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks and sorry to ask again
 
Old 06-14-2016, 05:05 AM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,347

Rep: Reputation: 227Reputation: 227Reputation: 227
Cool

Quote:
Originally Posted by rames_tv View Post
how to know server configured with hard raid or software raid
or old school way, if you have change to reboot your server.

Observed while its booting if it is a hardware RAID you will see something about RAID while the server is booting up.

Or check the BIOS whether the Hardware RAID is installed and if it is installed check whether it's configured. if you just inherited this server I suggest check the BIOS.

or check out this link: http://www.cyberciti.biz/faq/linux-c...d-controllers/

or try for hw raid

Quote:
lspci -vv | grep -i raid

Last edited by JJJCR; 06-14-2016 at 05:07 AM. Reason: edit
 
Old 06-14-2016, 05:10 AM   #9
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,550

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
As has been previously said, you may need to do more research on your hardware. For example, one of my HP servers with a hardware RAID controller using the CCISS driver will provide information in:

Code:
# cd /proc/driver/cciss
# ls
cciss0
# cat cciss0
cciss0: HP Smart Array P410i Controller
Board ID: 0x3245103c
Firmware Version: 3.52
IRQ: 98
Logical drives: 1
Sector size: 8192
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 127
Max # commands on controller since init: 165
Max SG entries since init: 128
Sequential access devices: 0

cciss/c0d0:      599.93GB       RAID 1(1+0)
 
  


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
hp server smartstart raid software with linux salimshahzad Linux - Server 1 03-25-2010 09:10 PM
Does this server have RAID configured correctly? Nunawading Linux - Server 2 10-05-2009 03:24 AM
IBM server 6i raid(linux 9) does not recognize hard disc biju Linux - Hardware 3 05-25-2006 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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