[[+content_image]]
V
V
Vitaly Gusev2020-04-10 13:37:58
linux
Vitaly Gusev, 2020-04-10 13:37:58

How to view detailed information about disks connected via a RAID controller in the Linux console?

There is CentOS release 6.2 (Final).
The disk system is something:
[[email protected]/]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdc 8:32 0 232.9G 0 disk
└─sdc1 8:33 0 232.9G 0 part /BackUp
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /records
sda 8:0 0 558.7G 0 disk
├─sda1 8:1 0 200M 0 part /boot
├─sda2 8:2 0 359 .3G 0 part /
├─sda3 8:3 0 195.3G 0 part /var
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 3.9G 0 part [SWAP]

In order to see which disks are installed in the server, you need to turn it off, remove them one by one and look. Or go to the admin panel of the RAID controller and take this information from there.
BUT! Turning off the server is problematic and almost impossible without good reason.
How and with what help you can get the following information about the disks:
1. Manufacturer (optional)
2. Model (required)

Based on the model, I can already calculate the volume and so on.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Andrew, 2020-04-10
@guvijur

You didn't specify a raid model.
HPe has ssacli Smart Storage Administrator (HPE SSA) CLI for Linux
Usage example:
ssacli ctrl slot=1 pd all show detail
UPD:

Smart Array G6 controllers (rev 01)

This is most likely something like p410 or p410i, then you can use this manual:
Linux: Working with HP's RAID controller
Here using hpacucli which is essentially the same with ssacli and just under CentOS 6.7.
The controller model can be viewed like this:
lspci -k|grep -i -A2 raid

C
CityCat4, 2020-04-10
@CityCat4

Hardware RAID usually does not give up information about its disks. You can search for junk on the website of the controller manufacturer or write to their support, it is quite possible that there is no way. Though under Windows such utilities happen.

P
pfg21, 2020-04-10
@pfg21

sudo lshw -c disk
sudo hdparm -I /dev/sda
it ??

1
15432, 2020-04-10
@15432

smartctl utility can view information about disks per raid, many vendors are supported

M
mayton2019, 2020-04-10
@mayton2019

What the author cited with the listing from lsblk is some kind of ordinary file structure that has nothing to do with RAID technologies. (sdb/sda...) is the standard internal pancake nomenclature. Raids usually look different after assembling them into a volum.
See proprietary utilities from the manufacturer (as written above). Perhaps they have not yet been assembled and do not glow among disk devices.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question