Skip to content

smartmontools

smartctl -a /dev/nvme0n1 
smartctl -A /dev/nvme0n1 
smartctl -a /dev/sda | grep Temp | cut -d" " -f 2,37
smartctl -A /dev/sda | grep Temperature_Celsius

Get all info on hardware LSI RAID (on physical disk 4):

smartctl -a -d megaraid,4 /dev/sda
smartctl -i /dev/sdc

Check if drive passed test

smartctl  -H /dev/sda 

Run a short test

smartctl -t short /dev/sd[x]

Run a long test

smartctl -t long /dev/sd[x]

List results from test

smartctl -l selftest /dev/sd[x]

  • Comments are closed on this article!

Last update: December 4, 2022 19:31:07