Hardware RAID information on Linux: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Created page with "== Detect hardware RAID information == <syntaxhighlight lang="bash"> #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 $ su...")
 
No edit summary
Line 1: Line 1:
== 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.
== Detect hardware RAID information ==
== Detect hardware RAID information ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 19: Line 22:
</syntaxhighlight>
</syntaxhighlight>


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


== References ==
== References ==
<references />
<references />

Revision as of 12:33, 10 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.

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