Smartctl Open Device Dev Sda Failed Dell Or Megaraid Controller Please Try Adding 39d Megaraid N 39 Extra Quality ^new^ -
If you have more than one RAID controller (e.g., /dev/sda and /dev/sdb from different PERC cards), specify the correct device:
sudo yum install smartmontools
smartctl -d megaraid,N [other options]
When attempting to run a simple smartctl -a /dev/sda (or smartctl -i /dev/sda ) on a Dell PowerEdge server (or any system using an LSI MegaRAID or Dell PERC RAID controller), you often encounter this frustrating output: If you have more than one RAID controller (e
sudo smartctl --scan
DEVICE=/dev/sda for i in $(megacli -pdlist -a0 | grep Id | cut -d":" -f2); do echo "============================== $i ==============================" smartctl -s on -a -d megaraid,$i $DEVICE -T permissive done
It sounds like you’re encountering the classic smartctl error when trying to access a physical disk behind a Dell PERC (MegaRAID) controller. The message you're referencing is essentially telling you to use the correct device syntax: -d megaraid,N . This should retrieve S
For MegaRAID/Dell PERC, the most reliable tool is storcli (successor to megacli ):
Detection & classification
In this case N=0 (device ID 0) and /dev/sda is the logical RAID volume. This should retrieve S.M.A.R.T. information for the first physical disk in the array. However, N=0 is not always the correct identifier; the actual device IDs can vary, as demonstrated in the following sections. Here's the general syntax: Guessing the slot ID
Here's the general syntax:
Guessing the slot ID number can be tedious, especially on servers with dozens of drive bays. You can find the exact slot IDs using command-line storage utilities. Method 1: Using storcli (Recommended)

