Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] How to clean up space? Started 150mb, now 450mb!

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 7 Posters 5.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      doktornotor Banned
      last edited by

      Dude, you provided none of the requested info, just useless rants. Go help yourself. Bye.

      1 Reply Last reply Reply Quote 0
      • B
        Bibliophile
        last edited by

        @dylanh724:

        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.

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Generic cleanup:

          
          rm -Rf /*
          
          

          ::) ::) ::)

          1 Reply Last reply Reply Quote 0
          • T
            tim.mcmanus
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • B
                Bibliophile
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • D
                  dylanh724
                  last edited by

                  @tim.mcmanus:

                  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?

                  ^ 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.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dylanh724
                    last edited by

                    @Bibliophile:

                    @dylanh724:

                    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

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dylanh724
                        last edited by

                        @doktornotor:

                        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.

                        1 Reply Last reply Reply Quote 0
                        • M
                          muswellhillbilly
                          last edited by

                          @Bibliophile:

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • D
                            dylanh724
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • KOMK
                              KOM
                              last edited by

                              What a pain in teh ass.  You would think they would incorporate a defrag/compaction feature into the virtual machine definition like VMware does.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.