I have an old HDD which failed and I'm trying to recover what's possible with
testdisk. The plan was to use
dd to make an image and then use
testdisk to recover files from the image to avoid damaging the disk even more.
I used the following command:
sudo dd if=/dev/sdc of=/mnt/BigDisk/backup.iso status=progress
Everything worked fine until the progress stopped. It didn't go down to 0MB/s it just froze.
I waited for several hours and nothing changed. Then I tryed
Ctrl+C out of it, but nothing. In the end I sent it a
sudo kill -9 <pid>) but even this didn't work.
I also tried to run different commands like
lsblk which also got hung and did not respond to any signal, included
SIGKILL. In particular, I think that every process that tried to read or get information on that device got frozen and "unkillable".
The last thing I tried was powering-off my PC but, even then, the black screen with the blinking white bar continued to stay there and my PC never turned off.
The following day I tried using
testdisk directly on
/dev/sdc. It detected the partition (
ext4, there was just one of them) correctly and was able to read file names, but when I started copying, after some files happened the same thing it happened to
Is this some kind of kernel issue?
Arch Linux, Kernel:
/dev/sdcis an HDD with just one
ext4partition on a
/mnt/BigDriveis an external drive which had one
NTFSpartition on it, which also got damaged and now has a similar behavior as the other disk. It was mounted using