# Unusual Space Usage

**URL:** <https://forum.endeavouros.com/t/unusual-space-usage/58127>\
**Category:** Newbie\
**Created:** [July 16, 2024, 6:18pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127 "2024-07-16T18:18:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![z580c](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/z580c/32/98828_2.png) [@z580c](https://forum.endeavouros.com/u/z580c)\
**Post date:** [July 16, 2024, 6:58pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/21 "2024-07-16T18:58:48Z")

</div>

Post a screenshot of the scan result? A fresh pair of eyes, perhaps.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 16, 2024, 6:59pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/22 "2024-07-16T18:59:34Z")

</div>

I only have 2 games downloaded, both not more than a gig.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 16, 2024, 7:00pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/23 "2024-07-16T19:00:21Z")

</div>

![image](https://forum.endeavouros.com/uploads/default/original/3X/f/2/f2347c6dc9449f777491a02a9d7aaaf46b38ccc6.jpeg)  
Something I might also add is timeshift had no effect on the space.

---

<div class="post-metadata">

**Author:** ![z580c](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/z580c/32/98828_2.png) [@z580c](https://forum.endeavouros.com/u/z580c)\
**Post date:** [July 16, 2024, 7:03pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/24 "2024-07-16T19:03:54Z")

</div>

Hit Ctrl+M to bring up the list of mounted filesystems, just to see if it agrees with the hardware you’ve got installed?

 ![Screenshot_20240716_200325](https://forum.endeavouros.com/uploads/default/original/3X/b/7/b75ea8c37558e5c0f3d264b54d622bed7dd83395.png)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [July 16, 2024, 7:04pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/25 "2024-07-16T19:04:40Z")

</div>

Install` ncdu`.

Run:` sudo ncdu /`

Also have a look at:` df -h`

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 16, 2024, 7:06pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/26 "2024-07-16T19:06:00Z")

</div>

![image](https://forum.endeavouros.com/uploads/default/original/3X/e/0/e082ef2fed6c5781485c227c5c7a94c367b3f0c4.png)  
It appears to be, only the vfat is new to me, could be with EOS.

---

<div class="post-metadata">

**Author:** ![z580c](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/z580c/32/98828_2.png) [@z580c](https://forum.endeavouros.com/u/z580c)\
**Post date:** [July 16, 2024, 7:11pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/27 "2024-07-16T19:11:55Z")

</div>

I would put money on BTRFS being the culprit here with its weird and wonderful ways of doing things.

Unfortunately I’ve avoided using it for this very reason so my limited knowledge runs out here, but I believe [pebcak](https://forum.endeavouros.com/t/unusual-space-usage/58127/25) is onto it with this one 🙂

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 16, 2024, 7:14pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/28 "2024-07-16T19:14:22Z")

</div>

df -h returns a multitude of TMPFS system which I am not sure what they exactly are, there are 5 `/dev/sbd2` entries mounted in different places:  
`/`  
`/home`  
`/var/cache`  
`/var/log`  
and the last at `/run/media/user/Secondary` which is my 2TB HDD independent of Linux, which I also am not sure why there are entries for my other drives in the `/run` folder.

ncdu is still scanning but says there was an error scanning `/run/user/1000/doc` if that matters.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 16, 2024, 7:19pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/29 "2024-07-16T19:19:06Z")

</div>

![image](https://forum.endeavouros.com/uploads/default/original/3X/1/e/1e7d704dc139660873c99b03a28729e9e7732e7c.png)  
The entries are, as you can see in the image, are mostly taken up by `/run` but other than that nothing seems too out of place, certainly not 100GB out of place

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [July 17, 2024, 6:15pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/30 "2024-07-17T18:15:50Z")

</div>

Linux file system has no secret mystery caves. Everything can be found.  
IMHO, it seems the problem starts from user misconception of technical terminology.  
We could explain better **after** we find the actual _mystery cave_ 😄 .

Please post (in text only, no images) terminal output of these (including the commands):

```auto
lsblk -fo +SIZE
cat /etc/mtab
sudo find /run -iname "*" -size +5k -exec ls -Gg '{}' \; 2>/dev/null
sudo find $HOME/.cache -iname "chrom*" -size +10M -exec ls -Gg '{}' \; 2>/dev/null | grep -c . 

```

If the last command does not give a huge number (of found files, larger than 10 MiB), you might want to run it after removing the last part (`| grep -c .`), for more details.

This is just a start of an investigation. Depending on the results, it can go further. Imagination is the limit. My 🔮 is the Guide. 😄

---

<div class="post-metadata">

**Author:** ![gladykov](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@gladykov](https://forum.endeavouros.com/u/gladykov)\
**Post date:** [July 17, 2024, 10:45pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/31 "2024-07-17T22:45:26Z")

</div>

You need to run qdirstat as root. To see nicely everything. From terminal: `sudo qdirstat`

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 18, 2024, 3:50am UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/32 "2024-07-18T03:50:00Z")

</div>

Thanks for the replies guys, I’ll make sure to try your suggestions in the morning. Been having some stormy weather so power has been sketch.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 18, 2024, 4:02pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/33 "2024-07-18T16:02:43Z")

</div>

Running qdirstat as root didn’t change much, the directories all total only 42.1 GB still.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 18, 2024, 4:10pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/34 "2024-07-18T16:10:59Z")

</div>

The 3rd command outputs so much the start of it doesn’t exist, but while it was running it was mainly showing /run/media/myuser/68A6E10CA6E0DC16 which is my Windows C drive.

lsblk -fo +SIZE output:

```auto
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS SIZE
sda 1.8T
├─sda1 16M
└─sda2 ntfs Secondary 50D6F7DDD6F7C0F0 392.8G 79% /run/media/denys/Secondary 1.8T
sdb 238.5G
├─sdb1 vfat FAT32 8F57-D3D0 745.6M 27% /efi 1G
├─sdb2 btrfs endeavouros a2463f0b-beb5-4fb4-930d-fe3efe9f66ed 24.6G 87% /home 203.1G
│ /var/log                          
│ /var/cache                        
│ /                                 
└─sdb3 swap 1 swap 64a008cc-eeec-4a12-8f8b-28210e07cc68 [SWAP] 34.4G
nvme0n1 476.9G
├─nvme0n1p1 vfat FAT32 9666-3B3A 100M
├─nvme0n1p2 16M
├─nvme0n1p3 ntfs 68A6E10CA6E0DC16 112.9G 76% /run/media/denys/68A6E10CA6E0DC16 475.7G
├─nvme0n1p4 ntfs 3A523C34523BF2ED 635M
└─nvme0n1p5 ntfs E284BC5784BC2FC1 509M

```

cat /etc/mtab output:

```auto
dev/sdb2 / btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=265,subvol=/@ 0 0
devtmpfs /dev devtmpfs rw,nosuid,size=4096k,nr_inodes=4080390,mode=755,inode64 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,size=6550808k,nr_inodes=819200,mode=755,inode64 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=7387 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,nosuid,nodev,relatime,pagesize=2M 0 0
tmpfs /run/credentials/systemd-journald.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/credentials/systemd-udev-load-credentials.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/credentials/systemd-tmpfiles-setup-dev-early.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/credentials/systemd-sysctl.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/credentials/systemd-tmpfiles-setup-dev.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/credentials/systemd-vconsole-setup.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /tmp tmpfs rw,noatime,inode64 0 0
/dev/sdb2 /var/cache btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@cache 0 0
/dev/sdb2 /var/log btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@log 0 0
/dev/sdb2 /home btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=263,subvol=/@home 0 0
/dev/sdb1 /efi vfat rw,relatime,fmask=0137,dmask=0027,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/credentials/systemd-tmpfiles-setup.service tmpfs ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=3275400k,nr_inodes=818850,mode=700,uid=1000,gid=1000,inode64 0 0
portal /run/user/1000/doc fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
/dev/sda2 /run/media/denys/Secondary ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8 0 0
/dev/nvme0n1p3 /run/media/denys/68A6E10CA6E0DC16 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8 0 0

```

And the last command returned 0 with grep and didn’t return anything without it.

Sorry if the formatting is screwed I don’t know how to make this clean and readable.

---

<div class="post-metadata">

**Author:** ![gladykov](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@gladykov](https://forum.endeavouros.com/u/gladykov)\
**Post date:** [July 18, 2024, 5:09pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/35 "2024-07-18T17:09:33Z")

</div>

Your screenshots was saying:

```auto
Snapshots and copy-on-write may consume additional disk space

```

for your disk which is BTRFS

During update some big snapshot happened?

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 18, 2024, 5:12pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/36 "2024-07-18T17:12:24Z")

</div>

Not that I know of. I will check my snapshots once I finish my work for today and will write back if I find anything.

---

<div class="post-metadata">

**Author:** ![ThatOneWapa](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@ThatOneWapa](https://forum.endeavouros.com/u/ThatOneWapa)\
**Post date:** [July 18, 2024, 5:59pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/37 "2024-07-18T17:59:11Z")

</div>

So I checked my snapshots, I have 4 of them (despite having it set to only keep 2?) and after a scan they total to 273 GB which I dont know how that is even possible because my drive is 256 GB. They are in the /run/timeshift/ folder, and they don’t show up in qdirstat or dolphin, which makes no sense to me. Additionally, I don’t know if this has to do with me installing ntfs-3g (in order to fix a different issue I had with seperate drives) but my root folder now has the folders, @, @cache, @home, @log, and timeshift-btrfs, and the ones that would normally show up in root are in the @ folder. Deleting an old timeshift entry (I made sure that I don’t need it) did nothing.

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [July 18, 2024, 6:53pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/38 "2024-07-18T18:53:34Z")

</div>

As I said,

> [@petsam](#):
>
> This is just a start of an investigation. Depending on the results, it can go further.

It could be related to btrfs subvolumes, on which I can’t help.  
Nevertheless, you may use the `find` command with proper filters (for file size) on folders you suspect the _secret cave_ is. Please, read `man find` to help you use the command efficiently, apart from the examples I proposed in my previous post.  
Unless you are lucky and someone notices the loophole in your reports, it needs some time from your side to investigate. Only you have access to the computer. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![gladykov](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@gladykov](https://forum.endeavouros.com/u/gladykov)\
**Post date:** [July 18, 2024, 9:29pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/39 "2024-07-18T21:29:59Z")

</div>

So this stuff should display correctly size on BTRFS partition:  
[https://wiki.archlinux.org/title/btrfs#Displaying\_used/free\_space](https://wiki.archlinux.org/title/btrfs#Displaying_used/free_space)

And this display size of snapshots:

> <https://unix.stackexchange.com/questions/699035/how-to-display-btrfs-snapshot-size>

So you just need to figure out how to delete data from snapshots 🙂 Or why, when you delete, they aren’t removed 🙂

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [July 18, 2024, 10:00pm UTC](https://forum.endeavouros.com/t/unusual-space-usage/58127/40 "2024-07-18T22:00:57Z")

</div>

EndeavourOS ships with a pastebin tool  
per example:

```auto
cat /etc/mtab | eos-sendlog

```

[Previous page](https://forum.endeavouros.com/t/unusual-space-usage/58127.md?page=1)

[Next page](https://forum.endeavouros.com/t/unusual-space-usage/58127.md?page=3)
