Chat Free Storage slowly decreasing

gadgethome

Blitz 1st Class
Original poster
Donor
92
20
Hi,

My free space is slowly decreasing over time. Storage: 57G used, 25G free, 85G total
Is 57G used a typical amount for most people?

I ran the following and it shows hardly any space being used
du -sh /mnt/move
du -sh /mnt/downloads
du -sh /mnt/pgbltz

Are there any other locations/temp storage I can clear down?
Thanks
 

Porkie

Blitz Sergeant
Staff
139
56
It could be plex metadata and thumbnails if you use plex, it also could be due to very large log files for things like NZBget. Both of which can be found under /opt/appdata.
 

MrDoob

Administrator
Project Manager
Donor
1,459
420
du -sh /opt/appdata/

du -sh /var/log/

du -sh /var/plexguide/logs
 
  • Like
Reactions: gadgethome

gadgethome

Blitz 1st Class
Original poster
Donor
92
20
Found this useful command.
Clear systemd journals older than X days


journalctl --vacuum-time=10d
 
Assists Greatly with Development Costs

MrDoob

Administrator
Project Manager
Donor
1,459
420
Here we go an short fix

But I will implemented in the next rollout for all user

Bash:
cd /etc/systemd/
Bash:
cp journald.conf journald.conf.old
Bash:
nano journald.conf

Bash:
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.

[Journal]
#Storage=auto
Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
SystemMaxUse=1G
#SystemKeepFree=
#SystemMaxFileSize=
SystemMaxFiles=10
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
Bash:
service systemd-journald restart

Now journald folder in /var/log dont use more then 1GB :p
 

MrDoob

Administrator
Project Manager
Donor
1,459
420
Bash:
service systemd-journald status | tail -n 1
Bash:
May 25 15:21:23 PlexBitch systemd-journald[7309]: 

System journal
 (/var/log/journal/92e2aa28e92f484fbe93610603d44236) 

is 80.0M, max 1.0G, 943.9M free
 

gadgethome

Blitz 1st Class
Original poster
Donor
92
20
I am now down to 18GB free space. Lost about 7GB in the last few weeks. I've rerun the commands to check space and nothing seems to be using it up.

Any other tools to run to free up space?

Thanks
 

MrDoob

Administrator
Project Manager
Donor
1,459
420
Check first the space used folders

du -h --max-depth=2 /opt/
du -h --max-depth=2 /var/
 
  • Like
Reactions: gadgethome

MrDoob

Administrator
Project Manager
Donor
1,459
420
sudo prune

And all old unused container are removed
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads