Cannot read files from SD card which works fine under windows
I have a SanDisk 256GB extreme pro SD card for my camera. It works perfectly fine with the camera and with windows, but when I instert it into the card reader on linux (fedora 38) I can't copy any files from it:
cp: Fehler beim Lesen von '.../DCIM/112_FUJI/DSCF2001.RAF': Eingabe-/Ausgabefehler
Loosely translated:
cp: error while reading from '.../DCIM//112_FUJI/DSCF2001.RAF': input/output error
the card is automatically mounted and shows up in the file explorer.
@BentiGorlich
Check for Errors: Run a file system check on the exFAT partition to identify and repair any potential filesystem errors.
$ fsck.exfat -y /dev/sdg1
Try mounting the SDcard with different mount options. Create a directory where you want to mount the card, and then use the mount command with specific options. For example:
$ sudo mount -t exfat -o ro,umask=000 /dev/sdg1 /mnt/sdcard
This mounts the SD card as read-only (ro) with a more permissive umask. Adjust the options as needed