Smartctl

From Kyle's Wiki
Jump to: navigation, search

Reading SMART Data on USB Drives

To read SMART data from USB drives, first run lsusb to see what kind of converter you are using:

root@cody-desktop:~# lsusb
Bus 004 Device 002: ID 0bc2:2100 Seagate RSS LLC 
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  

Ok now look that up on this page: USB Converter Smart documentation

My usb id is 0bc2:2100, so it says on that chart to use "-d sat,12". You need to add -T permissive on these devices, so the total command is:

smartctl -a /dev/sdc -d sat,12 -T permissive

Reading SMART Data on MegaRaid controllers

First run:

MegaCli -PDList -aALL

Scan for the Device ID. Use that in your next command:

smartctl -a -d sat+megaraid,11 /dev/sda

See also MegaCLI

Reading SMART Data on a 3ware controller

smartctl -a --device=3ware,$DRIVE /dev/twa0

See also 3ware Smart Test for a more comprehensive test.

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta