Recently I have installed smartmontools.
*I have run the following command to determine the disk* :
# fdisk -l
*I have run the following command and it is showing the following error
for all the disks [ hda, hda1, hda2, hda5 ]* :
# smartctl -l selftest /dev/hda
=== START OF READ SMART DATA SECTION ===
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%
15730 -
# 2 Extended offline Aborted by host 90%
11081 -
# 3 Short offline Completed without error 00%
11080 -
*And when I run the following command nothing happens and I did check
syslog for message. Do I have to look elsewhere ?*
# smartctl -t short /dev/hda
and the output of the command :
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in
off-line mode".
Drive command "Execute SMART Short self-test routine immediately in
off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Tue Aug 17 21:29:15 2010
Use smartctl -X to abort test.
vishnuvardhan:/home/vishnu#
*The output of my hard drive # smartctl -a /dev/hda :*
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K100 series
Device Model: HTS541040G9AT00
Serial Number: MPB2LAX2ESGPDM
Firmware Version: MB2IA60A
User Capacity: 40,007,761,920 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 3a
Local Time is: Mon Aug 9 13:20:16 2010 IST
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: (0x82) Offline data collection activity
was completed without error.
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: ( 645) 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 29) 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 100 100 062 Pre-fail
Always - 0
2 Throughput_Performance 0x0005 105 105 040 Pre-fail
Offline - 4573
3 Spin_Up_Time 0x0007 253 253 033 Pre-fail
Always - 1
4 Start_Stop_Count 0x0012 093 093 000 Old_age
Always - 11195
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail
Always - 0
8 Seek_Time_Performance 0x0005 122 122 040 Pre-fail
Offline - 39
9 Power_On_Hours 0x0012 065 065 000 Old_age
Always - 15650
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 097 097 000 Old_age
Always - 6195
191 G-Sense_Error_Rate 0x000a 099 099 000 Old_age
Always - 3
192 Power-Off_Retract_Count 0x0032 097 097 000 Old_age
Always - 247202527
193 Load_Cycle_Count 0x0012 089 089 000 Old_age
Always - 114999
194 Temperature_Celsius 0x0002 157 157 000 Old_age
Always - 35 (Lifetime Min/Max 17/50)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age
Always - 132
197 Current_Pending_Sector 0x0022 100 100 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age
Always - 0
SMART Error Log Version: 1
ATA Error Count: 191 (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 191 occurred at disk power-on lifetime: 10995 hours (458 days + 3
hours)
When the command that caused the error occurred, the device was
active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 01 59 bf 7f e0 Error: UNC at LBA = 0x007fbf59 = 8372057
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
40 00 01 59 bf 7f e0 00 00:09:22.600 READ VERIFY SECTOR(S)
c8 00 01 d0 98 86 e1 00 00:09:22.600 READ DMA
40 00 02 59 bf 7f e0 00 00:09:18.500 READ VERIFY SECTOR(S)
c8 00 01 70 7b e6 e0 00 00:09:18.500 READ DMA
40 00 02 57 bf 7f e0 00 00:09:18.500 READ VERIFY SECTOR(S)
Error 190 occurred at disk power-on lifetime: 10995 hours (458 days + 3
hours)
When the command that caused the error occurred, the device was
active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 59 bf 7f e0 Error: UNC at LBA = 0x007fbf59 = 8372057
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
40 00 02 59 bf 7f e0 00 00:09:18.500 READ VERIFY SECTOR(S)
c8 00 01 70 7b e6 e0 00 00:09:18.500 READ DMA
40 00 02 57 bf 7f e0 00 00:09:18.500 READ VERIFY SECTOR(S)
c8 00 01 00 00 00 e0 00 00:09:18.500 READ DMA
40 00 04 5b bf 7f e0 00 00:09:18.500 READ VERIFY SECTOR(S)
Error 189 occurred at disk power-on lifetime: 10995 hours (458 days + 3
hours)
When the command that caused the error occurred, the device was
active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 59 bf 7f e0 Error: UNC at LBA = 0x007fbf59 = 8372057
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
40 00 04 57 bf 7f e0 00 00:09:14.300 READ VERIFY SECTOR(S)
c8 00 01 00 00 00 e0 00 00:09:14.300 READ DMA
40 00 08 57 bf 7f e0 00 00:09:10.200 READ VERIFY SECTOR(S)
c8 00 01 d0 98 86 e1 00 00:09:10.200 READ DMA
40 00 08 4f bf 7f e0 00 00:09:10.200 READ VERIFY SECTOR(S)
Error 188 occurred at disk power-on lifetime: 10995 hours (458 days + 3
hours)
When the command that caused the error occurred, the device was
active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 06 59 bf 7f e0 Error: UNC at LBA = 0x007fbf59 = 8372057
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
40 00 08 57 bf 7f e0 00 00:09:10.200 READ VERIFY SECTOR(S)
c8 00 01 d0 98 86 e1 00 00:09:10.200 READ DMA
40 00 08 4f bf 7f e0 00 00:09:10.200 READ VERIFY SECTOR(S)
c8 00 01 70 7b e6 e0 00 00:09:10.200 READ DMA
40 00 10 4f bf 7f e0 00 00:09:06.000 READ VERIFY SECTOR(S)
Error 187 occurred at disk power-on lifetime: 10995 hours (458 days + 3
hours)
When the command that caused the error occurred, the device was
active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 06 59 bf 7f e0 Error: UNC at LBA = 0x007fbf59 = 8372057
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
40 00 10 4f bf 7f e0 00 00:09:06.000 READ VERIFY SECTOR(S)
c8 00 01 00 00 00 e0 00 00:09:06.000 READ DMA
40 00 10 3f bf 7f e0 00 00:09:06.000 READ VERIFY SECTOR(S)
c8 00 01 00 00 00 e0 00 00:09:06.000 READ DMA
40 00 20 5f bf 7f e0 00 00:09:06.000 READ VERIFY SECTOR(S)
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Aborted by host 90%
11081 -
# 2 Short offline Completed without error 00%
11080 -
Warning! SMART Selective Self-Test Log Structure error: invalid SMART
checksum.
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.
*Can somebody please guide me how to proceed or the above errors are
normal ?*
thanks for your time,
vishnuvardhan.