[SOLVED] How to clean up space? Started 150mb, now 450mb!
-
Dude, you provided none of the requested info, just useless rants. Go help yourself. Bye.
-
So you are telling me that there is NO GENERIC ADVICE at ALL for clearing space or common issues on space bloating? NONE? I have trouble believing this.
You know how, when you ask a forum question, some wizened troll pops up with some lame reference to using the search function (instead of just answering the question)? Well, I did search…and I found this thread. I too am looking for some generic tips on how to reduce storage space on a relatively generic (2.2.2) pfSense installation that is about 90% of the way (and growing) of eating up my ~20 GB storage space. So, does anyone have any tips they'd be willing to share?
Thanks in advance for helpful replies.
-
Generic cleanup:
rm -Rf /*
::) ::) ::)
-
This kind of information will help us help you:
doktornotor, I am running pfSense 2.2.2 64-bit with an Intel Core i3-2100 Sandy Bridge dual core - Intel BOXDQ77MK LGA 1155 Intel Q77 - 4GB RAM - 320 GB 7200RM HD - 2 x Intel EXPI9301CTBLK 10/ 100/ 1000Mbps PCI-Express Network Adapter.
I have the following packages running: pfBlocker, OpenVPN, an IPsec tunnel and a lot of firewall rules. I've seen the drive space increase from 4% to 5% over the past three months. All of my logging is set to defaults, and there is no additional logging in any of my rules. Do you have any suggestions to help me manage disk space consumption? Should I even be worried since logging is circular logging?
-
Run:
du -hd1 /
and find out where the space is consumed.
Nothing in the base system will grow significantly. Almost always where disk usage grows quickly, it's Squid.
-
@cmb:
Run:
du -hd1 /
and find out where the space is consumed.
Nothing in the base system will grow significantly. Almost always where disk usage grows quickly, it's Squid.
That got me started on identifying the problem, which was ntop. Turns out, ntop was using almost all my storage space and not deleting logs in, what I thought, was a round-robin database. Upon de-installation, I was still left with about 20GB files in /var/db/ntop - which I am now deleting. Thank you.
-
This kind of information will help us help you:
doktornotor, I am running pfSense2.2.2 64-bit ~~with an Intel Core i3-2100 Sandy Bridge dual core - Intel BOXDQ77MK LGA 1155 Intel Q77 - 4GB RAM - 320 GB 7200RM HD - 2 x Intel EXPI9301CTBLK 10/ 100/ 1000Mbps PCI-Express Network Adapter.I have the following packages running: pfBlocker, OpenVPN, an IPsec tunnel and~~ a lot of firewall rules.
I've seen the drive space increase from 4% to 5% overthe past three months.All of my logging is set to defaults, and there is no additional logging in any of my rules. Do you have any suggestions to help me manage disk space consumption? Should I even be worried since logging is circular logging?^ I am going to crossout everything irrelevant to space bloat or something I've already said above, resulting in you just naming default settings (why would I name default settings? Why would I name my PC specs when it's irrelevant to space bloat? Really the only thing I should have added was the version and over how long, but really still don't even need that for generic info.
And as for the guy above that said he's also looking for generic advice and already searched the forums – freaking thank you.
And Dok, I actually gave you a thanks (although it looks sketchy and going to back up my sh*t before I try it)! You're at 1 thanks and 3 smites, worth it?
EDIT: Looks like it's going to be 4 smites, good thing i googled:
http://i.imgur.com/JSP1AYs.png
I hope no one did that.
-
So you are telling me that there is NO GENERIC ADVICE at ALL for clearing space or common issues on space bloating? NONE? I have trouble believing this.
You know how, when you ask a forum question, some wizened troll pops up with some lame reference to using the search function (instead of just answering the question)? Well, I did search…and I found this thread. I too am looking for some generic tips on how to reduce storage space on a relatively generic (2.2.2) pfSense installation that is about 90% of the way (and growing) of eating up my ~20 GB storage space. So, does anyone have any tips they'd be willing to share?
Thanks in advance for helpful replies.
Also found backups at cf/conf/backup
http://i.imgur.com/PW5ReEp.png
Is there a way to turn off ALL backups? I have my own backup system
-
Good that you still failed to produce any information whatsoever, despite not requested just by me, but pfSense developer as well – and instead decided to go on with your incessant rants, ignorance and more useless noise.
Run the fscking command to find your disk usage!
Is there a way to turn off ALL backups? I have my own backup system
It's carefully "hidden" under Diagnostic - Backup/Restore - Config History. Turning this off altogether is completely retarded idea.
-
Good that you still failed to produce any information whatsoever, despite not requested just by me, but pfSense developer as well – and instead decided to go on with your incessant rants, ignorance and more useless noise.
Run the fscking command to find your disk usage!
Is there a way to turn off ALL backups? I have my own backup system
It's carefully "hidden" under Diagnostic - Backup/Restore - Config History. Turning this off altogether is completely retarded idea.
Cheers. I'm on a different level than you, sir. I know what I'm doing.
-
@cmb:
Run:
du -hd1 /
and find out where the space is consumed.
Nothing in the base system will grow significantly. Almost always where disk usage grows quickly, it's Squid.
That got me started on identifying the problem, which was ntop. Turns out, ntop was using almost all my storage space and not deleting logs in, what I thought, was a round-robin database. Upon de-installation, I was still left with about 20GB files in /var/db/ntop - which I am now deleting. Thank you.
Suggestion to Bibliophile: I'm running NTopNG and found exactly the problem you were having. I run a short cron job to clear out NTopNG data files older than 30 days:
0 0 1 * * /usr/bin/find /var/tmp/ntopng/* -mindepth 1 -mtime +30 -delete
I assume that NTop writes it's files somewhere similar, so it's just a matter of altering the target path slightly. At least it'll keep you from having to manually delete files as you go, assuming you decide to keep NTop of course.
-
FOUND ULTIMATE SOLUTION for VDI/VirtualBox images!!!!
http://superuser.com/questions/529149/how-to-compact-virtualboxs-vdi-file-size
Reduced VDI size by 50% for me. -
What a pain in teh ass. You would think they would incorporate a defrag/compaction feature into the virtual machine definition like VMware does.