Is this just one bad sector or I need to replace drive?
Someone advice me to rewrite bad sector. But I am not shure how to do it and if this will even help.
Someone advice me to rewrite bad sector. But I am not shure how to do it and if this will even help.
root@freenas[~]# zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:00:05 with 0 errors on Mon Oct 26 03:45:05 2020
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 0
errors: No known data errors
pool: pinja
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: resilvered 22.5M in 0 days 00:06:03 with 0 errors on Sat Oct 31 05:29:20 2020
config:
NAME STATE READ WRITE CKS UM
pinja ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/2fa34fbe-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/2fa64f55-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/314d0b14-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/3159a97a-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/31945268-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/3175f853-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
gptid/318f7f9e-2ce7-11e9-9460-000c297069bb ONLINE 493 5.31K 16
gptid/31b925b3-2ce7-11e9-9460-000c297069bb ONLINE 0 0 1
gptid/31e0836a-2ce7-11e9-9460-000c297069bb ONLINE 0 0 0
errors: No known data errors
root@freenas[~]# smartctl -a /dev/da1
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p11 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate NAS HDD
Device Model: ST3000VN000-1HJ166
Serial Number: W6A1VL72
LU WWN Device Id: 5 000c50 09c760bdd
Firmware Version: SC60
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5900 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Nov 1 01:40:58 2020 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported field in scsi command
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 107) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off supp ort.
Suspend Offline collection upon new
command.
No 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 361) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x10bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_ FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 105 084 006 Pre-fail Always - 224197299
3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 37
5 Reallocated_Sector_Ct 0x0033 092 092 010 Pre-fail Always - 9824
7 Seek_Error_Rate 0x000f 081 060 030 Pre-fail Always - 125677711
9 Power_On_Hours 0x0032 064 064 000 Old_age Always - 31797
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 37
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 1447
188 Command_Timeout 0x0032 100 096 000 Old_age Always - 42950328333
189 High_Fly_Writes 0x003a 001 001 000 Old_age Always - 396
190 Airflow_Temperature_Cel 0x0022 064 043 045 Old_age Always In_th e_past 36 (0 25 38 33 0)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 36
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 125
194 Temperature_Celsius 0x0022 036 057 000 Old_age Always - 36 (0 17 0 0 0)
197 Current_Pending_Sector 0x0012 001 001 000 Old_age Always - 30544
198 Offline_Uncorrectable 0x0010 001 001 000 Old_age Offline - 30544
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 1447 (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 1447 occurred at disk power-on lifetime: 31797 hours (1324 days + 21 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 20 ff ff ff 4f 00 4d+13:25:38.924 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+13:25:35.111 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+13:25:35.111 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+13:25:33.008 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+13:25:32.991 READ FPDMA QUEUED
Error 1446 occurred at disk power-on lifetime: 31797 hours (1324 days + 21 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 20 ff ff ff 4f 00 4d+13:01:14.037 READ FPDMA QUEUED
61 00 08 ff ff ff 4f 00 4d+13:01:12.815 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 4d+13:01:12.815 WRITE FPDMA QUEUED
61 00 08 d8 03 40 40 00 4d+13:01:12.815 WRITE FPDMA QUEUED
61 00 08 d8 01 40 40 00 4d+13:01:12.815 WRITE FPDMA QUEUED
Error 1445 occurred at disk power-on lifetime: 31797 hours (1324 days + 21 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 20 ff ff ff 4f 00 4d+12:53:14.964 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+12:53:14.963 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+12:53:14.963 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+12:53:14.963 READ FPDMA QUEUED
61 00 08 ff ff ff 4f 00 4d+12:53:14.780 WRITE FPDMA QUEUED
Error 1444 occurred at disk power-on lifetime: 31786 hours (1324 days + 10 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 e0 ff ff ff 4f 00 4d+01:53:04.010 READ FPDMA QUEUED
60 00 60 ff ff ff 4f 00 4d+01:53:04.009 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+01:53:04.009 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+01:53:04.009 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 4d+01:53:04.008 READ FPDMA QUEUED
Error 1443 occurred at disk power-on lifetime: 31785 hours (1324 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 20 ff ff ff 4f 00 4d+01:16:58.046 READ FPDMA QUEUED
61 00 08 ff ff ff 4f 00 4d+01:16:55.626 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 4d+01:16:55.626 WRITE FPDMA QUEUED
61 00 08 48 04 40 40 00 4d+01:16:55.625 WRITE FPDMA QUEUED
61 00 08 48 02 40 40 00 4d+01:16:55.625 WRITE FPDMA QUEUED
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.