Hey,
This thread is kind of a follow-up about an issue I think is related to problems I was having back around may 16:
https://forums.freebsd.org/threads/...-certain-files-cause-transfers-to-hang.65875/
so this isn't specifically related to ZFS but I am still trying to figure out why an array of aging hard drives I have is failing when running
It was a 6-drive 3-vdev mirror pool.
Ran
ran smartctl long tests on every drive - I noticed this particular drive is saying smartctl tests are all 'aborted by user' when I have run it several times all the way through:
As per recommendation from another thread (was querying
I noticed right off the bat that the first drive is WAY slower than the other drives writing the zeros, despite being the first one on which the command was executed. All the others are fairly comparable speed-wise.
e.g. the slow drive is like:
When the drive started right after it is like:
There's like a whole 'nother column for the ETA (!!)
So I think this one must be the culprit. Thankfully I have another drive that is one of the original
Anyway, I just thought that was kind of interesting that
Thanks to everyone who has helped me along this slow and arduous journey.
This thread is kind of a follow-up about an issue I think is related to problems I was having back around may 16:
https://forums.freebsd.org/threads/...-certain-files-cause-transfers-to-hang.65875/
so this isn't specifically related to ZFS but I am still trying to figure out why an array of aging hard drives I have is failing when running
rsync
clone either to or from another machineIt was a 6-drive 3-vdev mirror pool.
rsync
fail was reproducible at a specific point during the clone - whether reading or writing from the pool (had to lose some data when copying off the first time, now losing info when trying to copy back as a backup)Ran
# zpool scrub
several times - no errors detectedran smartctl long tests on every drive - I noticed this particular drive is saying smartctl tests are all 'aborted by user' when I have run it several times all the way through:
Code:
[LIST=1]
[*]
=== START OF INFORMATION SECTION ===
[*]Model Family: Western Digital Green
[*]Device Model: WDC WD20EARX-00PASB0
[*]Serial Number: WD-WMAZA5640072
[*]LU WWN Device Id: 5 0014ee 1aef33c24
[*]Firmware Version: 51.0AB51
[*]User Capacity: 2,000,398,934,016 bytes [2.00 TB]
[*]Sector Sizes: 512 bytes logical, 4096 bytes physical
[*]Device is: In smartctl database [for details use: -P show]
[*]ATA Version is: ATA8-ACS (minor revision not indicated)
[*]SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
[*]Local Time is: Fri May 18 04:44:44 2018 PDT
[*]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: (0x84) Offline data collection activity
[*] was suspended by an interrupting command from host.
[*] Auto Offline Data Collection: Enabled.
[*]Self-test execution status: ( 38) The self-test routine was interrupted
[*] by the host with a hard or soft reset.
[*]Total time to complete Offline
[*]data collection: (41100) 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: ( 396) minutes.
[*]Conveyance self-test routine
[*]recommended polling time: ( 5) minutes.
[*]SCT capabilities: (0x3035) 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 200 200 051 Pre-fail Always - 10
[*] 3 Spin_Up_Time 0x0027 181 155 021 Pre-fail Always - 5950
[*] 4 Start_Stop_Count 0x0032 096 096 000 Old_age Always - 4943
[*] 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 047 047 000 Old_age Always - 39324
[*] 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
[*] 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
[*] 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 346
[*]192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 214
[*]193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 767153
[*]194 Temperature_Celsius 0x0022 118 106 000 Old_age Always - 32
[*]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 200 200 000 Old_age Offline - 0
[*]199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
[*]200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 4
[*]
[*]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 Extended offline Interrupted (host reset) 60% 39294 -
[*]# 2 Extended offline Completed without error 00% 39291 -
[*]# 3 Short offline Completed without error 00% 29116 -
[*]# 4 Short offline Completed without error 00% 11529 -
[*]# 5 Conveyance offline Completed without error 00% 11515 -
[*]# 6 Extended offline Completed without error 00% 11452 -
[*]# 7 Short offline Aborted by host 90% 3750 -
[*]# 8 Short offline Aborted by host 90% 3750 -
[*]# 9 Short offline Aborted by host 90% 3750 -
[*]#10 Short offline Aborted by host 90% 3750 -
[*]#11 Short offline Aborted by host 90% 3750 -
[*]#12 Short offline Aborted by host 90% 3750 -
[*]#13 Short offline Aborted by host 90% 3750 -
[*]#14 Short offline Aborted by host 90% 3750 -
[*]#15 Short offline Aborted by host 90% 3750 -
[*]#16 Short offline Aborted by host 90% 3750 -
[*]#17 Short offline Aborted by host 90% 3750 -
[*]#18 Short offline Aborted by host 90% 3750 -
[*]#19 Short offline Aborted by host 90% 3750 -
[*]#20 Short offline Aborted by host 90% 3750 -
[*]#21 Short offline Aborted by host 90% 3750 -
[*]
[*]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.
[/LIST]
As per recommendation from another thread (was querying
badblocks
to see if that command would be a decent remedy), now I'm trying writing zeros to all the drives using dd and pv:
Code:
# dd if=/dev/zero | pv -s 1907729M | dd of=/dev/adax bs=4096
I noticed right off the bat that the first drive is WAY slower than the other drives writing the zeros, despite being the first one on which the command was executed. All the others are fairly comparable speed-wise.
e.g. the slow drive is like:
Code:
6.00GiB 0:38:53 [2.26MB/s] ETA 8:06:15:34
When the drive started right after it is like:
Code:
80.4GiB 0:38:16 [36.8MB/s] ETA 13:59:17
There's like a whole 'nother column for the ETA (!!)
So I think this one must be the culprit. Thankfully I have another drive that is one of the original
WD20EARS
models, Phoenix told me in the other thread that the newer greens (EARX model) do not allow WDIDLE.EXE
to turn off spin-down. Anyway, I just thought that was kind of interesting that
dd
was running so slow compared to the other drives. I was having a hard time figuring out which one it was until now. Thanks to everyone who has helped me along this slow and arduous journey.