I have a corrupt/failing SD card that has been used in an android phone for a long time. On that card I have hade som zip files that I'm interested in trying to recover.
First off, before using photorec, im trying to get an image of the card. But I'm having trouble.
Code: Select all
anders@DSM:~$ sudo ddrescue -d -b512 -r1 /dev/sdb SDcard_recovery.img SDcard_recovery.log
[sudo] password for anders:
GNU ddrescue 1.22
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 3792 MB, tried: 8820 kB, bad-sector: 0 B, bad areas: 0
ipos: 2487 MB, non-trimmed: 12003 kB, current rate: 0 B/s
opos: 2487 MB, non-scraped: 0 B, average rate: 8230 kB/s
non-tried: 26351 MB, bad-sector: 0 B, error rate: 3117 kB/s
rescued: 5076 MB, bad areas: 0, run time: 2m 35s
pct rescued: 16.14%, read errors: 50, remaining time: n/a
time since last successful read: 0s
Copying non-tried blocks... Pass 5 (forwards)
Unaligned read error. Is sector size correct?
anders@DSM:~$ sudo ddrescue -d -b512 -r1 /dev/sdb SDcard_recovery.img SDcard_recovery.log
GNU ddrescue 1.22
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 5076 MB, tried: 12003 kB, bad-sector: 0 B, bad areas: 0
ipos: 3728 MB, non-trimmed: 16132 kB, current rate: 0 B/s
opos: 3728 MB, non-scraped: 0 B, average rate: 10942 kB/s
non-tried: 25110 MB, bad-sector: 0 B, error rate: 4063 kB/s
rescued: 6312 MB, bad areas: 0, run time: 1m 52s
pct rescued: 20.07%, read errors: 63, remaining time: 40m
time since last successful read: 0s
Copying non-tried blocks... Pass 5 (forwards)
Unaligned read error. Is sector size correct?
anders@DSM:~$ sudo ddrescue -d -b512 -r1 /dev/sdb SDcard_recovery.img SDcard_recovery.log
GNU ddrescue 1.22
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 6312 MB, tried: 16132 kB, bad-sector: 0 B, bad areas: 0
ipos: 3731 MB, non-trimmed: 18819 kB, current rate: 0 B/s
opos: 3731 MB, non-scraped: 0 B, average rate: 16384 B/s
non-tried: 25107 MB, bad-sector: 0 B, error rate: 2621 kB/s
rescued: 6312 MB, bad areas: 0, run time: 3s
pct rescued: 20.07%, read errors: 41, remaining time: 26d 15h 2m
time since last successful read: 0s
Copying non-tried blocks... Pass 5 (forwards)
Unaligned read error. Is sector size correct?
anders@DSM:~$
The sector size of the SD card is 512, I'w checked. Searching regarding the error the only info I can find is the MAN for ddrescue that says
I can keep starting but with the same error is coming back.If your system does not support direct disc access, ddrescue will warn you. If the sector size is not correctly set, an unaligned read error will result and ddrescue will exit with status 1.
Any idea what I can do? My intention is to use phororec later on to try to recover any zip files I can find.