You are not logged in.
Hello! I am feeling worried.
I installed XFCE along side other apps and once checking how much space I have left.
The disk usage is larger than the file system size. No... That doesn't sound right.
I looked into it and found out that what could be helping this to get this bad is internal fragmentation, but I doubt that is the ONLY cause for 6GB to be displayed as using 30GB.
Plus, I looked more into it and internal fragmentation isn't even something to be fixed in an ext4 partition.
I ran a df command checking if applying the block size would result in a 30GB usage, and it doesn't! it's consistently 6,5GB.
df --block-size=4096 /dev/nvme0n1p3
Filesystem 4K-blocks Used Available Use% Mounted on
/dev/nvme0n1p3 121726248 1682049 113842484 2% /
Is Thunar messing with me? Is that it? What is causing such a value to appear there?
Last edited by Aron460 (2024-07-08 14:46:15)
Offline
Hello.
The GUI also warns you — twice — that it couldn’t access some of the files. Compare against `du` run with `sudo`.
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
https://wiki.archlinux.org/title/Solid_state_drive#TRIM
Also if this is btrfs you can forget about all of the information you provided.
Offline
Hello.
The GUI also warns you — twice — that it couldn’t access some of the files. Compare against `du` run with `sudo`.
Eh.. Okay. I'll just assume this is because of Thunar not having administrative privileges and mark this as solved I guess. Thanks to both you and seth for giving me more info about this.
Offline
I doubt that you're losing 25G to root-only readable paths and df doesn't suggest this either.
It's actually also not trimming nor btrfs.
Looking at df again (human readable output would have been fine, too) you've a 464GB partition, 6.4GB used and 434GB available.
The 30G "usage" is just the difference between all and availbale, but the avilable disk space is constrained by the spare that's only writable by the root and defaults to 5% of the disk space…
https://wiki.archlinux.org/title/Ext4#Reserved_blocks
Offline