Problem:
I have a SanDisk 128 GB Micro SD that used to be in my android phone. I first noticed (on the phone) that photo albums that were located on the SD opened correctly sometimes and sometimes not at all. So I took the card out to backup the files to my pc. When I mount it, I can list and see all the files, I can even copy some files sometimes, but mostly it results in the copying process just freezing and eventually giving the error:
Error splicing file: Input/output error
There's specifically one wav-file I am trying to copy that constantly fails, the weird thing is that I managed to play it halfway through once, then while trying to jump forward it froze. So it seems that some files are ok and others not, but it seems almost arbitrary at times.
What I've tried:
- I have tried mounting it on two different computers in two different card readers, both in Windows and in Ubuntu, copying using both standard drag/drop, cp and teracopy, resulting in the same behaviour.
- I have run checkdisk in windows with fix errors turned on, but it just ended after a while without any output whatsoever, and the problem persisted.
- I would like to try and run 'check/fix filesystem' from the disk utility in ubuntu 18.04, but that option is not avaible (grey). I have tried unmounting the card in Disks and still I cannot run the check/fix utility.
I have installed testdisk and photorec but have yet to try them out, as they seem to be more for recovering deleted files, and I am not sure how to (or if I even need to) use them for my purpose. Also, may I set Photorec to recover all files, and not just specific file types?
Question: Do anyone have any idea of what's going on and/or how I would best go about fixing the error? To be clear, I do not care about continuing to use the card, only recovering as much data as possible.
TL;DR: I can list all files on my Micro SD, and even read parts of some files, but copying larger amounts of data fails with input/output error.
fdisk -l for disk 'sdm':
Disk /dev/sdm: 119,1 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdm1 32768 249737215 249704448 119,1G 7 HPFS/NTFS/exFAT