comtech
(Com Tech)
January 5, 2022, 7:33am
1
FreePBX 15
Similar to the thread here:
The FreePBX 14.0.13.34 installation is on a virtual machine with a 20 GB disk.
I’m getting the following email notifications hourly:
Storage space is getting high on the following drives of your system:
/dev/mapper/SangomaVG-root is 76% full
Seems like the email text is probably meant to be storage space is getting “low” rather than “high”…
[FreePBX%20Directory%20Usage%20Pic]
Based on searching through other posts, I have checked the following directories using the “ls -alh | less” command …
I am 43G of 43G full on the partition. I followed @dicko 's advice in the thread and see:
[root@afs var]# du -hx --max-depth 1 /|sort -h
0 /media
0 /mnt
0 /srv
11M /tmp
65M /opt
378M /root
575M /tftpboot
1.1G /home
2.3G /etc
2.4G /usr
33G /var
40G /
You have mail in /var/spool/mail/root
[root@afs var]# du -hx --max-depth 1 /var|sort -h
0 /var/account
0 /var/adm
0 /var/crash
0 /var/empty
0 /var/ftp
0 /var/games
0 /var/gopher
0 /var/kerberos
0 /var/local
0 /var/nis
0 /var/opt
0 /var/preserve
0 /var/yp
4.0K /var/tmp
8.0K /var/db
449M /var/cache
1.6G /var/www
2.6G /var/log
5.8G /var/spool
23G /var/lib
33G /var
[root@afs var]# du -hx --max-depth 1 /var/log|sort -h
0 /var/log/chrony
0 /var/log/ntpstats
0 /var/log/pbx
0 /var/log/radius
0 /var/log/rhsm
0 /var/log/samba
16K /var/log/tuned
28K /var/log/mariadb
100K /var/log/mongodb
768K /var/log/redis
1.8M /var/log/anaconda
24M /var/log/sa
38M /var/log/audit
67M /var/log/httpd
1.4G /var/log/asterisk
2.6G /var/log
I am missing something, Where is all the space being consumed? I deleted some of the logs and that got us back online and at 95% full, but what else is there? I can expand the partition if we must, but would like to understand what is happening.
Thanks for any insight you can provide.
comtech
(Com Tech)
January 5, 2022, 7:38am
2
Well I am staying up too late. Staring me right in the face. its in the lib dir. and it looks like MySQL. I will increase the partition.
[root@afs ~]# du -hx --max-depth 1 /var/lib|sort -h
0 /var/lib/dav
0 /var/lib/dbus
0 /var/lib/dhclient
0 /var/lib/digium
0 /var/lib/dnsmasq
0 /var/lib/games
0 /var/lib/initramfs
0 /var/lib/iscsi
0 /var/lib/lldpad
0 /var/lib/machines
0 /var/lib/misc
0 /var/lib/ntp
0 /var/lib/openvpn
0 /var/lib/os-prober
0 /var/lib/polkit-1
0 /var/lib/radiusd
0 /var/lib/rpcbind
0 /var/lib/rpm-state
0 /var/lib/samba
0 /var/lib/stateless
0 /var/lib/tftpboot
0 /var/lib/tpm
0 /var/lib/tuned
0 /var/lib/vmware
4.0K /var/lib/chrony
4.0K /var/lib/logrotate
4.0K /var/lib/plymouth
4.0K /var/lib/postfix
4.0K /var/lib/rsyslog
4.0K /var/lib/unbound
12K /var/lib/authconfig
52K /var/lib/alternatives
64K /var/lib/systemd
116K /var/lib/php
120K /var/lib/redis
376K /var/lib/pear
7.9M /var/lib/yum
12M /var/lib/mlocate
65M /var/lib/mongodb
84M /var/lib/rpm
7.1G /var/lib/asterisk
16G /var/lib/mysql
23G /var/lib
Thanks again for the previous thread @dicko .
system
(system)
Closed
January 12, 2022, 7:38am
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.