I have a VitalPBX instance running on Google Cloud.
Recently I am getting messages that my diskusage is over 90% of the disk and it seems to go up 1% every week.
In my opinion my disk is only 60GB, nut my VitalPBX dashboard says: 58.6GB used and 13.6 GB free.
I want to know why the disk usage is increasing, however I have not been able to pin point the data.
Somehow I fount out all data is in /dev/sda1/ however I can not find out list the files on this device.
Can someone tell how I can see what files are using most space on my disk ?
Then got: 54G mnt and did a cd mnt and again: sudo du -sh * | grep G
Next I got: usr (3.1G) abd var (51G) and after: cd var and sudo du -sh * | grep G
I saw that most data was in log (33G) and lib (17G).
From the log folder I went to the subfolder asterisk and found about 31 files from 1 GB.
These files are fail2ban (10x) and full.* (11x)
Analyzing the datestamps on failtoban.* , I can see that I have only 5 files 7 files. 1 from today and 6 from the prior months. So for fail2ban, I seem keep a maximum of 7 monts logging.
Could anyone help me identify the FULL.* files ?
Are the the “full” Asterisk loggings ?
I have delete almost 30GB of logfiles (Fail2ban and full.*), my usage went from 58GB to abou 28 GB. (A reboot was needed for VitalPBX to show the change free space).
In the past I saw some scriptfiles that regulated the fail2ban files e.g. doing “rotate”.
However I have been searching my whole Vitalpbx disk and have not find them again.
Could anyone point me to the location of these scripts ?