The card itself doesn't seem damaged. I can read files and store them without troubles or errors. However, if I unmount and then mount it again all changes disappeared. I want to format it but the following doesn't work and the strange thing is that I receive no error. Note that I use the sd card through an adapter.
sudo umount /dev/mmcblk0p1
sudo mkfs.vfat -F32 -v /dev/mmcblk0p1
This is the output of the last command.
mkfs.fat 4.1 (2017-01-24)
/dev/mmcblk0p1 has 4 heads and 16 sectors per track,
hidden sectors 0x2000;
logical sector size is 512,
using 0xf8 media descriptor, with 62543872 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 32 sectors per cluster.
FAT size is 15264 sectors, and provides 1953541 clusters.
There are 32 reserved sectors.
Volume ID is 58e20b82, no volume label.
However, when I remount the sd nothing changed. I also tried with gparted
but return an error and do nothing at all.
rw-rw----
. – gvgramazio Jul 31 '18 at 11:49