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!
Solution:Jump to 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-assistant70 Replies
@krapiva1423 run
df
try /var and /sysroot
In Filelight?
yes
@antheas what should I check next?
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
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.
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.
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.
open btrfs-assistant and manage snapshots from there
or
sudo snapper
in the terminal
no idea about the trash thoughIs Snapper comes preinstalled or I need to install it first?
pre-installed
the automatic snapshot service should be disabled by default too
Am I doing something wrong?
considered trying
sudo snapper --help
if you want the gui use btrfs-assistantyou can also turn off the automatic snapshots there if they are enabled and you dont want them
Do I need them?
recommended if you dont isntall games to your homefolder, but i think you do
they are supposed to be disabled by default though
I opened btrfs-assistant with sudo. Can I make it black like on your screen?
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
It's painfully white
dont run random stuff with sudo if its a gui program
its a nice way to break your homefolder
Got it
But it is still white
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
Should I set everyghing like on your screenshot?
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
Like this? Or should I also enable cleanup?
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)
Looks like I have 123 snapshots. Should I delete them?
Or is it just some sort of log?
those are snapshots it has taken
Ok, I'm stupid. There are the snapshots
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 themNot sure how to do it.
i literally told you how
oh
Missed the "settings" part
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
It cleaned a little bit of space. The line was red before that
give it time to refresh
refresh in btrfs assistant to see if there are any left
I see. It's slowly frees space on the disk
All 123 are still there in "Browse/Restore"
clicked refresh?
Yes
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
The numbering is kind of weird
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
Can I select multiple of them at once?
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
Yes, but how? Cant figure out what to press to do it.
CTRL + Click or CTRL+A once you selected 1
literally the same way you do a multi selection anywhere else
Oh, I was doing it in Browse/Restore in instead of New/Delete
thats also gonna do it
It wouldn't let me to choose more than 1
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
YES
Now it's just empty, probably because there is only about 50gb used.
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-assistanta 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
Seems about right. I was uninstalling games and then noticed that there was less and less space with each uninstall.
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
Thanks a lot!
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
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
why does it make a config
shouldnt that be a dropin anyway?
the dropin was not respected since it assumes the default config is
/
not turned on on my win4
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 mergingyeah and thats what makes be believe people accidentally turning it on otherwise we would have had more than 2 reports of this
I believe that I haven't used any commands that might've turned it on.