dorifutoboi
Dabbler
- Joined
- Aug 6, 2018
- Messages
- 10
Happy New Year ! I purchased new hard drives and while waiting for them to arrive, I decided to learn how to check hard drive health so that I can check the new hard drives before dedicating them to a new pool. To do this, I tested a drive I previously had in an existing pool but replaced due to FreeNAS reporting that it was causing the pool it was in to be degraded (I forgot what the exact FreeNAS message was but it told me this drive was degrading the pool).
I ran following tests:
and then this (it finished running with 0 / 0 / 0 errors):
and then
-David
I ran following tests:
Code:
smartctl -t short /dev/ada0 smartctl -t conveyance /dev/ada0 smartctl -t long /dev/ada0
and then this (it finished running with 0 / 0 / 0 errors):
Code:
root@freenas:~ # badblocks -b 4096 -vws /dev/ada0 Checking for bad blocks in read-write mode From block 0 to 1465130645 Testing with pattern 0xaa: set_o_direct: Inappropriate ioctl for device done Reading and comparing: done Testing with pattern 0x55: done Reading and comparing: done Testing with pattern 0xff: done Reading and comparing: done Testing with pattern 0x00: done Reading and comparing: done
and then
smartctl -t long /dev/ada0
again followed by this:Code:
root@freenas:~ # smartctl -A /dev/ada0smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p6 amd64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === 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 197 197 021 Pre-fail Always - 9150 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 369 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 064 064 000 Old_age Always - 26970 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 68 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 31 193 Load_Cycle_Count 0x0032 198 198 000 Old_age Always - 8656 194 Temperature_Celsius 0x0022 118 107 000 Old_age Always - 34 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 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 199 000 Old_age Always - 1252 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
- Looking at the SMART results, there are no bad sectors that have been reallocated. It looks like a healthy drive based only on the SMART results. Would you all agree or am I missing something ? I am new to all of this so there is a high probability that I am misunderstanding something. I guess it doesn't help that I don't remember the exact message FreeNAS gave when telling me this drive was degrading the pool.
- Also, do you guys know why the VALUE of ID 11 and 198 are at 100 when the WORST are at 253 ? 100 is worse than 253 so if the VALUE is 100, the WORST should also be 100 no ?
- Do you guys know why the VALUE of ID 11 and 198 are at 100 and not at 253 when the RAW VALUE is 0 ? If there has been no counts, why would the score drop from 253 down to 100 ?
- TrueNAS-12.0-U4.1 (and even FreeNAS before I did the update) is reporting
Device: /dev/ada0, failed to read SMART Attribute Data.
. Do you guys know why it is reporting that even thoughsmartctl -A /dev/ada0
shows the SMART Attribute Data just fine ?
-David