Disk usage confusion

Could be a permissions issue. :person_shrugging:

Or Filelight doesnā€™t understand how to properly read and scan BTRFS, unlike traditional filesystems such as Ext4, XFS, and FAT.

2 Likes

I can confirm that Filelight shows wrong size in my device when using Btrfs.

2 Likes

okay cool!

but i still feel like 30GB is a lot ā€¦ i mean isnt it? after cleaning up everything. i dont have a lot of software and especially nothing that would take up a lot of space

No, itā€™s normal. Comparing with Manjaro KDE in my VM it also has 26 GB without my data.

Curious about,

du -hs /home

okay :+1:t3:

is there a way to show which packages / programs take up the most space?

You should disable baloo that should not further reindex your data .

  • balooctl disable
  • balooctl purge

hahaha 16GB, u got me :rofl:

5GB downloads, but almost 8GB in .local

Thatā€™s why. :point_up:

2 Likes

thanks a lot guys ! :slight_smile: :+1:t3:

i dont really understand why tbh :grimacing:

Baloo is search algorithm to collect all your files, it is enabled by default.
but It has the known bug with Btrfs or Zfs:

https://bugs.kde.org/show_bug.cgi?id=402154

It will reindex your data every snapshot and reboot and store a lot of duplicate of indexing in Baloo cache.

You do not need Baloo, just use kfind that was integrated in Dolphin.

2 Likes

okay thanks for the explanation

/tmp does not reside on disk. It is a tmpfs, i.e. a filesystem in virtual memory. Its contents live in RAM but can be paged out to swap if necessary. :wink:

Also, it is unnecessary to clean out /tmp manually, becauseā€¦

  1. Given that it only resides in virtual memory, it is empty on boot, albeit that systemd and other components of the system will quickly be creating sockets there; and

  2. On systems that are kept running overnight, systemd will periodically clean out /tmp itself by way of the systemd-clean-tmpfiles.timer.

1 Like

Our old friend @dalto has built a very nice btrfs assistant software.

I recommend taking a look at it. It is a custom package and as such unsupported - that said - check it out.

pamac build btrfs-assistant
1 Like

btrfs-assistant source is original is in his Gitlab.

We can support it if we have time.


grub-btrfs was installed in Manjaro by default.
When you try to restore a snapshot in grub, but grub is still booting into the read-only snapshot, It is not restoring anything. You need to add grub-btrfs-overlayfs in HOOKS.
See my explanation how restoring works.