BTRFS Storage decreases

Hi,
Everytime I turn on my Computer my Storage decreases by about 1GB.
I am using BTRFS and used timehift. I turned timeshift of, but still my Storage decreases…
How do I find this Culprit?

Cheers,
blusser

Possibly journal entries or log files.

You can check disk usage using du or ncdu each boot, recording the results will let you see which directories change size.

2 Likes

Another possibility - have you cleaned your pacman cache lately? that can add up with frequent updates. Just for giggles, try:
sudo paccache -rk3 to thin out the cache to at most 3 versions of installed packages (current + two previous). Substitute a 2 in place of three if current plus 1 will do you (what I use). Might be the culprit, you never know…

1 Like

Thanks but its not.
Ill look in du.

So if I do:

sudo du -d 1 -h



[man@man-allseries /]$ sudo du -d 1 -h
42G	./home
2,1G	./var
121M	./boot
0	./dev
du: cannot access './proc/45630/task/45630/fd/4': No such file or directory
du: cannot access './proc/45630/task/45630/fdinfo/4': No such file or directory
du: cannot access './proc/45630/fd/3': No such file or directory
du: cannot access './proc/45630/fdinfo/3': No such file or directory
du: cannot access './proc/45632': No such file or directory
du: cannot access './proc/45638': No such file or directory
0	./proc
du: cannot access './run/user/1000/gvfs': Permission denied
1,5M	./run
0	./sys
13G	./usr
31M	./etc
44K	./tmp
0	./mnt
3,4G	./opt
7,1M	./root
0	./srv
60G	.
-d, --max-depth=N
              print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line  argument;   --max-depth=0  is
              the same as --summarize
 -h, --human-readable
              print sizes in human readable format (e.g., 1K 234M 2G)

60G comes back. 60G also comes with sudo du -ach
If I run a script from this arch wiki entry ist says 13Gb are installed with pacman.
I have most of my data on my external drive, so my files are a couple of downloads, that’s it.
With neofetch it says i have 1151 installed packages, which I don’t think is alot.

I did sudo ls /var/cache/pacman/pkg/ | wc -l and it gives back 282 after I did yay -Sc.
At any stage sudo paccache -rk3 never worked for me. Even before yay -Sc.

out of one Terra byte 348G ist being used

[man@man-allseries /]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
dev              16G     0   16G   0% /dev
run              16G  1,4M   16G   1% /run
/dev/sdb2       932G  348G  583G  38% /
tmpfs            16G  9,9M   16G   1% /dev/shm
tmpfs            16G  159M   16G   1% /tmp
/dev/sdb1       511M  576K  511M   1% /boot/efi
/dev/sdb2       932G  348G  583G  38% /home
/dev/sdb2       932G  348G  583G  38% /var/cache
/dev/sdb2       932G  348G  583G  38% /var/log
tmpfs           3,2G   44K  3,2G   1% /run/user/1000

In my Opinion this is weird. right???

Is it snapshots?

What does sudo btrfs subvolume list / show?

2 Likes

I had a bug in timeshift, where it told me that all my snapshots didn’t need any space.
So I deleted a few snapshots and now I have more space available

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.