I have used Manjaro in the past then I distro hopped from it to many other distros including vanilla arch. I have noticed that every time I am on arch. It just keeps on consuming space.

I have a laptop with i5 4210U. I removed the CD drive and added a 120GB SSD about 2 Years ago. I always use the whole 120GB as my root/home until now.

Anyways, whenever I am on arch I notice that it takes around 12GB with xfce/i3wm installed and couple of drivers with all the basic packages like media player, samba, whatnot and maybe 3-4 packages from AUR. But within 2-3 days the space on my disk reduced and Arch was suddenly taking about 18GB. This happened when I was on Manjaro as well. Within a week of using Arch as my daily distro the space it was occupying was 45GB out of 120GB. What is with this? Does anyone has this issue? I checked all the files and cleared as much cache and old packages as possible and ended up with 41GB finally. I have another drive where I store all my files and downloads. I even used a disk analyzer to check and couldn’t find anything at all. I never had this issue on OpenSUSE Tumbleweed, Void or even Debian sid

@AlexMV12
link
fedilink
42Y

This is strange. Have you tried with Filelight? I mean, if the space is occupied, there must be some huge files somewhere.

@Czernobog
creator
link
fedilink
2
edit-2
2Y

I didn’t try flielight because it is kde based and since I usually use xfce I didn’t want it to install extra tons of dependencies… I did try Baobab though. The most consumed space it showed me was from icons and GTK3 theme. I had installed Bibata, Papirus and Adwaita-Cyan-Dark. I have kept a copy of these files so that whenever I distro hop I can just copy and paste them in their respective directory. All the icons and theme size is around 170MB

@YouWalkOffCliffSoDoI
link
fedilink
1
edit-2
2Y

du -xchad1 / | grep '^[0-9.]*G' - then walk down directories (changing /) until you find the problem. Your numbers sounds like something you are doing is taking up way now space than you are expecting / is normal.

@joonazan
link
fedilink
12Y

There is (was?) some big system log file that has no size limit by default. Don’t remember what exactly anymore.

@ajz
link
fedilink
1
edit-2
3M

deleted by creator

vendion
link
fedilink
22Y

You can set SystemD’s journal to use a smaller size if that helps, as by default is can grow to be fairly large. https://wiki.archlinux.org/index.php/Systemd/Journal#Journal_size_limit

Also may be worth manually cleaning old logs from the journal, seeing as your journal is already almost 400 MiB in size https://wiki.archlinux.org/index.php/Systemd/Journal#Clean_journal_files_manually

If you have not already I also recommend adding a hook to pacman to automatically run paccache to clear out old packages from /var/cache/pacman/pkg/ an example of such a hook can be found here https://bbs.archlinux.org/viewtopic.php?pid=1694743#p1694743 I usually keep the last 2 packages around incase something is broken with a newer version and need to rollback.

@Wronnay
link
fedilink
32Y

pacman-contrib ships with a tool for cleaning old packages:

pacman -S pacman-contrib

And then for automatic cleans:

systemctl enable paccache.timer
systemctl start paccache.timer

Or manually:

paccache -r
@ajz
link
fedilink
2
edit-2
3M

deleted by creator

@ajz
link
fedilink
6
edit-2
3M

deleted by creator

@Czernobog
creator
link
fedilink
32Y

When i mentioned I even used a disk analyzer, I meant baobab. No I don’t use Flatpaks. I don’t use docker either. I use my laptop for entertainment, note taking and maybe some coding like writing config files for window manager, display manager, bluetooth or samba thats it. :/

@Atemu
link
fedilink
1
edit-2
2Y

Could you run sudo du -sh /* and post the result?

@Czernobog
creator
link
fedilink
12Y

Sorry, I am not on Arch anymore.

@ajz
link
fedilink
1
edit-2
3M

deleted by creator

@ajz
link
fedilink
1
edit-2
3M

deleted by creator

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 21 users / day
  • 31 users / week
  • 89 users / month
  • 492 users / 6 months
  • 5.44K subscribers
  • 1.77K Posts
  • 5.29K Comments
  • Modlog