It may seem like a simple question but even the manual doesn't seem to address it. The rescue completes with 24 bad areas. I access the target drive but it says "Folder is Empty". Presumably the ddrescue operation produces something that can be used to determine the content of the original drive, but what? What do I do with the target? Have I just wasted 2 days waiting for this process to complete?
I only rescued the primary partition of the 500GB source drive which is supposedly in ext4 format to a 1TB target drive also in ext4. I had assumed that the result would be a partition with readable files or an *.img file or something. But I'm not sure what to do with, uhh.... nothing.
OK, as per request this is the command line I used to evoke ddrescue:
sudo ddrescue -d -r3 -f /dev/sdn4 /dev/sdk rescueupdata.log
/dev/sdk
is a 1TB ssd that I just purchased and has never been used.
I had done a copy of the terminal output to clipboard, but got distracted and didn't realize that I hadn't copied it into a document. I do remember that there were 24 bad areas left after completion of 3 attempts, and I do have the mapfile. Here are the contents of that. Sorry that the result doesn't seem to be formatted in a very friendly way, but I don't really know how to use this forum's editor. It just does what it wants to.
Also, I should mention that I'm running gpart to see if it can recover a files structure on the target disk. This might take awhile, but it seemed intuitively to be the right next move. Anyway, here's the mapfile:
Mapfile. Created by GNU ddrescue version 1.23
# Command line: ddrescue -d -r3 -f /dev/sdn4 /dev/sdk rescueupdata.log
# Start time: 2021-11-10 18:39:56
# Current time: 2021-11-12 15:38:16
# Finished
# current_pos current_status current_pass 0x6B0B5D6000 + 3
# pos size status 0x00000000 0x201370C200 + 0x201370C200 0x00000200 - 0x201370C400 0xF1CC84A00 + 0x2F30390E00 0x00000200 - 0x2F30391000 0x138B31C00 + 0x3068EC2C00 0x00000200 - 0x3068EC2E00 0x1FB989200 + 0x326484C000 0x00000200 - 0x326484C200 0x00000C00 + 0x326484CE00 0x00000200 - 0x326484D000 0x3C3F67000 + 0x36287B4000 0x00000200 - 0x36287B4200 0x27F80000 + 0x3650734200 0x00000200 - 0x3650734400 0x2A4F2F600 + 0x38F5663A00 0x00000200 - 0x38F5663C00 0x8C39DE00 + 0x3981A01A00 0x00000200 - 0x3981A01C00 0x441A79E00 + 0x3DC347BA00 0x00000200 - 0x3DC347BC00 0x35B9B9400
+ 0x411EE35000 0x00000200 - 0x411EE35200 0xE7020E00 + 0x4205E56000 0x00000200 - 0x4205E56200 0x5CA65E00 + 0x42628BC000 0x00000200 - 0x42628BC200 0xE44DF400 + 0x4346D9B600 0x00000200 - 0x4346D9B800 0x6FC12AA00 + 0x4A42EC6200 0x00000200 - 0x4A42EC6400 0x57C175A00
+ 0x4FBF03BE00 0x00000200 - 0x4FBF03C000 0x133A90C00 + 0x50F2ACCC00 0x00000200 - 0x50F2ACCE00 0xD0616C600 + 0x5DF8C39400 0x00000200 - 0x5DF8C39600 0xB28D2C00 + 0x5EAB50C200 0x00000200 - 0x5EAB50C400 0x5B3B3E00 + 0x5F068C0200 0x00000800 - 0x5F068C0A00 0x00033000 + 0x5F068F3A00 0x00000800 - 0x5F068F4200 0x1893D0600 + 0x608FCC4800 0x00000200 - 0x608FCC4A00 0x815505800 + 0x68A51CA200 0x00000200 - 0x68A51CA400 0x26640BC00 + 0x6B0B5D6000 0x00000200 - 0x6B0B5D6200 0x950B29E00 +
/dev/sdk
now? Preferably with-o ro
. It may or may not succeed (because the filesystem may lack important data due to unreadable sectors of the source), but have you tried?