I would appreciate advice from the community about a failing hard drive.
When booting up, the computer complained about /dev/sdb, which is a ext4
HDD with data (not the computer main disk). dmesg shows `AE_NOT_FOUND`
and `failed command: READ FPDMA QUEUED` messages (full dmesg log at
https://hastebin.com/raw/jebelileru).
It has finally booted after trying unsuccessfully to start /dev/sdb.
I launched smartctl which shows hard drive failure.
---
# smartctl -H -i /dev/sdb
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-21-amd64] (local
build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" DT01ACA... Desktop HDD
Device Model: TOSHIBA DT01ACA100
Serial Number: 663X1XGNS
LU WWN Device Id: 5 000039 fe9dad918
Firmware Version: MS2OA750
User Capacity: 1 000 204 886 016 bytes [1,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Aug 31 13:56:34 2022 CEST
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: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
Failed Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
2 Throughput_Performance 0x0005 037 037 054 Pre-fail
Offline FAILING_NOW 3774
5 Reallocated_Sector_Ct 0x0033 001 001 005 Pre-fail Always
FAILING_NOW 2004
---
I did not try to mount the HDD. I plugged an external HDD (ext4) and
launched ddrescue. After two days it has recovered 33GB of 1TB but the
speed are now so slow it will take 7104 days to complete.
# ddrescue -n /dev/sdb
/media/sara/2274a2da-1f02-4afd-a5c5-e8dcb1c02195/recup_HDD_sara/image_HDD1.img
/media/sara/2274a2da-1f02-4afd-a5c5-e8dcb1c02195/recup_HDD_sara/recup.log
GNU ddrescue 1.23
Press Ctrl-C to interrupt
ipos: 33992 MB, non-trimmed: 0 B, current rate: 636
B/s
opos: 33992 MB, non-scraped: 0 B, average rate: 188
kB/s
non-tried: 966212 MB, bad-sector: 0 B, error rate: 0
B/s
rescued: 33992 MB, bad areas: 0, run time: 2d 2h
6m
pct rescued: 3.39%, read errors: 0, remaining time: 7104d
20h
time since last successful read:
0s
Copying non-tried blocks... Pass 1 (forwards)^C
Should I wait hoping for a speeding? Should I pass different option to
ddrescue or use another tool?