HELP! Dolphin says there is almost no free space on the disk, but the disk is actually almost empty

Hello. For some reason, dolphin started thinking that I've used 950gb out of 1Tb of space on my disk, but my home directory is only about 30gb. I've noticed it when saw that Steam think that there is a lot of "Non-Steam" space being used. After some research, I've nuked my steam "common" folder (that was about 400gb) and after that the Steam folder itself and it only got worse and now Steam says that there is almost no free space left. Please help!
No description
No description
No description
No description
No description
Solution:
yeah make sure the services are turned off and if you need to make a snapshot (which will also snapshot the installed games in your /home) you just take one manually using btrfs-assistant
Jump to solution
80 Replies
antheas
antheas4mo ago
@krapiva1423 run df
krapiva1423
krapiva1423OP4mo ago
No description
antheas
antheas4mo ago
try /var and /sysroot
krapiva1423
krapiva1423OP4mo ago
In Filelight?
antheas
antheas4mo ago
yes
krapiva1423
krapiva1423OP4mo ago
No description
krapiva1423
krapiva1423OP4mo ago
@antheas what should I check next?
antheas
antheas4mo ago
uh seems like you might have a snapshot problem i dont recall the exact commands but you need to mount the btfs partition without a supvolume subvolume to see what volumes and snapshots are there and then delete the old snapshots
krapiva1423
krapiva1423OP4mo ago
Ok. Should I try to look for commands for myself, or wait until someone who knows what they're doing? I'm still going too search for them, but I'm not going to perform any actions before confirmation from someone else.
wolfyreload
wolfyreload4mo ago
This might be a silly question but this has caught me out before. Did you clear the "Trash" folder in dolphin? You might find your 400GB that you deleted are in there.
krapiva1423
krapiva1423OP4mo ago
I did, but now, for some reason, three directories appeared there. They weight about 4gb combined and I can't "Empty Trash" for some reason.
No description
No description
HikariKnight
HikariKnight4mo ago
open btrfs-assistant and manage snapshots from there or sudo snapper in the terminal no idea about the trash though
krapiva1423
krapiva1423OP4mo ago
Is Snapper comes preinstalled or I need to install it first?
HikariKnight
HikariKnight4mo ago
pre-installed the automatic snapshot service should be disabled by default too
krapiva1423
krapiva1423OP4mo ago
Am I doing something wrong?
No description
HikariKnight
HikariKnight4mo ago
considered trying sudo snapper --help if you want the gui use btrfs-assistant
HikariKnight
HikariKnight4mo ago
you can also turn off the automatic snapshots there if they are enabled and you dont want them
No description
krapiva1423
krapiva1423OP4mo ago
Do I need them?
HikariKnight
HikariKnight4mo ago
recommended if you dont isntall games to your homefolder, but i think you do they are supposed to be disabled by default though
krapiva1423
krapiva1423OP4mo ago
I opened btrfs-assistant with sudo. Can I make it black like on your screen?
HikariKnight
HikariKnight4mo ago
you only need snapper-boot+cleanup or snapper-timeline+cleanup if you do want them enabled open it from the start menu like a normal person
krapiva1423
krapiva1423OP4mo ago
It's painfully white
HikariKnight
HikariKnight4mo ago
dont run random stuff with sudo if its a gui program its a nice way to break your homefolder
krapiva1423
krapiva1423OP4mo ago
Got it But it is still white
HikariKnight
HikariKnight4mo ago
also since you opened it with sudo without using the start menu your flatpaks might be broken until you reboot due to a bug with btrfs-assistant
krapiva1423
krapiva1423OP4mo ago
Should I set everyghing like on your screenshot?
HikariKnight
HikariKnight4mo ago
those are my settings, you set the settings you want or turn off the services if you dont want automatic snapshots if you install games to your homefolder (steam default) then i recommend keeping auto snapshots off
krapiva1423
krapiva1423OP4mo ago
Like this? Or should I also enable cleanup?
No description
HikariKnight
HikariKnight4mo ago
cleanup is only needed with automatic snapshots, avoids you filling your disk with snapshots (unless you install games in your homedir which is why its supposed to be off by default)
krapiva1423
krapiva1423OP4mo ago
Looks like I have 123 snapshots. Should I delete them?
No description
krapiva1423
krapiva1423OP4mo ago
Or is it just some sort of log?
HikariKnight
HikariKnight4mo ago
those are snapshots it has taken
krapiva1423
krapiva1423OP4mo ago
Ok, I'm stupid. There are the snapshots
No description
HikariKnight
HikariKnight4mo ago
what you can do is change number to 1 in the snapper settings then run sudo systemctl start snapper-cleanup.service it would then cleanup all the old snapshots for you or you can just select them all and delete them
krapiva1423
krapiva1423OP4mo ago
Not sure how to do it.
HikariKnight
HikariKnight4mo ago
i literally told you how
krapiva1423
krapiva1423OP4mo ago
oh Missed the "settings" part
HikariKnight
HikariKnight4mo ago
the snapper tab supports selecting multiple snapshots so you can just delete them all in 1 go from there too its safe to delete all the snapshots in the snapper tab as the snapshot that is active is not shown
krapiva1423
krapiva1423OP4mo ago
It cleaned a little bit of space. The line was red before that
No description
No description
HikariKnight
HikariKnight4mo ago
give it time to refresh refresh in btrfs assistant to see if there are any left
krapiva1423
krapiva1423OP4mo ago
I see. It's slowly frees space on the disk
No description
krapiva1423
krapiva1423OP4mo ago
All 123 are still there in "Browse/Restore"
HikariKnight
HikariKnight4mo ago
clicked refresh?
krapiva1423
krapiva1423OP4mo ago
Yes
HikariKnight
HikariKnight4mo ago
also its supposed to be just 50, but the numbering is sequential so once you get to lets say 51, then snapshot 1 is deleted then on snapshot 52 then snapshot 2 is deleted
krapiva1423
krapiva1423OP4mo ago
The numbering is kind of weird
No description
HikariKnight
HikariKnight4mo ago
select them all and delete them that should free up the last of them and make sure you keep the services off in the snapper settings
krapiva1423
krapiva1423OP4mo ago
Can I select multiple of them at once?
HikariKnight
HikariKnight4mo ago
since you have games installed in your homedir you do not want the snapshots to be automatic yes i said so here https://discord.com/channels/1072614816579063828/1307721817422692402/1307748055851995237
krapiva1423
krapiva1423OP4mo ago
Yes, but how? Cant figure out what to press to do it.
HikariKnight
HikariKnight4mo ago
CTRL + Click or CTRL+A once you selected 1 literally the same way you do a multi selection anywhere else
krapiva1423
krapiva1423OP4mo ago
Oh, I was doing it in Browse/Restore in instead of New/Delete
HikariKnight
HikariKnight4mo ago
thats also gonna do it
krapiva1423
krapiva1423OP4mo ago
It wouldn't let me to choose more than 1
HikariKnight
HikariKnight4mo ago
yeah it wont in the browse and restore tab only on new and delete because thats the only location you will need multi select also if you want the application to be dark you need to set the gtk theme to breeze IIRC in the system settings or set the theme to be breeze dark for kde or use vapor theme
krapiva1423
krapiva1423OP4mo ago
YES
No description
krapiva1423
krapiva1423OP4mo ago
Now it's just empty, probably because there is only about 50gb used.
No description
Solution
HikariKnight
HikariKnight4mo ago
yeah make sure the services are turned off and if you need to make a snapshot (which will also snapshot the installed games in your /home) you just take one manually using btrfs-assistant
HikariKnight
HikariKnight4mo ago
a snapshot is just an atomic backup, think of it as being a same disk "backup" that only uses space when there is a difference between the previous and current snapshot hence why it took so much space since you had installed and removed games most likely between the snapshots
krapiva1423
krapiva1423OP4mo ago
Seems about right. I was uninstalling games and then noticed that there was less and less space with each uninstall.
HikariKnight
HikariKnight4mo ago
yeah its why the services are supposed to be disabled by default and enabled if needed/wanted i will look into as to why they were enabled for you since you had no idea about them
krapiva1423
krapiva1423OP4mo ago
Thanks a lot!
antheas
antheas4mo ago
ima be honest with you, if snapper turned itself on its getting removed shouldnt have been included in the first place, but to have it turn on on its own thats too much
HikariKnight
HikariKnight4mo ago
the services are off by default, it literally is on my legion go will probably just make it run the disable command when it makes the config just to be sure on first boot
antheas
antheas4mo ago
why does it make a config shouldnt that be a dropin anyway?
HikariKnight
HikariKnight4mo ago
the dropin was not respected since it assumes the default config is /
antheas
antheas4mo ago
not turned on on my win4
HikariKnight
HikariKnight4mo ago
which is useless the config we set is /var/home and yeah its off on legion go too even the rpm if you layer it the services are off by default i literally tested this for like 2 months before merging
HikariKnight
HikariKnight4mo ago
yeah and thats what makes be believe people accidentally turning it on otherwise we would have had more than 2 reports of this
krapiva1423
krapiva1423OP4mo ago
I believe that I haven't used any commands that might've turned it on.
HikariKnight
HikariKnight3mo ago
also while im onto the topic of btrfs-assistant elsewhere, you wanted to have it in dark mode, obviously you need to set the theme for the root user to have it with dark theme since it runs with elevated permissions
krapiva1423
krapiva1423OP3mo ago
Oh, ok. How do I do that? My Global Theme is set to Vapor in the settings.
HikariKnight
HikariKnight3mo ago
Copy the settings files that set the theme to the same location in /root I don't have the settings on hand. You could also try doing sudo su then systemsettings and just set it there, that might work but not sure It's very long since I did the theme change thing for root. Also the vapor theme is just breeze dark with some transparency last I checked
krapiva1423
krapiva1423OP3mo ago
It worked! The btrfs-assistant is now in black theme. Thanks!
No description
Grandfather Mantis
I believe that I have the problem described here. I am attempting to fix it via btrfs-assistant like was suggested above. Yes, this fixed it. I had >100 snapshots. Removing most of them resolved it. Thank you, @HikariKnight .
HikariKnight
HikariKnight3mo ago
remember to turn off the service in the snapper settings tab
Grandfather Mantis
Perhaps. Maybe I'll keep it on. Now that I know how to manage it, perhaps the benefits will outweigh the disadvantages.
HikariKnight
HikariKnight3mo ago
idk how it even turned on for you, its off by default and has to be enabled by the user, you can still make manual snapshots with the service off
Grandfather Mantis
I wish that I could help answer that. If there was a checkbox for it during the installation, perhaps I checked it and forgot about it. But that was 6 months ago and I don't know.
HikariKnight
HikariKnight3mo ago
no the only checkbox i know about is in btrfs assistant

Did you find this page helpful?