Hardware RAID information on Linux: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
== References ==
== References ==
<references />
<references />
[[Category: storage]]

Revision as of 11:03, 29 December 2023

Hardware RAID

A hardware RAID controller has its own processor for the calculation of RAID operations. This processor organizes and manages the memory space. Thus, the CPU of the server is not burdened by RAID calculations.

HBA/RAID controller provides high level summary for HBA and RAID controller.

Detect hardware RAID information

#Detect HW RAID controller information
$lspci -knn | grep -i raid 

# install apt-get install lsscsi then list  up HW raid manufacturer and model
$lsscsi 

# Display the details about harddrives
$lshw -class disk

# 1 Find defined raid arrays then get device information
$dmesg | grep -i scsi
$smartctl --all /dev/<raid array>

# To check physical disk health values smartctl --all -d <driver> command
$ sudo smartctl --all -d megaraid,<disk #> /dev/<raid array>

smartctl page has more examples how to use smartctl and Identify a defective hard drive guides how to detect defective disk.

References