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

    Netgate 5100 disk utilization at 81%

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 3 Posters 590 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.
    • M
      mercadof @stephenw10
      last edited by

      @stephenw10 said in Netgate 5100 disk utilization at 81%:

      pkg clean -ay

      Thanks for the reply. I used the command you suggested and all I got back was "Nothing to do" response. I will look into the SATA, but if there is something that is causing files to be inflated, I would like to cure that problem first.

      Thanks again.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Still look inside /var/db then. Something there is using a lot of space.

        M 1 Reply Last reply Reply Quote 0
        • M
          mercadof @stephenw10
          last edited by

          @stephenw10
          That is what I am trying to find out. Can you let me know exactly how to look for this? I am not familiar with the CLI commands.

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @mercadof
            last edited by

            @mercadof
            du -d 2 -h /var/db

            โ€œ-dโ€ is depth.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

            M 1 Reply Last reply Reply Quote 1
            • M
              mercadof @SteveITS
              last edited by

              @SteveITS Ok, thank you for that. This is what I got back:
              14M /var/db/pkg
              12K /var/db/entropy
              4.0K /var/db/ntp
              4.0K /var/db/ports
              4.0K /var/db/portsnap
              4.0K /var/db/zfsd/cases
              8.0K /var/db/zfsd
              4.0K /var/db/freebsd-update
              4.0K /var/db/ipf
              4.0K /var/db/hyperv
              12M /var/db/rrd
              8.0K /var/db/pingstatus
              8.0K /var/db/pingmsstatus
              24K /var/db/snort/sidmods
              12K /var/db/snort/iprep
              40K /var/db/snort
              328K /var/db/pfblockerng/original
              4.0K /var/db/pfblockerng/native
              252K /var/db/pfblockerng/deny
              4.0K /var/db/pfblockerng/match
              4.0K /var/db/pfblockerng/permit
              14M /var/db/pfblockerng/dnsbl
              3.8M /var/db/pfblockerng/dnsblorig
              14M /var/db/pfblockerng/dnsblalias
              4.0K /var/db/pfblockerng/ET
              33M /var/db/pfblockerng
              4.0K /var/db/aliastables
              264K /var/db/fontconfig
              8.0K /var/db/ntopng/rrd
              2.0M /var/db/ntopng/-1
              701M /var/db/ntopng/0
              182M /var/db/ntopng/1
              12M /var/db/ntopng/2
              17M /var/db/ntopng/3
              1.1G /var/db/ntopng/4
              2.2M /var/db/ntopng/5
              148K /var/db/ntopng/category_lists
              7.4M /var/db/ntopng/6
              672K /var/db/ntopng/plugins0
              2.0G /var/db/ntopng
              4.0K /var/db/redis
              4.0K /var/db/mtree
              4.0K /var/db/kea
              4.0K /var/db/dhcpcd
              2.1G /var/db

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ah ntopng data is using a lot. Are you actively using ntopng?

                M 1 Reply Last reply Reply Quote 1
                • M
                  mercadof @stephenw10
                  last edited by

                  @stephenw10 said in Netgate 5100 disk utilization at 81%:

                  ntopng

                  I show it as active. Not sure if I need this running. Is it safe to turn it off?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by stephenw10

                    Yes it's an add-on package you can disable it at any time. If you never check it it's not really helping anyway. ๐Ÿ˜‰

                    You can also just clear it's data too.

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      mercadof @stephenw10
                      last edited by

                      @stephenw10 I turned it off and unchecked the Keep Data/Settings. Does that clear the data that is already stored? If not how do I clear it?

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Nope that just means it won't keep it if you uninstall it. There is a 'Delete Data' button at the bottom of the page in Diag > Ntopng Settings.

                        M 1 Reply Last reply Reply Quote 1
                        • M
                          mercadof @stephenw10
                          last edited by

                          @stephenw10 That worked! Utilization back down to 47%. Thank you so much for your help.

                          1 Reply Last reply Reply Quote 1
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            No worries. I would still consider adding an SSD. Especially if you're going to continue running ntopng as it writes a lot of data and wares the eMMC. The 5100 is particularly unhelpful if the eMMC ever fails!

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mercadof @stephenw10
                              last edited by

                              @stephenw10 I ordered one yesterday. Should be in tomorrow. Looks like a weekend project for me. Thanks again.

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