EvilRSA
Cadet
- Joined
- Sep 21, 2023
- Messages
- 3
Quick back story, we inherited two TrueNAS systems for one of our clients as the other IT company was not supporting them to the degree that our client was expecting. Both TrueNAS systems are running their VMware storage via iSCSI. When we started digging into these systems we saw that their pools were nearly maxed out, and one of them had a pool of 8 "off the shelf" PNY SSDs that were all failing. We got the details and a quote in front of the client for 8 new drives and the client signed right away. The new drives came and I "Offlined" one drive at a time, installing a new drive, selecting replace, and letting the system resilver each time. All eight PNY drives were replaced with Micron 5400's and the system has been running without errors for about 45 days now.
This weekend we got the following alert:
New alert:
* Pool SSD state is DEGRADED: One or more devices has experienced an error resulting in data corruption. Applications may be affected.
The following devices are not healthy:
* Disk PNY 1TB SATA SSD PNF16222322780900258 is DEGRADED
The part I can't figure out is where did it pull the old "Disk PNY 1TB SATA..." name from?
I checked the pool status, and see that ada4 is showing as DEGRADED
I pulled the stats for the pool and the ada4
So I don't know if I missed a step in drive replacement that clears out old names or old status conditions, but I just don't know where it pulled the old drive name from. I honestly got worried that there was still another one of the failing PNY drives in the system, but looking at the disks, I don't see one.
Would love some guidance on how to best handle this.
This weekend we got the following alert:
New alert:
* Pool SSD state is DEGRADED: One or more devices has experienced an error resulting in data corruption. Applications may be affected.
The following devices are not healthy:
* Disk PNY 1TB SATA SSD PNF16222322780900258 is DEGRADED
The part I can't figure out is where did it pull the old "Disk PNY 1TB SATA..." name from?
I checked the pool status, and see that ada4 is showing as DEGRADED
I pulled the stats for the pool and the ada4
Last login: Thu Sep 21 17:32:03 on pts/25
FreeBSD 13.1-RELEASE-p7 n245428-4dfb91682c1 TRUENAS
TrueNAS (c) 2009-2023, iXsystems, Inc.
All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.
For more information, documentation, help or support, go here:
http://truenas.com
Welcome to TrueNAS
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.
root@truenas[~]# zpool status -v
pool: Pool1
state: ONLINE
scan: scrub repaired 0B in 00:18:00 with 0 errors on Sun Sep 24 00:18:00 2023
config:
NAME STATE READ WRITE CKSUM
Pool1 ONLINE 0 0 0
gptid/21b9ac1b-e8b0-11ec-9a8c-008cfaf09b08 ONLINE 0 0 0
errors: No known data errors
pool: SSD
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 0B in 01:06:46 with 4 errors on Sun Sep 24 01:06:46 2023
config:
NAME STATE READ WRITE CKSUM
SSD DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
gptid/525f5ed8-3b5e-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/d6e03b8a-3cee-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/67814ed4-3777-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/5a658ccc-3d17-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/a549fa34-3842-11ee-bac2-008cfaf09b08 DEGRADED 0 032 too many errors
gptid/29fa84fd-3ab6-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/d2ddef69-3c27-11ee-bac2-008cfaf09b08 ONLINE 0 032
gptid/27f7de11-3dc3-11ee-bac2-008cfaf09b08 ONLINE 0 032
errors: Permanent errors have been detected in the following files:
SSD/Bkup-Zvol:<0x1>
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:01:47 with 0 errors on Wed Sep 20 03:46:47 2023
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
da0p2 ONLINE 0 0 0
errors: No known data errors
root@truenas[~]#
root@truenas[~]# smartctl -a /dev/ada4
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 ===
Device Model: Micron_5400_MTFDDAK1T9TGA
Serial Number: 22443C3B5571
LU WWN Device Id: 5 00a075 13c3b5571
Firmware Version: D4MU002
User Capacity: 1,920,383,410,176 bytes [1.92 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Sep 26 13:27:12 2023 EDT
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: (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: ( 3403) 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: ( 14) minutes.
Conveyance self-test routine
recommended polling time: ( 3) minutes.
SCT capabilities: (0x0035) 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 100 100 050 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0032 100 100 001 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 1108
12 Power_Cycle_Count 0x0032 100 100 001 Old_age Always - 3
170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 001 Old_age Always - 0
173 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 3
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 1
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 000 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 078 067 000 Old_age Always - 22 (Min/Max 15/33)
195 Hardware_ECC_Recovered 0x0032 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
202 Unknown_SSD_Attribute 0x0030 100 100 001 Old_age Offline - 0
206 Unknown_SSD_Attribute 0x000e 100 100 000 Old_age Always - 0
246 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 2747849698
247 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 85868231
248 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 25816908
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033 100 100 000 Pre-fail Always - 11980
210 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
211 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 4
212 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 318
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 Short offline Completed without error 00% 1094 -
# 2 Short offline Completed without error 00% 1070 -
# 3 Short offline Completed without error 00% 1046 -
# 4 Short offline Completed without error 00% 1022 -
# 5 Short offline Completed without error 00% 998 -
# 6 Short offline Completed without error 00% 974 -
# 7 Short offline Completed without error 00% 950 -
# 8 Short offline Completed without error 00% 926 -
# 9 Short offline Completed without error 00% 902 -
#10 Short offline Completed without error 00% 878 -
#11 Short offline Completed without error 00% 854 -
#12 Short offline Completed without error 00% 830 -
#13 Short offline Completed without error 00% 806 -
#14 Short offline Completed without error 00% 782 -
#15 Short offline Completed without error 00% 758 -
#16 Short offline Completed without error 00% 734 -
#17 Short offline Completed without error 00% 710 -
#18 Short offline Completed without error 00% 686 -
#19 Short offline Completed without error 00% 662 -
#20 Short offline Completed without error 00% 638 -
#21 Short offline Completed without error 00% 614 -
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 Completed [00% left] (96631296-96696831)
4 0
Last login: Thu Sep 21 17:32:03 on pts/25
FreeBSD 13.1-RELEASE-p7 n245428-4dfb91682c1 TRUENAS
TrueNAS (c) 2009-2023, iXsystems, Inc.
All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.
For more information, documentation, help or support, go here:
http://truenas.com
Welcome to TrueNAS
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.
root@truenas[~]# smartctl -a /dev/ada4
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 ===
Device Model: Micron_5400_MTFDDAK1T9TGA
Serial Number: 22443C3B5571
LU WWN Device Id: 5 00a075 13c3b5571
Firmware Version: D4MU002
User Capacity: 1,920,383,410,176 bytes [1.92 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Sep 26 13:27:12 2023 EDT
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: (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: ( 3403) 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: ( 14) minutes.
Conveyance self-test routine
recommended polling time: ( 3) minutes.
SCT capabilities: (0x0035) 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 100 100 050 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0032 100 100 001 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 1108
12 Power_Cycle_Count 0x0032 100 100 001 Old_age Always - 3
170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 001 Old_age Always - 0
173 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 3
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 1
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 000 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 078 067 000 Old_age Always - 22 (Min/Max 15/33)
195 Hardware_ECC_Recovered 0x0032 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
202 Unknown_SSD_Attribute 0x0030 100 100 001 Old_age Offline - 0
206 Unknown_SSD_Attribute 0x000e 100 100 000 Old_age Always - 0
246 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 2747849698
247 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 85868231
248 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 25816908
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033 100 100 000 Pre-fail Always - 11980
210 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
211 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 4
212 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 318
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 Short offline Completed without error 00% 1094 -
# 2 Short offline Completed without error 00% 1070 -
# 3 Short offline Completed without error 00% 1046 -
# 4 Short offline Completed without error 00% 1022 -
# 5 Short offline Completed without error 00% 998 -
# 6 Short offline Completed without error 00% 974 -
# 7 Short offline Completed without error 00% 950 -
# 8 Short offline Completed without error 00% 926 -
# 9 Short offline Completed without error 00% 902 -
#10 Short offline Completed without error 00% 878 -
#11 Short offline Completed without error 00% 854 -
#12 Short offline Completed without error 00% 830 -
#13 Short offline Completed without error 00% 806 -
#14 Short offline Completed without error 00% 782 -
#15 Short offline Completed without error 00% 758 -
#16 Short offline Completed without error 00% 734 -
#17 Short offline Completed without error 00% 710 -
#18 Short offline Completed without error 00% 686 -
#19 Short offline Completed without error 00% 662 -
#20 Short offline Completed without error 00% 638 -
#21 Short offline Completed without error 00% 614 -
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 Completed [00% left] (96631296-96696831)
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.
root@truenas[~]#
So I don't know if I missed a step in drive replacement that clears out old names or old status conditions, but I just don't know where it pulled the old drive name from. I honestly got worried that there was still another one of the failing PNY drives in the system, but looking at the disks, I don't see one.
Would love some guidance on how to best handle this.