Skip to main content

Smartctl Open Device Dev Sda Failed Dell Or Megaraid Controller Please Try Adding 39d Megaraid N 39 Extra Quality

For example, to check the very first physical disk on the controller, try running: smartctl -a -d megaraid,0 /dev/sda Use code with caution.

for i in 0..30; do echo "Testing megaraid,$i" sudo smartctl -i -d megaraid,$i /dev/sda done For example, to check the very first physical

This happens because the controller hides the physical drives and presents them as a "Virtual Drive" to the operating system. The smartctl command tries to speak directly to /dev/sda (the SCSI virtual drive), but the RAID controller interrupts, not knowing how to translate standard SMART commands to the underlying physical disks. The Solution: Using -d megaraid,N The Solution: Using -d megaraid,N smartctl --scan -d

smartctl --scan -d megaraid

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 The Solution: Using -d megaraid

smartctl -a -d megaraid,0 /dev/sda

/dev/sda -d megaraid,0 # /dev/sda, Physical Disk 0 /dev/sda -d megaraid,1 # /dev/sda, Physical Disk 1 /dev/sda -d megaraid,2 # /dev/sda, Physical Disk 2