Free up space, disk storage >80%
-
Your earlier output shows the total size of /var as 697MB. That's quite big but there is still ~11GB that seem to be unaccounted for.
-
@SteveITS ntopng is not installed, maybe it has been before.
-
@stephenw10 We have many OpenVPN tunnels, could that be it?
-
No VPNs don't really use any storage.
If ntop has been uninstalled then you can remove all those db entries for it in /var.
-
@stephenw10 Great, thats something :)
Is there a good way to remove the whole ntopng directory from /var/db/ ? -
You can do a recursive delete but it's...risky! Safer to remove the files inside that directory first.
-
@stephenw10 Okay, better not risk more than I have to. But everything inside /var/db/ntopng can be removed.
-
Yes.
-
I think ntopng has a GUI button to remove all the database entries, leaving you the uninstall and any remaining rm and rmdir after that.
I'm surprised how much space pfblockerNG took; mine is a mere fraction of that.
Still lots unaccounted for. The biggest user of space on mine is having version snapshots for different dev loads. The rest is trivial:
Good hunting.
️
-
@RobbieTT Yeah, I will uninstall the PfBlocker... not using it at all.
And will clear the ntopng files...
-
@RobbieTT said in Free Disk space >80%:
I'm surprised how much space pfblockerNG took
I presume this happens out there in the wild :
People install pfBlockerng, and start to try out all these : Firewall > pfBlockerNG > Feeds because "why not ?".
Soon, they'll discover that there is something as a resource limit, and not only disk space, but also that Xeon 8 core processor that goes hot read. An ARM won't make it at all ....All these 'feed' files initially downloaded, and their parsed and assembled counter parts will stay in the sub folders of this folder path /var/db/pfblockerng for until the end of days .... (or pfSense re install) or manual cleaning, as I don't think the /var/db/pfblockerng/. is emptied upon package removal. [ I have to try that one ... ]
Still, pfBlockerng is a small example. Processes (programs) that auto generate content are a real admin's nightmare - you have to watch them as you would do with babies. Even on big-iron-servers with loads of disk space (multiple T's) I do graph constantly free inodes and free disk blocks (disk space). Here is the same thing for my pfSense.File rotating for log files is the most straightforward example : as soon as my apache2 servers (or mail server) get swamped by requests, log files start to grow rapidly - like very fast. By simply launching multiple requests the server will steadily fill up its disk space, and then the classic game starts : what comes first : log rotation or server crash.
-
Tried this today, but it seems like there is no files there?
(RobinH@192.168.3.1) Password for RobinH@fw-01.zafe.se:
[2.6.0-RELEASE][RobinH@fw-01.zafe.se]/home/RobinH: cd /var/db/ntopng/rrd
[2.6.0-RELEASE][RobinH@fw-01.zafe.se]/var/db/ntopng/rrd: ls
graphics
[2.6.0-RELEASE][RobinH@fw-01.zafe.se]/var/db/ntopng/rrd: -
Did you manage to free any significant amount of space?
-
@stephenw10 No, I cant find the entries when i look in Var/db/ntopng
-
What does
du -h -d1 /
show now? -
Is it only me that is triggered by the topic title?
No, just me and symbols then.
️
-
@RobbieTT Yeah... maybe it should be more like Free up space, disk storage >80%
-
I'd say either
Used Disk Space >80%
orFree Disk Space <20%
. I can change it? -
@stephenw10 Please do
-
@stephenw10 Well, I have'nt found the entrie files, so there is nothing deleted.
4.0K /.snap
3.0K /dev
1.4G /usr
117M /cf
1.3M /bin
4.0K /proc
96K /root
7.9M /etc
4.0K /net
426M /boot
12M /lib
4.0K /media
11M /rescue
4.0K /mnt
132M /tmp
4.9M /sbin
698M /var
192K /libexec
12K /conf.default
244K /home
4.0K /.cache
2.9G /