if you want dont know, How to Find Hardware RAID Information on Linux, Then you have come to the right place.
This post will help you to Identify your server has physical raid controller or not, if not they may be using software raid. Lets check for physical raid controller.
If you are interested in learning, Request you to go through the below recommended tutorial.
DevOps Full Course Tutorial for Beginners – DevOps Free Training Online
Docker Full Course Tutorial for Beginners – Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners – Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners – Ansible Free Training Online
Openstack Full Course Tutorial for Beginners – Openstack Free Training Online
How to Find Hardware RAID Information on Linux
[[email protected] ~]# lspci -vv | grep -i raid
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 01)
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas
The above example output shows exact raid controller specifications we are looking for. but we are not sure whether the raid has been configured or not. From the above output, it is confirmed that we have raid controller available in server.
Lets find any raid been configured or not.
In every linux, we have a file called /proc/scsi/scsi where all information about scsi device or disk will be mentioned by the kernel.
So, use cat command and open the file /proc/scsi/scsi
[[email protected] ~]# cat /proc/scsi/scsi
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD 0 RAID5 699G Rev: 513O
Type: Direct-Access ANSI SCSI revision: 02
If your server configured with any raid, here you can find the details. In the above example it shows as RAID 5.
Nowadays all raid controller manufacturers provide you cmd based utility and web-based utility. This will make you to easily identify much more information.
For HP systems, this helps narrow down to a particular model or part number.
HP setups are fairly easy. You can cat /proc/driver/cciss/cciss* and receive an output like,
cciss1: HP Smart Array P800 Controller
Board ID: 0x3223103c
Firmware Version: 4.12
Logical drives: 2
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 217
Max # commands on controller since init: 386
Max SG entries since init: 31
Sequential access devices: 0
cciss/c1d0: 587.12GB RAID 1(1+0)
cciss/c1d1: 1000.17GB RAID 1(1+0)
Related Content on Linux might be useful to you to improve your Linux Skills.
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.
Stay connected with us on social networking sites, Thank you.
find hardware RAID information linux, How to know Hardware RAID through commandline, How to check RAID status, How to determine RAID drive configuration