Cant mount SD card - Solved

I copied some game files from my pc to my sd card, of which belongs in my steam deck. after it finished, i put the sd card back into the deck and noticed that i didnt see any of the stuff i just added, not even a folder. I put it back into my pc and now it fails to mount on both my pc and deck. Ive gotten this error before and remember i had to edit the fstab, so i removed any entries for my sd cards and tried again but i still got the same error. An error occured while accessing '953.6 GiB Removable Media', the system responded: The requested operation has failed: Error mounting /dev/mmcblk0p1 at /run/media/tray/numbersandletters: can't read superblock on /dev/mmcblk0p1 PC and deck are both running bazzite SD card is btrfs
9 Replies
Tray
TrayOP2mo ago
i remember ive had this happen before and it wouldnt let me mount it in dolphin, but it would in partition manager for some reason, but even that doesnt work and a restart does not fix
wolfyreload
wolfyreload2mo ago
What happens if you run a filesystem check (essentially like a Windows check disk) on that drive? In your case it would be sudo fsck /dev/mmcblk0p1 does it bring back any errors? You might have disconnected the drive write it was still writing to the microsd
Tray
TrayOP2mo ago
"If you wish to check the consistency of a BTRFS filesystem or repair a damaged filesystem, see btrfs(8) subcommand 'check'."
wolfyreload
wolfyreload2mo ago
Sorry I missed that it was a btrfs microsd. Try sudo btrfs check /dev/mmcblk0p1 lets see if it picks up anything wrong with the device. If it complains about the device being currently in use, then you'll need to unmount it first, think that would be sudo umount /dev/mmcblk0p1
Tray
TrayOP2mo ago
Opening filesystem to check... parent transid verify failed on 894703861760 wanted 12909 found 12940 parent transid verify failed on 894703861760 wanted 12909 found 12940 parent transid verify failed on 894703861760 wanted 12909 found 12940 Ignoring transid failure ERROR: child eb corrupted: parent bytenr=894909972480 item=2 parent level=2 child bytenr=894703861760 child level=0 ERROR: failed to read block groups: Input/output error ERROR: cannot open file system
wolfyreload
wolfyreload2mo ago
I just found this thread https://www.reddit.com/r/btrfs/comments/sdyavm/i_ran_a_btrfs_check_on_my_filesystem_it_said/ lets leave btrfs check alone for now, apparently it doesn't do a good job at repairing things. I'll leave this to someone with better Linux knowledge than me.
Reddit
From the btrfs community on Reddit
Explore this post and more from the btrfs community
Tray
TrayOP2mo ago
bump help please Heres everything ive done so far
Tray
TrayOP2mo ago
Pastebin
tray@bazzite:~$ sudo mount -t btrfs -o ro /dev/sdb /media/tray/SDCa...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Tray
TrayOP2mo ago
I'm gonna see if i can somehow open it in windows wsl says theres not even a drive and winbtrfs shows that there is something plugged in but just tells me to format as if btrfs driver isn't installed wsl cant mount removable media and i think winbtrfs is using wsl so therefore it wont work with that but i mean i only tried windows as a just in case it works r/btrfs helped me
Want results from more Discord servers?
Add your server