LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-05-2007, 09:42 PM   #1
njdube
Member
 
Registered: Mar 2006
Posts: 46

Rep: Reputation: 15
Question Monitoring Hardware Health: lm_sensors, smartd & apcupsd


Can someone tell me what this means? Is my hard drive about to fail or what? Also does any one know of a GUI based tool I can use with KDE to monitor S.M.A.R.T. in real time? Right now I have KSeonsors monitoring my fans/temp and APCUPSD monitoring my UPS. If you know of software with a GUI that can monitor all these devices in one program I'd like to know.

defiant:/home/njdube # smartctl -a /dev/sda
smartctl version 5.37 [x86_64-suse-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax 10 family (SATA/300)
Device Model: Maxtor 6V200E0
Serial Number: V40F4VZG
Firmware Version: VA111630
User Capacity: 203,928,109,056 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
Local Time is: Tue Jun 5 21:30:02 2007 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 246) Self-test routine in progress...
60% of test remaining.
Total time to complete Offline
data collection: (4682) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 92) minutes.

SMART Attributes Data Structure revision number: 32
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
3 Spin_Up_Time 0x0027 208 208 063 Pre-fail Always - 13066
4 Start_Stop_Count 0x0032 253 253 000 Old_age Always - 373
5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail Always - 0
7 Seek_Error_Rate 0x000a 253 001 000 Old_age Always - 0
8 Seek_Time_Performance 0x0027 249 232 187 Pre-fail Always - 56268
9 Power_On_Hours 0x0032 251 251 000 Old_age Always - 987
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 252 252 000 Old_age Always - 646
189 Unknown_Attribute 0x003a 100 100 000 Old_age Always - 0
190 Temperature_Celsius 0x0022 064 051 000 Old_age Always - 606142500
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 033 253 000 Old_age Always - 36
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 583
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age Offline - 0
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age Offline - 0
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 252 000 Old_age Always - 0
202 TA_Increase_Count 0x000a 253 252 000 Old_age Always - 0
203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail Always - 0
204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age Always - 0
205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age Always - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0
210 Unknown_Attribute 0x0032 253 252 000 Old_age Always - 0
211 Unknown_Attribute 0x0032 253 252 000 Old_age Always - 0
212 Unknown_Attribute 0x0032 253 252 000 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 54 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 54 occurred at disk power-on lifetime: 520 hours (21 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
00 50 02 c9 5d 0e e0 at LBA = 0x000e5dc9 = 941513

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
42 ff 02 c9 5d 0e e0 00 00:33:56.719 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:56.642 READ DMA EXT
42 ff 02 c7 5d 0e e0 00 00:33:53.553 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:53.553 READ DMA EXT
42 ff 04 cb 5d 0e e0 00 00:33:53.444 READ VERIFY SECTOR(S) EXT

Error 53 occurred at disk power-on lifetime: 520 hours (21 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
00 50 04 cb 5d 0e e0 at LBA = 0x000e5dcb = 941515

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
42 ff 04 cb 5d 0e e0 00 00:33:53.444 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:53.367 READ DMA EXT
42 ff 04 c7 5d 0e e0 00 00:33:50.193 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:50.116 READ DMA EXT
42 ff 08 c7 5d 0e e0 00 00:33:47.027 READ VERIFY SECTOR(S) EXT

Error 52 occurred at disk power-on lifetime: 520 hours (21 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
00 50 04 c7 5d 0e e0 at LBA = 0x000e5dc7 = 941511

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
42 ff 04 c7 5d 0e e0 00 00:33:50.193 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:50.116 READ DMA EXT
42 ff 08 c7 5d 0e e0 00 00:33:47.027 READ VERIFY SECTOR(S) EXT
42 ff 08 bf 5d 0e e0 00 00:33:47.027 READ VERIFY SECTOR(S) EXT
42 ff 10 cf 5d 0e e0 00 00:33:46.918 READ VERIFY SECTOR(S) EXT

Error 51 occurred at disk power-on lifetime: 520 hours (21 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
00 50 10 cf 5d 0e e0 at LBA = 0x000e5dcf = 941519

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
42 ff 10 cf 5d 0e e0 00 00:33:46.918 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:46.841 READ DMA EXT
42 ff 10 bf 5d 0e e0 00 00:33:43.752 READ VERIFY SECTOR(S) EXT
25 ff 01 00 00 00 e0 00 00:33:43.752 READ DMA EXT
42 ff 20 df 5d 0e e0 00 00:33:43.642 READ VERIFY SECTOR(S) EXT

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 105 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

defiant:/home/njdube #
 
Old 06-05-2007, 09:45 PM   #2
njdube
Member
 
Registered: Mar 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Here is my PATA drive. It seems to be working fine.

defiant:/home/njdube # smartctl -a /dev/hda
smartctl version 5.37 [x86_64-suse-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Protege
Device Model: WDC WD1200AB-22DYA0
Serial Number: WD-WMALC1054462
Firmware Version: 15.05R15
User Capacity: 120,034,123,776 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue Jun 5 21:42:38 2007 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (3796) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 53) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 152 145 021 Pre-fail Always - 2933
4 Start_Stop_Count 0x0032 099 099 040 Old_age Always - 1616
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 072 072 000 Old_age Always - 20994
10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1597
194 Temperature_Celsius 0x0022 118 253 000 Old_age Always - 32
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 53
200 Multi_Zone_Error_Rate 0x0009 200 155 051 Pre-fail Offline - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 240 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

defiant:/home/njdube #
 
Old 06-07-2007, 07:03 PM   #3
njdube
Member
 
Registered: Mar 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Quick question! Are these normal temperatures for my system? System = 84F, AMD Sempron 2800+ = 88F, Power = 100F. I'll assume Power means the power supply. I noticed the power supply fan doesn't spin as fast as the system fans. Is that normal? Also, lm_sensors (as well as my boards BIOS) only detects the CPU and System fan. Is the power supply fan supposed to be detected at all? I get a temp reading from it, just not a fan reading.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring Health of Compaq Proliant ML370? jantman Linux - Server 3 03-06-2007 04:44 PM
LXer: Strategy & Management: Issues and innovations: Our health is your health LXer Syndicated Linux News 0 07-13-2006 05:33 PM
Teperature monitoring with lm_sensors dabi Mandriva 18 03-16-2005 05:17 PM
Abit µGuru & hardware monitoring progs for AN7 mobo Alien42 Linux - Hardware 2 04-26-2004 05:02 PM
non-gui lm_sensors monitoring program? bryman55 Linux - Software 2 08-26-2003 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration