I'll discard this mobile hard disk drive, but for now:
- are interface CRC errors more likely to occur with USB, than with IDE?
Code:
root@mowa219-gjp4-freebsd-d31121-mobile:~ # uptime ; uname -KUv
3:32AM up 1:22, 5 users, load averages: 0.07, 0.12, 0.15
FreeBSD 14.0-CURRENT #0 main-f4e67f18b-dirty: Fri Jul 23 23:23:04 BST 2021 root@mowa219-gjp4-freebsd-d31121-diff92312-mobile:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 1400026 1400026
root@mowa219-gjp4-freebsd-d31121-mobile:~ # zpool status -v
pool: d31121
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
scan: scrub repaired 0B in 00:17:58 with 0 errors on Fri Jul 23 21:20:49 2021
config:
NAME STATE READ WRITE CKSUM
d31121 ONLINE 0 0 0
da0p4 ONLINE 0 35 0
errors: No known data errors
root@mowa219-gjp4-freebsd-d31121-mobile:~ # lsblk
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
ada0 0:110 466G GPT - -
<FREE> -:- 1.0M - - -
ada0p1 0:112 466G freebsd-ufs gpt/FreeBSD%20UFS -
cd0 0:114 0B - - -
da0 0:134 233G GPT - -
da0p1 0:135 260M efi gpt/FreeBSD%20UFS -
da0p2 0:136 512K freebsd-boot gpt/gptboot0 -
<FREE> -:- 492K - - -
da0p3 0:137 16G freebsd-swap gpt/swap0 SWAP
da0p4 0:140 217G freebsd-zfs gpt/zfs0 <ZFS>
<FREE> -:- 164K - - -
root@mowa219-gjp4-freebsd-d31121-mobile:~ # smartctl -a /dev/da0
smartctl 7.2 2020-12-30 r5155 [FreeBSD 14.0-CURRENT amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: SAMSUNG HM251JX
Serial Number: 29251B141A0T0Z
LU WWN Device Id: 5 0f0000 01411040a
Firmware Version: 2AF00_01
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS, ATA/ATAPI-7 T13/1532D revision 0
SATA Version is: SATA 2.5, 1.5 Gb/s
Local Time is: Sat Jul 24 03:33:04 2021 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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 245) Self-test routine in progress...
50% of test remaining.
Total time to complete Offline
data collection: ( 102) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
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: ( 102) minutes.
SCT capabilities: (0x003f) SCT Status supported.
SCT Error Recovery Control 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 0x000f 100 100 051 Pre-fail Always - 1
3 Spin_Up_Time 0x0007 252 252 025 Pre-fail Always - 2750
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 880
5 Reallocated_Sector_Ct 0x0033 091 091 010 Pre-fail Always - 92
7 Seek_Error_Rate 0x000e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 252 252 000 Old_age Always - 8
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 298
191 G-Sense_Error_Rate 0x0032 252 252 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 222
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 46 (Min/Max 13/46)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 252 252 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 7
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 95
201 Soft_Read_Error_Rate 0x0032 252 252 000 Old_age Always - 0
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 13
225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 2947
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% 6 -
# 2 Extended offline Aborted by host 90% 1 -
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Self_test_in_progress [50% left] (0-65535)
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.
root@mowa219-gjp4-freebsd-d31121-mobile:~ # grep vdev /var/log/messages
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2062]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150365696 size=61440 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2066]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=4396314624 size=1024 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2070]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150369792 size=1024 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2074]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150382080 size=4096 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2078]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150373888 size=4096 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2082]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150398464 size=28672 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2086]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150386176 size=12288 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2090]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150361600 size=512 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2094]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150365696 size=1024 error=5
Jul 23 19:33:55 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[2098]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=9150377984 size=4096 error=5
Jul 23 19:50:35 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1426]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34365239296 size=4096 error=5
Jul 23 20:03:42 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1408]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=21480337408 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1315]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660968448 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1319]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36514074624 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1323]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660931584 size=12288 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1327]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660976640 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1331]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=21485654016 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1335]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=17203744768 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1339]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660939776 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1343]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34368606208 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1347]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=8894406656 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1351]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=27980627968 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1355]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660931584 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1359]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=30071943168 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1363]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660956160 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1367]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=30071918592 size=4096 error=5
Jul 24 01:43:20 mowa219-gjp4-freebsd-d31121-diff92312-mobile ZFS[1371]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38660935680 size=4096 error=5
Jul 24 02:16:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1630]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=232605097984 size=8192 error=5
Jul 24 02:16:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1634]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=232605360128 size=8192 error=5
Jul 24 02:16:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1638]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=270336 size=8192 error=5
Jul 24 02:16:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1642]: vdev probe failure, zpool=d31121 path=/dev/da0p4
Jul 24 02:19:09 mowa219-gjp4-freebsd-d31121-mobile ZFS[1674]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=4404297728 size=4096 error=5
Jul 24 02:26:26 mowa219-gjp4-freebsd-d31121-mobile ZFS[1724]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34395947008 size=8192 error=5
Jul 24 02:26:26 mowa219-gjp4-freebsd-d31121-mobile ZFS[1728]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34395758592 size=4096 error=5
Jul 24 02:26:26 mowa219-gjp4-freebsd-d31121-mobile ZFS[1732]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34395947008 size=4096 error=5
Jul 24 02:26:26 mowa219-gjp4-freebsd-d31121-mobile ZFS[1736]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=4404719616 size=4096 error=5
Jul 24 02:26:26 mowa219-gjp4-freebsd-d31121-mobile ZFS[1740]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34395951104 size=4096 error=5
Jul 24 02:33:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[1800]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=53693538304 size=8192 error=5
Jul 24 02:39:03 mowa219-gjp4-freebsd-d31121-mobile ZFS[1815]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38664474624 size=512 error=5
Jul 24 02:39:03 mowa219-gjp4-freebsd-d31121-mobile ZFS[1819]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36516069376 size=4096 error=5
Jul 24 02:39:03 mowa219-gjp4-freebsd-d31121-mobile ZFS[1823]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34423980032 size=4096 error=5
Jul 24 02:44:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[1840]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=53693669376 size=8192 error=5
Jul 24 02:48:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1848]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38664863744 size=512 error=5
Jul 24 02:48:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1852]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36516237312 size=4096 error=5
Jul 24 02:48:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1856]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34426204160 size=4096 error=5
Jul 24 02:53:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1864]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36516352000 size=4096 error=5
Jul 24 02:53:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1868]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38665248768 size=512 error=5
Jul 24 02:53:59 mowa219-gjp4-freebsd-d31121-mobile ZFS[1872]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34428325888 size=4096 error=5
Jul 24 02:57:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1887]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38665433088 size=512 error=5
Jul 24 02:57:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1891]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36516433920 size=4096 error=5
Jul 24 02:57:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[1895]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34441207808 size=4096 error=5
Jul 24 03:18:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2688]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38667341824 size=512 error=5
Jul 24 03:18:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2692]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34479443968 size=4096 error=5
Jul 24 03:18:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2696]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36570902528 size=4096 error=5
Jul 24 03:24:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2984]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38667726848 size=512 error=5
Jul 24 03:24:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2988]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36580663296 size=4096 error=5
Jul 24 03:24:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[2992]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34482216960 size=4096 error=5
Jul 24 03:27:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[2999]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=36581105664 size=4096 error=5
Jul 24 03:27:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[3003]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=38667890688 size=512 error=5
Jul 24 03:27:02 mowa219-gjp4-freebsd-d31121-mobile ZFS[3007]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=34482962432 size=4096 error=5
Jul 24 03:33:00 mowa219-gjp4-freebsd-d31121-mobile ZFS[3028]: vdev I/O failure, zpool=d31121 path=/dev/da0p4 offset=53692710912 size=8192 error=5
root@mowa219-gjp4-freebsd-d31121-mobile:~ #