Hi
I power-off my freenas and add a internal SAS HBA to enhance disk I/O(3Gb -> 6Gb) , so fail disk number was change.
ada2 -> da1
ada4 -> da2
Code:
Apr 13 11:38:52 160nas smartd[8655]: Device: /dev/da2 [SAT], FAILED SMART self-check. BACK UP DATA NOW!
Apr 13 11:38:52 160nas smartd[8655]: Device: /dev/da2 [SAT], Failed SMART usage Attribute: 5 Reallocated_Sector_Ct.
Apr 13 11:38:52 160nas smartd[8655]: Device: /dev/da2 [SAT], previous self-test completed with error (unknown test element)
Apr 13 11:38:52 160nas smartd[8655]: Device: /dev/da1 [SAT], 2 Offline uncorrectable sectors
Smart test result as below, I found many error so I will replace these disk .
Code:
smartctl -a /dev/da1
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p31 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Black
Device Model: WDC WD3001FAEX-00MJRA0
Serial Number: WD-WMC130049225
LU WWN Device Id: 5 0014ee 0036b2aed
Firmware Version: 01.01L01
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Apr 13 22:49:35 2016 CST
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: (0x84) Offline data collection activity
was suspended 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: (35040) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 380) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
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 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 163 145 021 Pre-fail Always - 10841
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 494
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 5958
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 494
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 75
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 418
194 Temperature_Celsius 0x0022 091 080 000 Old_age Always - 61
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 2
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age 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% 5957 -
# 2 Extended offline Aborted by host 90% 5947 -
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.
Code:
[root@160nas] ~# smartctl -a /dev/da2
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p31 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Black
Device Model: WDC WD3001FAEX-00MJRA0
Serial Number: WD-WCC130244440
LU WWN Device Id: 5 0014ee 207edb281
Firmware Version: 01.01L01
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Apr 13 22:51:11 2016 CST
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: FAILED!
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 73) The previous self-test completed having
a test element that failed and the test
element that failed is not known.
Total time to complete Offline
data collection: (35100) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 381) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
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 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 179 165 021 Pre-fail Always - 10041
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 501
5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always FAILING_NOW 1966
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 5959
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 501
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 82
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 418
194 Temperature_Celsius 0x0022 092 080 000 Old_age Always - 60
196 Reallocated_Event_Count 0x0032 166 166 000 Old_age Always - 34
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 18
SMART Error Log Version: 1
ATA Error Count: 30 (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 30 occurred at disk power-on lifetime: 5313 hours (221 days + 9 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 b0 cb 66 41 e0 Error: UNC 176 sectors at LBA = 0x004166cb = 4286155
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 b0 c0 66 41 e0 00 05:48:36.910 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.786 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.661 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.536 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.376 READ DMA
Error 29 occurred at disk power-on lifetime: 5313 hours (221 days + 9 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 b0 cb 66 41 e0 Error: UNC 176 sectors at LBA = 0x004166cb = 4286155
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 b0 c0 66 41 e0 00 05:48:36.786 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.661 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.536 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.376 READ DMA
c8 00 b0 10 66 41 e0 00 05:48:36.375 READ DMA
Error 28 occurred at disk power-on lifetime: 5313 hours (221 days + 9 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 b0 cb 66 41 e0 Error: UNC 176 sectors at LBA = 0x004166cb = 4286155
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 b0 c0 66 41 e0 00 05:48:36.661 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.536 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.376 READ DMA
c8 00 b0 10 66 41 e0 00 05:48:36.375 READ DMA
c8 00 b0 60 65 41 e0 00 05:48:36.374 READ DMA
Error 27 occurred at disk power-on lifetime: 5313 hours (221 days + 9 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 b0 cb 66 41 e0 Error: UNC 176 sectors at LBA = 0x004166cb = 4286155
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 b0 c0 66 41 e0 00 05:48:36.536 READ DMA
c8 00 b0 c0 66 41 e0 00 05:48:36.376 READ DMA
c8 00 b0 10 66 41 e0 00 05:48:36.375 READ DMA
c8 00 b0 60 65 41 e0 00 05:48:36.374 READ DMA
c8 00 b0 b0 64 41 e0 00 05:48:36.374 READ DMA
Error 26 occurred at disk power-on lifetime: 5313 hours (221 days + 9 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 b0 cb 66 41 e0 Error: UNC 176 sectors at LBA = 0x004166cb = 4286155
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 b0 c0 66 41 e0 00 05:48:36.376 READ DMA
c8 00 b0 10 66 41 e0 00 05:48:36.375 READ DMA
c8 00 b0 60 65 41 e0 00 05:48:36.374 READ DMA
c8 00 b0 b0 64 41 e0 00 05:48:36.374 READ DMA
c8 00 b0 00 64 41 e0 00 05:48:36.373 READ DMA
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: unknown failure 90% 5951 -
# 2 Extended offline Completed: unknown failure 90% 5949 -
# 3 Extended offline Completed: unknown failure 90% 5948 -
# 4 Extended offline Completed: unknown failure 90% 5948 -
# 5 Extended offline Completed: unknown failure 90% 5948 -
# 6 Extended offline Completed: unknown failure 90% 5947 -
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.