smart
Howto interpret smartctl return values
Submitted by specialj on Thu, 2008-10-23 01:59.When using smartctl the return value can provide some useful information but it requires looking up what the individual set bits mean. After running smartctl on a large number of drives here are the codes I found and looked up:
- 32 = SMART status check returned “DISK OK” but we found that some (usage or pre-fail) Attributes have been <= threshold at some time in the past
- 64 = The device error log contains records of errors
- 96 = Both of the above
Howto enable SMART on a disk
Submitted by specialj on Wed, 2008-10-22 02:30.I’ve recently been enabling the monitoring of SMART via Munin. Most of the disks had SMART enabled, presumably thought the BIOS setting. When I came across one that wasn’t I realized I didn’t know how to enable it except through BIOS. Since this machine was located remotely I quickly figured out how to enable it via this command:
smartctl -s on /dev/sdX
Howto Monitor SMART and sensor data with Munin
Submitted by specialj on Sat, 2008-02-23 19:00.After installing a new heatsink in a machine I realized that although I had munin monitoring the machine I did not have the sensor data necessary to compare the performance on the new heatsink to the old one. So I decided to add that monitoring data as well as monitoring data for the hard drive temperature and SMART statistics. Here’s what I did on a 64-bit Ubuntu 7.10 (Gusty Gibbon) system.




Recent comments
2 days 15 hours ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
2 weeks 2 hours ago
2 weeks 3 hours ago
2 weeks 1 day ago
3 weeks 3 days ago
7 weeks 6 days ago
8 weeks 4 days ago