Software raid would probably show up in a df -h
listing. Try to find references to /dev/md*. But you've mentioned vendor hardware, so I'll assume you're trying to get info on hardware RAID controllers.
Depending on the server hardware, I will try a few techniques to get system information. I start with dmidecode, usually piped into less to obtain the server make/model information (and potentially, the serial number). For HP systems, this helps narrow down to a particular model or part number. In that case, I can infer the raid controller info. For Dell, dmidecode | grep -i serial
should output the service tag. You can cross reference the initial build info from Dell's support site.
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
IRQ: 122
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)
Obtaining the disk rotation speed info would require installing the HP Proliant Support Pack or at least the hpacucli utility to get the drive specifics.
For Dell and most other hardware raid controllers, cat /proc/scsi/scsi
should reveal the SCSI controller and/or RAID controller config.
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: DVD-ROM DV-28SW Rev: R.2A
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST9146803SS Rev: FS62
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST9146803SS Rev: FS62
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 01 Id: 00 Lun: 00
Vendor: Dell Model: VIRTUAL DISK Rev: 1028
Type: Direct-Access ANSI SCSI revision: 05
Armed with the drive model numbers, you can google to obtain the specifications. The last entry in the output clearly shows a virtual disk comprised of the two physical disks listed above. You can get the exact controller spec from lspci -v
.