[SOLVED] How to clean up space? Started 150mb, now 450mb!
-
Hi,
Any clues what's most-likely bloating pfsense so much over time? I cleared some logs from the GUI but only saved like 4mb.
There has to be something that keeps bloating it … backups?
EDIT: SOLVED! No thanks to troll doktornotor below, who has thousands of posts, of which 90%+ is troll:
http://superuser.com/questions/529149/how-to-compact-virtualboxs-vdi-file-size
I think he's just mad that every time he says "You can't do that" I find a way to do it and prove him wrong.
This is a BIG fix that many people seem to be looking for, if you search through the forums, that no one's been able to solve. Recommend stickying the solution without the garbage posts below.
(Note step #1 as most important step – compacting without this does nothing, more or less)
-
Started what? Even the thread subject sucks, not to mention the total lack of any relevant information. If you started with 150millibits and now have 450millibits free, it'd seem your free space (whatever and whereever it is) is actually increasing.
-
Started what? Even the thread subject sucks, not to mention the total lack of any relevant information. If you started with 150millibits and now have 450millibits free, it'd seem your free space (whatever and whereever it is) is actually increasing.
This was… obvious.... but for those that lack such elementary skills (by those, I mean only, and specifically, dok, who trolls every post I've ever created):
"Started" at 150mb = when I first got PFSense running and didn't touch anything afterwords
"How to clean up space" = how can I possibly get more simple than this? What else could I possibly mean by this?
"millibits" = Even your troll attempt failed. Mb = millibits, MB = megabytes, mb, both lowercase = obviously megabytes. No one capitalizes this anymore unless it's not obvious.
"It'd seem like your freepsace is actually increasing" = No sh*t? Hence "How to clean up space"
Another troll attempt that absolutely makes you look stupid. This was cast upon yourself, not I.
Anyone have any relevant information that is not worthless in all it's totality? For doktor troll over here: The word "relevant" means, of or related to the topic. If you need to know the definition of other simple words, please Google before posting here, or be smited again. Cheers.
-
No, noone has any information since you provided NO useful insight whatsoever. How did you start with 150mb (whatever that is since you cannot be bothered with capitalization) in the first place? What's that 150mb? Used space? Determined how? It this full install? Nanobsd? How about posting df -h output when talking about disk space? What have you installed meanwhile (like, what packages) and what other relevant changes have you made that might affect disk space? Tried something obvious like running du -sh /* to determine where's the used space?
P.S. Chill out, dude. Better learn how to provide information when asking something, instead of getting pissed off when people point out that you did not provide any information required to get advise.
-
While we're on the subject, my car won't start. Any ideas why? ;)
-
No, noone has any information since you provided NO useful insight whatsoever. How did you start with 150mb (whatever that is since you cannot be bothered with capitalization) in the first place? What's that 150mb? Used space? Determined how? It this full install? Nanobsd? How about posting df -h output when talking about disk space? What have you installed meanwhile (like, what packages) and what other relevant changes have you made that might affect disk space? Tried something obvious like running du -sh /* to determine where's the used space?
P.S. Chill out, dude. Better learn how to provide information when asking something, instead of getting pissed off when people point out that you did not provide any information required to get advise.
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.
I installed sudo, and .. that's pretty much it. Which the average user would 100% assume it's a new install considering I said "started" with 150mb .. do I have to keep spoon-feeding assumed knowledge? Next, are you going to ask me if I'm using pfsense or another software, even though I'm on pfsense forum? Yes. I am using pfsense. Before you ask.
The longer it stays on the bigger it gets, so like I asked in OP, possible backups default on (that, if yes, would be a common issue for bloating..), etc..
Yes, it's an install. If it wasn't an install, it wouldn't bloat up, would it? O__o and since we're going off-topic (again), noone = no one. I recommend www.elementary-english.com
-
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.