Space on Manjaro is being taken up for no reason

Thanks for the code. It really helped. Now I have 242.9GB. What should I do to ensure space reaches 298GB?

That didn’t do anything. Except provide output so that it can be inspected.

If some of the space is for keeping and backing up files how much storage would Manjaro need for backup using Timeshift?

When using btrfs you may need ca. 1GByte per week for updates of manjaro if using snapshots. (But these are no replacement for backups). Additionally you have to calculate what you yourself change in the filesystem in one week.

When using ext4 you may need a lot more space (because it does not snapshot) So in this case it may be necessary to reduce the frequency and the number of files to backup. Or you may use differential backups with rsync and hardlinks.

Generally a backup to the same disk is not considered a backup at all.

1 Like

There is cirtumstaces where diskspace occupied may increase uncontrollably. It most certainly will occur when using technoligies as

  • snap
  • flatpak
  • appimage

Everyone will eat your available diskspace … munch . .munch … munch

If you are using btfs then - unless you have put in controls - the eaten space will be completely out of your control

My storage in the hard disk of my laptop is slowly and gradually shrinking. Why is this happening? I installed an AUR which is Adobe Acrobat Reader known as acroread, here is it’s link AUR (en) - acroread . Does this software acroread have malware and viruses? Did I install some malware and virus along with acroread on Manjaro? Some of the AURs in Manjaro are garbage that take up space. I would like to know why the storage in my hard disk in my laptop is shrinking? Earlier I installed Manjaro and opened Timeshift a software and when Timeshift opened I pressed some buttons with dialog box without knowing that it would eat space rapidly. So I installed Manjaro again. When I installed Manjaro again I never used Timeshift. What am I suppose to do to ensure that storage space on my hard disk on my laptop doesn’t get eaten further to a state where there is no more space?

What is shrinking? Total capacity or available free space?


The above question should be answered first.


Why would you immediately jump to the possibility regarding malware? How did you go from the ambiguous question of “shrinking storage” to “Did I install a virus?” Building PKGBUILDs from the AUR take up space… as do installing any packages from the repositories.


Are you familiar with what Timeshift does?


How much capacity does your drive/partition yield to begin with?

I’m confused why this is even a question. (This thread in general.)

Saving files and installing applications and using snapshots… take up space. Same with Windows or macOS.

1 Like

Can be journal, packages cache, user .chache folder … See this

And also do this:
https://wiki.archlinux.org/title/System_maintenance#Clean_the_filesystem

That might have been mistranslated, as is sounds as if is Manjaro’s fault of what AUR does or does not. Manjaor has nothing to do with AUR. An AUR package will act the same on whatever Arch linux based distribution/system will be installed.

1 Like

Why did you double-post, when a few months ago you were already provided answers to this exact same question:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

I tried to reply to the topic I posted earlier but couldn’t do it as the time ran out. Here it is Space on Manjaro is being taken up for no reason - #12 by linux-aarhus . How long will help be given to a post until the post expires? It is the available free space that is shrinking gradually on hard disk on my laptop, not the total space and this is quite frustrating for me. What am I suppose to do to ensure that space doesn’t get eaten up any further? You all can ask questions as to why this mishap is taking place with the Manjaro Plasma operating system I am using and I will reply on time before this post expires. Can you all study all the queries I have had with this post I had put recently a few days ago and a few months ago in this post I have given the link of to in this post and ask me relevant questions as to why the space on my hard disk is shrinking on my laptop and I will give my experience before this post expires.

Hi @narendra9,

While I have seen that post previously, I haven’t read through it (yet). But please, seeing as you use plasma, can you provide the output for:

balooctl status

You are in fact just repeating yourself with an unformatted post with half sentences and generally difficult to read and understand.

There is no mishap - nothing with Plasma or Manjaro which eats your diskspace - if your diskspace shrinks it is due to your actions and/or choices and there is nothing we can say or do which can change your habits.

If you use btrfs then maintenance is required by the user - in this case you - this is a consequence of selecting btrfs - btrfs is not a set and forget filesystem - it requires periodic attention - maintenance and care - but we don’t even know if that is the case on your system.

You have been provided all kinds of possible options for you to check and if necessary implement - but you happily ignore those and create a new unreadable difficult to understand topic which at first glance looks like your previous unreadable topics.

Summarising previous reponses

  • Get rid of … whatever takes space - movies, big zip archives …
  • If you use btrfs and snapshots - cleanup your snapshots (open timeshift and do your thing)
  • Clean your filesystem
  • Clean your Pamac custom build cache
  • Reduce the logs
  • Empty your downloads folder
  • Use the package manager to remove unused applications
  • Use the package manager to clean orphan packages
  • Remove all snap packages
  • Remove all flatpak packages
  • If using SSD enable fstrim.timer to reclaim cells occupying removed data.
1 Like

Hi,

Have you ever cleaned your package cache ? Every package you install and update gets stored on your machine until you eventually get out of disk space, so you can solve this by running:

sudo paccache -rvk2

It will delete every package in your cache, and keep the 2 most recent versions of each of them. Also you’ll need to install pacman-contrib to run this command. More details here

A reply as been flagged as Solution, so…

This topic was automatically closed 2 days after the last reply.

Thanks. I tried this trick and it worked. I restored space on my hard disk of my laptop by close to 2GB. Is this a periodic function? If I need help in the future regarding this subject I will let you all know.

There should be a service running for cleaning pamac…
Try systemctl status pamac-cleancache.timer

I also use paru, and have yay installed… so I have an alias for my terminal - I simply type ‘clean’ which also rotates my journal.

alias clean='pamac clean --build-files && paccache -rvuk0 && paru --clean && sudo journalctl --vacuum-time=1day && sudo journalctl --flush --rotate'

What does this function actually do in reviewing space on the hard disk of my laptop?

It helps you to clean up after doing some work in the terminal by typing ‘clean’.