rootfs & /var/log getting full


K1ngJony
Go to solution Solved by JonathanM,

Recommended Posts

The rootfs and /var/log errors both arose in Fix Common Problems on my server. I have been wondering why my VM keeps crashing lately and I now suspect it's because of this.

 

I have attached my diagnostics and supplied the output for my folder on RAM below.

Any help fixing these two issues would be greatly appreciated.

 

Folders output:

 

plugin: installing: https://raw.githubusercontent.com/Squidly271/misc-stuff/master/memorystorage.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/misc-stuff/master/memorystorage.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/misc-stuff/master/memorystorage.plg ... done


This script may take a few minutes to run, especially if you are manually mounting a remote share outside of /mnt/disks or /mnt/remotes

/usr/bin/du --exclude=/mnt/user --exclude=/mnt/user0 --exclude=/mnt/disks --exclude=/proc --exclude=/sys --exclude=/var/lib/docker --exclude=/boot --exclude=/mnt -h -d2 / 2>/dev/null | grep -v 0$' '
4.0K /tmp/ca_notices
3.0M /tmp/pkg
11G /tmp/xteve
736K /tmp/user.scripts
11M /tmp/fix.common.problems
28K /tmp/unassigned.devices
13M /tmp/community.applications
8.0K /tmp/ca.turbo
420K /tmp/notifications
632K /tmp/plugins
4.0K /tmp/emhttp
11G /tmp
928K /usr/man
20K /usr/info
824K /usr/doc
248K /usr/include
23M /usr/libexec
5.0M /usr/src
57M /usr/share
46M /usr/sbin
152M /usr/local
693M /usr/lib64
5.3M /usr/lib
333M /usr/bin
1.3G /usr
22M /sbin
68K /run/libvirt
1.1M /run/docker
4.0K /run/avahi-daemon
4.0K /run/elogind
4.0K /run/dbus
284K /run/udev
8.0K /run/blkid
1.6M /run
4.0K /lib64/xfsprogs
12K /lib64/pkgconfig
1.5M /lib64/elogind
4.0K /lib64/e2fsprogs
1.5M /lib64/security
28M /lib64
69M /lib/modules
4.0K /lib/systemd
88K /lib/modprobe.d
32K /lib/dhcpcd
8.1M /lib/udev
216M /lib/firmware
293M /lib
8.0K /etc/vulkan
4.0K /etc/OpenCL
4.0K /etc/nvidia-container-runtime
8.0K /etc/docker
4.0K /etc/rsyslog.d
4.0K /etc/netatalk
1.3M /etc/libvirt
332K /etc/libvirt-
4.0K /etc/pkcs11
144K /etc/lvm
8.0K /etc/libnl
8.0K /etc/ssmtp
16K /etc/samba
40K /etc/php-fpm.d
16K /etc/php-fpm
8.0K /etc/php
36K /etc/nginx
2.2M /etc/file
24K /etc/avahi
48K /etc/apcupsd
48K /etc/security
244K /etc/ssl
608K /etc/ssh
48K /etc/mcelog
88K /etc/mc
48K /etc/logrotate.d
4.0K /etc/sensors.d
36K /etc/iproute2
9.1M /etc/udev
24K /etc/modprobe.d
4.0K /etc/skel
108K /etc/pam.d
4.0K /etc/elogind
4.0K /etc/cron.monthly
4.0K /etc/cron.hourly
8.0K /etc/cron.daily
4.0K /etc/cron.d
8.0K /etc/cron.weekly
8.0K /etc/dbus-1
4.0K /etc/sasl2
72K /etc/default
332K /etc/rc.d
8.0K /etc/acpi
60K /etc/profile.d
16M /etc
12M /bin
306M /var/sa
85M /var/local
4.0K /var/kerberos
32K /var/state
2.2M /var/cache
16K /var/named
52K /var/tmp
16K /var/spool
8.0K /var/lock
73M /var/log
8.4M /var/lib
474M /var
4.0K /root/.local
4.0K /root/.cache
4.0K /root/.config
32K /root
13G /
0 /mnt/rootshare
0 /mnt


Finished.
NOTE: If there is any subdirectory from /mnt appearing in this list, then that means that you have (most likely) a docker app which is directly referencing a non-existant disk or cache pool

script: memorystorage.plg executed

 

schirmer-nas-diagnostics-20220927-0947.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.