Hello
I have a ZFS cluster on my Proxmox server. This morning during my visual inspection of the servers, two hard drives showed red in the bay.
Indeed ZFS sees the two disks as being out of service but... when I do a SMART test (short) on the disks, I have no error
I downloaded the test tool for Samsung hard drives, but it tells me that the condition of the drives is good...
Do you have any advice for investigating this problem?
THANKS
I have a ZFS cluster on my Proxmox server. This morning during my visual inspection of the servers, two hard drives showed red in the bay.
code_language.shell:
root@PVE-1:~# zpool status
pool: klustersynced_zfs
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
scan: scrub repaired 0B in 00:37:32 with 0 errors on Sun Feb 11 01:01:33 2024
config:
NAME STATE READ WRITE CKSUM
klustersynced_zfs DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
sdb ONLINE 0 0 0
12882363701823177512 FAULTED 0 0 0 was /dev/sdc1
mirror-1 DEGRADED 0 0 0
16188092585002326977 FAULTED 0 0 0 was /dev/sdd1
sde ONLINE 0 0 0
sdg ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
sdh ONLINE 0 0 0
sdi ONLINE 0 0 0
sdf ONLINE 0 0 0
Indeed ZFS sees the two disks as being out of service but... when I do a SMART test (short) on the disks, I have no error
code_language.shell:
root@PVE-1:~# smartctl -a /dev/sdc1
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.11-8-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: Samsung SSD 860 PRO 1TB
Serial Number: S42NNF0KC00967A
LU WWN Device Id: 5 002538 e40ad6c84
Firmware Version: RVM01B6Q
User Capacity: 1 024 209 543 168 bytes [1,02 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: In smartctl database 7.3/5319
ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Feb 16 10:23:32 2024 CET
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: ( 0) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 85) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 43100
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 10
177 Wear_Leveling_Count 0x0013 063 063 000 Pre-fail Always - 814
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 079 059 000 Old_age Always - 21
195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 8
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 356855281888
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% 43100 -
# 2 Short offline Completed without error 00% 43100 -
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_language.shell:
root@PVE-1:~# smartctl -a /dev/sdd
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.11-8-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: Samsung SSD 860 PRO 1TB
Serial Number: S42NNF0KC00937P
LU WWN Device Id: 5 002538 e40ad6c0c
Firmware Version: RVM01B6Q
User Capacity: 1 024 209 543 168 bytes [1,02 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: In smartctl database 7.3/5319
ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Feb 16 10:29:32 2024 CET
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: ( 0) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 85) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 43100
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 10
177 Wear_Leveling_Count 0x0013 061 061 000 Pre-fail Always - 862
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 075 059 000 Old_age Always - 25
195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 8
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 378554995800
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% 43100 -
# 2 Short offline Completed without error 00% 43100 -
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.
I downloaded the test tool for Samsung hard drives, but it tells me that the condition of the drives is good...
code_language.shell:
root@PVE-1:~# ./Samsung_SSD_DC_Toolkit_for_Linux_V2.1 -L
================================================================================================
Samsung DC Toolkit Version 2.1.L.Q.0
Copyright (C) 2017 SAMSUNG Electronics Co. Ltd. All rights reserved.
================================================================================================
----------------------------------------------------------------------------------------------------------------------------------------
| Disk | Path | Model | Serial | Firmware | Optionrom | Capacity | Drive | Total Bytes | NVMe Driver |
| Number | | | Number | | Version | | Health | Written | |
----------------------------------------------------------------------------------------------------------------------------------------
| 0 | /dev/sda | Samsung SSD 860 PRO 256GB | S42VNF0M208207J | RVM01B6Q | N/A | 238 GB | GOOD | 7.54 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 1 | /dev/sdb | Samsung SSD 860 PRO 1TB | S42NNF0KC00975M | RVM01B6Q | N/A | 953 GB | GOOD | 176.32 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 2 | /dev/sdc | Samsung SSD 860 PRO 1TB | S42NNF0KC00967A | RVM01B6Q | N/A | 953 GB | GOOD | 166.17 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 3 | /dev/sdd | Samsung SSD 860 PRO 1TB | S42NNF0KC00937P | RVM01B6Q | N/A | 953 GB | GOOD | 176.28 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 4 | /dev/sde | Samsung SSD 860 PRO 1TB | S42NNF0KC00972K | RVM01B6Q | N/A | 953 GB | GOOD | 166.21 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 5 | /dev/sdf | Samsung SSD 860 PRO 1TB | S42NNF0KC00961V | RVM01B6Q | N/A | 953 GB | GOOD | 173.01 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 6 | /dev/sdg | Samsung SSD 860 PRO 1TB | S42NNF0KC00944L | RVM01B6Q | N/A | 953 GB | GOOD | 172.03 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 7 | /dev/sdh | Samsung SSD 860 PRO 1TB | S42NNF0KC00948E | RVM01B6Q | N/A | 953 GB | GOOD | 187.82 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 8 | /dev/sdi | Samsung SSD 860 PRO 1TB | S42NNF0KC00980R | RVM01B6Q | N/A | 953 GB | GOOD | 187.82 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 9 | /dev/sdj | Samsung SSD 860 PRO 1TB | S42NNF0KC00977F | RVM01B6Q | N/A | 953 GB | GOOD | 41.02 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 10 | /dev/sdk | Samsung SSD 860 PRO 1TB | S42NNF0KC00950H | RVM01B6Q | N/A | 953 GB | GOOD | 41.96 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
| 11 | /dev/sdl | Samsung SSD 860 PRO 256GB | S42VNF0M208196W | RVM01B6Q | N/A | 238 GB | GOOD | 7.52 TB | N/A |
----------------------------------------------------------------------------------------------------------------------------------------
Do you have any advice for investigating this problem?
THANKS
Last edited: