14 points
*

You can try using # du -h -d 1 / to locate the largest directory under /. Once you’ve located the largest directory, replace / with that directory. Repeat that until you find the culprit (if there is a single large directory).

EDIT (2024-07-22T19:34Z): As suggested by @DarkThoughts@fedia.io, you can also use a program like Filelight, which provides a visual and more comprehensive breakdown of the sizes of directories.

permalink
report
reply
13 points

You can use Filelight which is much simpler and more visual.

permalink
report
parent
reply
13 points

But it doesn’t make you feel like hackerman

permalink
report
parent
reply
5 points

goddamn does it ever feel good to feel like a hackerman

permalink
report
parent
reply
2 points

Agreed.

permalink
report
parent
reply
2 points

ncdu for the terminal. Also enables you to delete folders/files.

permalink
report
parent
reply
1 point

gdu is another alternative. It is sometimes faster than ncdu for me.

permalink
report
parent
reply
2 points

You’re a life saver I finally found the culprit

permalink
report
parent
reply
5 points

Do tell! We need a follow up :)

permalink
report
parent
reply
3 points

It’s “Steam” inside .local eat up 6GB even though I have not open it yet and tmp files (almost 5GB) that is not clear itself after installing the OS

permalink
report
parent
reply
1 point

Df does that too, or did you mean du?

permalink
report
parent
reply
4 points
*

Whoops! You are correct — I have updated the original comment. I’m not sure why I wrote df instead of du. This is a good example of why one should always be wary of blindly copying commands 😜 It begins to teeter on being potentially disastrous if I had instead wrote dd.

permalink
report
parent
reply
3 points

Luckily the syntax wouldn’t have worked if it was dd

permalink
report
parent
reply
1 point
*

Or you could use baobab to do the same thing if you want an answer within 10 minutes.

permalink
report
parent
reply
2 points

Or dust if you want it fastest with a pretty graph

permalink
report
parent
reply
14 points

Maybe you have a swap file that happens to be 16GB ?

permalink
report
reply
5 points
*

I only allowed 4G for swap, maybe arch enabled zram and it used 8GB by default and I actually don’t need to create a swap partition?

permalink
report
parent
reply
9 points

Arch doesn’t really do anything you don’t tell it to do during installation.
That’s the entire point. After installing Arch, you know what your system does, cause you configured it.

permalink
report
parent
reply
9 points

It might have something to do with the dolphin you’re keeping in there.

permalink
report
reply
3 points

?

permalink
report
parent
reply
10 points

Dolphins are quite large

permalink
report
parent
reply
4 points

But they’re faster than lightning.

permalink
report
parent
reply
6 points
*

Try the following command to list all installed packages sorted by size [source]:

LC_ALL=C.UTF-8 pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | LC_ALL=C.UTF-8 sort -h

There may be some unexpectedly large packages installed.

permalink
report
reply
5 points

Keep in mind that a part of the filesystem will be reserved on creation. Here if I create a completely empty ext4 filesystem with:

truncate -s 230G /tmp/img
mkfs.ext4 /tmp/img
mount /tmp/img /mnt

Dolphin reports “213.8 GiB free of 225.3 GiB (5% used)”

permalink
report
reply

linux4noobs

!linux4noobs@programming.dev

Create post

linux4noobs


Noob Friendly, Expert Enabling

Whether you’re a seasoned pro or the noobiest of noobs, you’ve found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux’s ongoing evolution.


Seeking Support?
  • Mention your Linux distro and relevant system details.
  • Describe what you’ve tried so far.
  • Share your solution even if you found it yourself.
  • Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
  • Properly format any scripts, code, logs, or error messages.
  • Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.

Community Rules

  • Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
  • Posts must be Linux oriented
  • Spam or affiliate links will not be tolerated.

Community stats

  • 63

    Monthly active users

  • 136

    Posts

  • 1.1K

    Comments

Community moderators