SD Card reporting full...when not.

Everything was fine. I was installing games to my SD card via steam when it all of a sudden reported I was out of room even though there were 700Gb free a second before. I rebooted the device and now it shows that 700Gb is of type "other" I checked the file system and there is only 300 used(it's a 1Tb card). Did my card just become corrupt? do I need format it? is it dead?
36 Replies
phaedo
phaedoOP•9mo ago
I don't know if this is a fedora thing or what but I moved one of the games in prep for reformatting and now it's detecting fine again...I'm installing stuff. will see if it works appears fine now. Anyone ever have that happen? SD card shows full and then..just doesn't anymore?
Wizzy
Wizzy•9mo ago
i got this exact problem too! could you explain a bit better how you managed to fix this?
phaedo
phaedoOP•9mo ago
I wish that I could. I went to settings in game mode and started moving things OFF of the SD card in prep to reformat it. I moved one thing, switched to desktop mode to so I could move more files at once and noticed that the problem went away. I assume it means the SD card will die soon but so far it appears to be ok again.
Wizzy
Wizzy•9mo ago
i mean, my sd card is fresh new, only 3 month of use. i have no steam games installed on it. kde partition manager shows the correct use that is around 50%. i really dont know what to do. i think i wil start moving files and reformat in btrfs
phaedo
phaedoOP•9mo ago
my card is actually still giving me issues. it let me write to my steamapps directory, but I can no longer write to my emulation directory. yeah, I'd reformat and good luck actually it let me install 200Gb of games but now won't write anywhere
Wizzy
Wizzy•9mo ago
is that formatted in ntfs or btrfs? cause if it wont let you write the solution is taking back the original folder or drive owner by the way if you want, i will reformat in a few hours. if you want i can try first and then let you know. im moving my files to an ext hard drive. after that i will format the sd using partition manager. i will use btrfs since its so damn better for game performance on sd and for gaining a little bit more space
phaedo
phaedoOP•9mo ago
it is btrfs. and no rush. I have a new 1.5Tb card comin but won't be here for few days
Wizzy
Wizzy•9mo ago
ok, did you ever used a tool called ntfs2btrfs?
phaedo
phaedoOP•9mo ago
no. I think i brute force wiped the card and then used bazzite OS to format
Wizzy
Wizzy•9mo ago
if yes, i have used the same tool to convert ntfs into btrfs without formatting. i think that couldve been the culprit
phaedo
phaedoOP•9mo ago
it's very strange. I could install the games to the SD card yesterday, but I went to play BOTW via cemu and my saves, didn't save. now I am trying to create a text file ANYWHERE on the sd card file system and it no go
Wizzy
Wizzy•9mo ago
sudo chown -r user /folderlocation try this command and see if it lets you write. i got this problem and fixed it by doing this in ptyxis oh damn, by user i mean your pc name, like if you named your device MARCO then use sudo chown -r marco /folderlocation not sure if that was clear so just to be sure
phaedo
phaedoOP•9mo ago
yeah I figured that part out 🙂 it is giving me grief on the -r. using onscreen keyboard Annnnd the power went out lol
Wizzy
Wizzy•9mo ago
the -r part mean recursive. it is used for telling cmd to use it on all subfolder
phaedo
phaedoOP•9mo ago
Stupid winter storm Yeah. It's not recognizing the dash I think from the onscreen keyboard
Wizzy
Wizzy•9mo ago
you could even do that command pointing the entire root of the sd card
phaedo
phaedoOP•9mo ago
Ahh now it's capital R in fedora/bazzite That is what I'm trying tod o
Wizzy
Wizzy•9mo ago
oh damn i dont remember
phaedo
phaedoOP•9mo ago
It's running. Be interesting if it works No. It's still saying I have no space again Can't change
Wizzy
Wizzy•9mo ago
but i think you can move files away from it and trying again the same solution you used to do it before but im starting to think that this is something like btrfs problem btw 40% progress moving data, will reply in a few with more info
phaedo
phaedoOP•9mo ago
Yeah. It definitely needs a formating
Wizzy
Wizzy•9mo ago
im thinking this too, i will let you know in a few
phaedo
phaedoOP•9mo ago
Thanks man
Wizzy
Wizzy•9mo ago
you welcome dude, we have to help each other since we got the same problem the solution must be close or even the same. linux is strong as a community!! im back, actually now the problem is fixed after i moved everything on hdd (copy, not cut) i will still reformat
phaedo
phaedoOP•9mo ago
I'm doing the same.
Zaknh
Zaknh•9mo ago
I got the same issue. Just installed a brand new hard disk last friday and today is showing 0b free (but actually less than 350gb of a 1TB is being in fact used). I can copy things, just can't write, modify or anything like that. It happened again. This is tiring...
phaedo
phaedoOP•8mo ago
I replaced the sd card and haven't had the issue since
Zaknh
Zaknh•8mo ago
I found out that in my case it was the btrfs filesystem, I had no clue of how it worked. I changed it to ext4 after figuring it out, I have not enough understanding to keep it.
phaedo
phaedoOP•8mo ago
it's happened again. sd card still there, but it says it's full when it's not. oy what a pain actually it says, has space but can't create anything
termdisc
termdisc•8mo ago
what brand SD card? where did you buy it? did it ever work before?
phaedo
phaedoOP•8mo ago
I've been through 2 of them. the issue is not the SD card. The original one still works fine. the new one, just like the first one worked fine for a few weeks and now has issues being written to by bazzite OS. I should say the original still works fine in other devices after I removed it because of hte issue currently it now shows the correct size and in desktop mode I can create files, but when I go to install a game via steam it fails to write to it i really don't want to go back to windows the legion go seems to just...have issues weird. steam log just says can't write to location. I opened the location (/run/<blah>/steamapps and the manually can create in that directory. maybe I can remove and readd the library? cause from desktop mode seem to have no issue writing to the sd after unmounting the sd card a couple of times and restarting it is working again...
Zaknh
Zaknh•8mo ago
Are you guys using the btrfs filesystem? That was my issue since it works differently regarding excluded files Especially when downloading steam games I think it makes a lot of "temporary files" that gets "deleted after" but you still need to balance the btrfs filesystem
phaedo
phaedoOP•8mo ago
I am. it is very unstable seemingly, at least as far as I can tell on the legion go
Kyle Gospo
Kyle Gospo•8mo ago
I've never had to do this I think there are some select SD cards it has issues with You can swap the default back to ext4 in your case Edit /etc/default/steamos-btrfs Then restart and reformat your drive
VagrantWinds
VagrantWinds•8mo ago
i mentioned it https://discord.com/channels/1072614816579063828/1087140957096517672/1238669578331226133 but removing "ssd_spread" from the btrfs format/mounting options for a freshly formatted drive completely fixed this issue for me on my SanDsick cards. said options are in the /ets/defaults/steam-btrfs file @phaedo hopefully this helps you the issue happens because the btrfs metadata fills up and needs to be rebalanced, which can be a pain if it totally fills up due to needing an added external drive to do so. but it's a persisting isuse on at least some SD Cards/Brands with that "ssd_spread" format/mounting option removing said option totally fixed it for me, so it might for you as well
phaedo
phaedoOP•8mo ago
I'll keep this in mind. I reformatted as ext4(so far so good) if I need to reformat again I can go back to btrfs. Thanks for the assistance it is appreciated.
Want results from more Discord servers?
Add your server