Storage not Freeing After Deleting From Certain Sources?
Ok, this has been an issue with the pre-installed version of Steam on Bazzite from what I can tell, I tried finding a solution online, but so far I've come up dry might have missed something, but this issue is exclusive to the Bazzite Distro
regardless this has just recently become a problem that I cannot ignore, so let me start.
I had 191.4gb of storage free storage space on my 2tb SSD, and I decided to delete Marvel Rivals, which Steam said took up 61GB, and Filelight was saying it took up 59gb, so maybe shader compilation made up the mismatch IDK, regardless after deleting Marvel Rivals which was instant, consisted of clicking the uninstall button, and DONE, and through me off, I then went to check the storage location in based on Filelight it wasn't there, Marvel Rivals from all intents, and purposes seemed deleted with no storage return to speak of like a magicians trick, I closed, and re-opened steam as I heard it could reserve that space, and only got 4gb back, but not the 59gb I expected. and I don't know where that space went to, the either I guess? IDK, but it's incredibly frustrating, and is the only thing making Bazzite a headache since I started using it Jan 7th, this has happened with every Steam install, and makes me terrified of what's happening here, and how long before I no longer have Space to work with.
26 Replies
just a heads up that any time you see
/run/user/1000/doc/...
that is a flatpak accessing an otherwise impermissible folder. you can't effect changes that way
you'd need to grant folder permissions or manually go in through Dolphin/Files to delete it yourselfSo was Filelight reading from the wrong source then?
to be upfront I DID NOT delete from Filelight, I know how many issues that would cause as appose to using Steam, so I deleted it from Steam's Storage Panal as would be standard practice on any OS/Distro, also it seems my Steam installs games to based on using Steams Browse Folder option in the Storage Panel. Although Marvel Rivals wasn't there either?
I just ran , if this helps I'm sending the output of anything with Steam but I'll be real this is my first immutable Distro, so I'm kinda learning as I go along it's been great, but this is a hoop I've yet to handle.
give
rpm-ostree status
pleaseso what exactly are you using to determine free space? Steam? Dolphin?
Filelight?
because out of those 3, Steam calculates space in a somewhat speedy manner by looking at the metadata files rather than used space on disk
holy hell, that's a lot of layered packages
All 3 to be sure
well i can tell its not related to what i would suspect it was which was the good old "snapper enabled itself" before we fixed it (in which case they would just need to update to fix it and clean up the space)
Oof, well that's not good to hear from a maintainer, if you need any other info I'd be glad to comply if it helps either of us out. I've had a month with this thing, so I dunno what could have happened, but again I installed it Jan 7th if the timeline helps?
you can run
sudo snapper list
and double check thoughthats correct
so not that
people have to explicitly make a config to enable it now since it randomly silently enabled itself in the past
and i cant replicate your issue as i just cleaned up about 250gb of games of my htpc yesterday
same image
sudo btrfs subvolume list /
I'm checking if deleting snapshot 2 from Btrfs Assistant helps somehow...
oh
Well after a that seemed to clear almost 700 gb, but now I don't know if that's just cause it deleted the backup data, or if it removed any reserved storage related to the backup somehow
there is 1 snapshot
Mhm I guess I forgot about it, but I'm a bit paranoid with Linux I made that snapshot could have been it tbh
think all you need to do without snapper configured is
sudo btrfs subvolume delete /home/.snapshots/2/snapshot
should say something like Delete subvolume 277 (no-commit): '/var/home/.test'
then you do sudo rm -r /home/.snapshots/2
to cleanup the metadataOh, is it ok if I did that all in Btrfs Assistant?

I say that cause your cli commands seemed to not be able to find the folder anymore seeing as Btrfs assistant looks to have taken care of that
might be done then, if so thanks tbh I would have kept ignoring the snapshot if I hadn't talked with you
oh yeah then you already have it sorted
you might have made a snapshot ages ago and forgot about it
Yeah, tbh I have a tendency to do that out of paranoia playing with rolling release distro's like Arch is kinda stressful without timeshift/alternatives, I took that same mentality to a immutable distro, but does it really prevent you from fully deleting games? (confirmed it most certainly does) that's kinda insane... I'll have to look into a seperate SSD then for backups.
the problem is that the steamapps folder is not a subvolume so it gets included in the snapshot
and we cant make a subvolume there until you login the first time, at which time steam has already made folders there
What about a post install script that installs steam after making a steamapps subvolume, but tbh that's obvious enough I'm sure it came up, and there was an issue with Steam in regards to that.
Either way, I'm fine as is the system seems stable enough in the month I've used it to trust the immutable nature as it's advertised
I have my eyes on a 8tbh HDD for a persistent backup with another software solution, and as of today I've moved all my games to a new SSD not my OS SSD
So tbh this has been a good kick in the pants for cleansing things up, and getting a more long term setup
Steam has to run on login for gamemode
In 99% of cases you will not need snapper