EndeavourOS takes too much disk space after installation

Hello,

I recently installed EndeavourOS, and I encountered a problem. Thunar showcases that my file system takes up 18.9 GB. However, it also says that 38.5 GB are used.

image

Where did 19.6 GB of memory go?

I also checked it with Filelight, shows 18.9 GB too.

Thank you.

did you set a swap partition during install? with hybernation perhaps

Then that space is reserved

What says df -h ?

Post the output of

$ df -h

@pebcak That’s funny. I think we posted at the same time.

1 Like

I think not, but is there a way to check it?

Output of df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 457G 16G 418G 4% /
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 3.6G 0 3.6G 0% /dev/shm
efivarfs 160K 65K 91K 42% /sys/firmware/efi/efivars
tmpfs 1.5G 1.7M 1.5G 1% /run
tmpfs 3.6G 8.4M 3.6G 1% /tmp
/dev/sda1 998M 143M 856M 15% /efi
tmpfs 725M 74M 652M 11% /run/user/1000

(some contents unreadable)

Files that aren’t accessible by your user won’t be counted in the Size or Content value because the drive needs to be traversed to calculate that.

The Usage value at bottom is from disk itself, similar to ho df works. It takes into account all files, including the ones your user can’t access.

his df -h show more 18 than 38 though…

Edit:

Looks unexpected :thinking:

457 - 16 = 418

:beer: :champagne: :tropical_drink: :wine_glass: :clinking_glasses: :beers: :beer: :beer: :beer: :beer: :beer: :beer: :beer: :beer: …hum, yeah it probably does ^^

sudo lsof | grep '(deleted)' 

could it be because of deleted cache files?

2 Likes

After clearing my cache and restart, it reduced to 38.0 GB.

image

I used df -h again, this is the result.

image

sudo lsof | grep '(deleted)' 

This command gave many results, can you help me how to interpret it?

If you are using EXT4, I wonder the “lost” disk storage would not be the %5 reserved blocks:

https://wiki.archlinux.org/title/Ext4#Reserved_blocks

475 x 0.05 = 23.75

You are correct, I am using ext4. I used this command tune2fs -l /dev/mapper/luks | grep 'Reserved block count:' (hoping it’s correct).

This is the outcome:

image