"Error: bad cluster 0xc0000000" on exfat SD card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
exfat-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
For my digital camera I use a micro SD flash card that came formatted with exfat. Reading this card with a card reader under Ubuntu 17.10 used to work fine, and I could also write GPS assist data onto the card.
Now pictures have accumulated on the card, and for the first time I removed files from the card (under 17.10). The card still worked in the camera but when I put it into the card reader again, nautilus told me
Error mounting /dev/sdb1 at … Command line 'mount -t "exfat" -o uhelper=
stdout: FUSE exfat 1.2.7
stderr: ERROR bad cluster 0xc0000000 while reading root directory
I tried three different card readers and also tried mounting the SD card under MS Windows. The result is the same. Linux and Windows cannot read the card, the camera can read and write it.
My guess is that deleting files from the SD card corrupted the file system.
fdisk says:
Disk /dev/sdb: 59,5 GiB, 63864569856 bytes, 124735488 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
gparted days:
unavailable unavailable 16.00 MiB
/dev/sdb1 exfat 59.64 GiB
exfatfsck says:
exfatfsck 1.2.7
Copyright (C) 2011-2017 Andrew Nayenko
Hi Renardo,
I'm fuse-exfat developer. Do you remember how many files and directories were there in the root directory? Could you post the output of
dumpexfat -s /dev/sdb1
It will print filesystem details.