Hi,
I'm after advice on the correct procedure to replace a disk that has started showing bad sectors as per the below message.
The smartctrl -a dev/da8 output is at the end of the post.
Notes
Question
Should I be following the process in the documentation found here, under the section Replacing a Disk?
This would see me;
smartctrl Output
Any advice would be greatly appreciated, even if that's just a 'Yes'.
Thank you
I'm after advice on the correct procedure to replace a disk that has started showing bad sectors as per the below message.
Device: /dev/da8 [SAT], 40 Offline uncorrectable sectors.
The smartctrl -a dev/da8 output is at the end of the post.
Notes
- The Seagate IronWolf 4TB Disk, will be replaced with an identical one in the Dell R510 12-bay server.
- The server is running TrueNAS Core 13.0-U5.1.
- The Pool contains ten disks, with two disk redundancy and one samba share.
- The Pool is reporting the Status is 'Online' and Disks w/Errors is '0'.
- I'm copying around 20TB of critical data onto the server and into the Pool where this Disk is so I'm keen to replace the drive before it fails.
Question
Should I be following the process in the documentation found here, under the section Replacing a Disk?
This would see me;
- offline the disk until it's reported as Offline;
- shutdown the server;
- physically remove the disk from the server and replace it with the new drive;
- reboot the server and login to the GUI and under Pool Status, open the options for the offline disk and click Replace; and
- select the new disk which will automatically begin the resilver process.
smartctrl Output
Code:
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate IronWolf Device Model: ST4000VN008-2DR166 Serial Number: ZDH1LEDH LU WWN Device Id: 5 000c50 0a2f0540c Firmware Version: SC60 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Wed Jul 12 15:23:33 2023 BST 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: ( 591) 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: ( 1) minutes. Extended self-test routine recommended polling time: ( 657) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x50bd) 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 084 064 044 Pre-fail Always - 230196528 3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 097 097 020 Old_age Always - 3509 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 232 7 Seek_Error_Rate 0x000f 094 060 045 Pre-fail Always - 2749659395 9 Power_On_Hours 0x0032 046 046 000 Old_age Always - 48069 (207 194 0) 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 84 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 044 044 000 Old_age Always - 56 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 8590065666 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 070 055 040 Old_age Always - 30 (Min/Max 24/33) 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 - 27 193 Load_Cycle_Count 0x0032 051 051 000 Old_age Always - 98712 194 Temperature_Celsius 0x0022 030 045 000 Old_age Always - 30 (0 8 0 0 0) 197 Current_Pending_Sector 0x0012 100 099 000 Old_age Always - 40 198 Offline_Uncorrectable 0x0010 100 099 000 Old_age Offline - 40 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 44580h+58m+04.653s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 49074968699 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1922414607351 SMART Error Log Version: 1 ATA Error Count: 96 (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 96 occurred at disk power-on lifetime: 36927 hours (1538 days + 15 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 -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 ff ff ff 4f 00 46d+05:07:00.600 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.369 READ VERIFY SECTOR(S) EXT 61 00 01 ff ff ff 4f 00 46d+05:07:00.368 WRITE FPDMA QUEUED 42 00 00 ff ff ff 4f 00 46d+05:07:00.248 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.021 READ VERIFY SECTOR(S) EXT Error 95 occurred at disk power-on lifetime: 36927 hours (1538 days + 15 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 -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 ff ff ff 4f 00 46d+05:07:00.600 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.369 READ VERIFY SECTOR(S) EXT 61 00 01 ff ff ff 4f 00 46d+05:07:00.368 WRITE FPDMA QUEUED 42 00 00 ff ff ff 4f 00 46d+05:07:00.248 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.021 READ VERIFY SECTOR(S) EXT Error 94 occurred at disk power-on lifetime: 36927 hours (1538 days + 15 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 -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 ff ff ff 4f 00 46d+05:07:00.248 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.021 READ VERIFY SECTOR(S) EXT 61 00 01 ff ff ff 4f 00 46d+05:07:00.020 WRITE FPDMA QUEUED 42 00 00 ff ff ff 4f 00 46d+05:06:59.897 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:06:59.661 READ VERIFY SECTOR(S) EXT Error 93 occurred at disk power-on lifetime: 36927 hours (1538 days + 15 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 -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 ff ff ff 4f 00 46d+05:07:00.248 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:07:00.021 READ VERIFY SECTOR(S) EXT 61 00 01 ff ff ff 4f 00 46d+05:07:00.020 WRITE FPDMA QUEUED 42 00 00 ff ff ff 4f 00 46d+05:06:59.897 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:06:59.661 READ VERIFY SECTOR(S) EXT Error 92 occurred at disk power-on lifetime: 36927 hours (1538 days + 15 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 -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 ff ff ff 4f 00 46d+05:06:59.897 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:06:59.661 READ VERIFY SECTOR(S) EXT 61 00 01 ff ff ff 4f 00 46d+05:06:59.660 WRITE FPDMA QUEUED 42 00 00 ff ff ff 4f 00 46d+05:06:59.536 READ VERIFY SECTOR(S) EXT 42 00 01 ff ff ff 4f 00 46d+05:06:59.300 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% 48053 - # 2 Short offline Completed without error 00% 48029 - # 3 Short offline Completed without error 00% 48005 - # 4 Short offline Completed without error 00% 47981 - # 5 Short offline Completed without error 00% 47957 - # 6 Short offline Completed without error 00% 47933 - # 7 Short offline Completed without error 00% 47909 - # 8 Short offline Completed without error 00% 47885 - # 9 Short offline Completed without error 00% 47861 - #10 Short offline Completed without error 00% 47837 - #11 Short offline Completed without error 00% 47813 - #12 Short offline Completed without error 00% 47789 - #13 Short offline Completed without error 00% 47765 - #14 Short offline Completed without error 00% 47741 - #15 Short offline Completed without error 00% 47717 - #16 Short offline Completed without error 00% 47693 - #17 Short offline Completed without error 00% 47675 - #18 Short offline Completed without error 00% 47651 - #19 Short offline Completed without error 00% 47627 - #20 Short offline Completed without error 00% 47603 - #21 Short offline Completed without error 00% 47579 - 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
Any advice would be greatly appreciated, even if that's just a 'Yes'.
Thank you