Hardware RAID information on Linux

From HPCWIKI
Revision as of 11:56, 10 December 2023 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

References