Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Filesystem full (over 32GB)

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 6.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.
    • V
      Vorkbaard
      last edited by

      Hi, browsing through my system logs I found the notification that my filesystem was full.

      The message was from HAPV (it downloads ClamAV updates) but that package wasn't installed anymore. I re-installed it, set it to never download updates, and removed it again.

      In phpsysinfo I can see other fs's are full as well:

      Mount: /
      Partition: /dev/ad0s1a
      92% full
      Free: 426.00 KB
      Used: 32.75 GB
      Size: 35.60 GB

      /dev and /var/dhcpd/dev are both 100% full: 0.00 KB free, 1.00 KB used, size 1.00 KB.
      /var/run (/dev/md0) has 3.28 MB free, 38.00 KB used on 3.61 MB.

      I'm not experiencing any problematic symptoms. I'm running a proxy on this pfSense installation. The cache size is not too big (2GB hdd cache) so that shouldn't be the cause.

      Should I worry about these numbers, and if so, is there an easy way to solve it other than backing up, re-installing and restoring?

      1 Reply Last reply
      Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        Run the following command and look for any unusually sized directories.  Should help narrow down where all your space is disappearing to.

        du -h /

        AhnHEL (Angel)

        1 Reply Last reply
        Reply Quote 0
        • Z
          zabidin2
          last edited by

          Try this. Last time i also got problem same with you and i know why.

          du -sh /var/squid/cache
          

          And see what the result is.

          1 Reply Last reply
          Reply Quote 0
          • V
            Vorkbaard
            last edited by

            Thanks for your reactions. I deleted all antivirus downloads.

            du -sh /var/squid/cache says I'm using 1.1GB in there, so that's ok.

            Using du -h / I found a lot of files but the listing went too fast. du -h /|more went too slow so I did du -h /|grep M and found a lot of 43M files in /var/db/clamav. Man rmdir in the BSD manpages told me something about forcibly removing files, but I did cd /var/db/clamav and then sort of guessed rm -drf * (careful when you do this) and all my clamav 43M files are gone now. The filesystem is 5% full so it seems all is in order.

            Thanks a lot for helping me out with this basic BSD stuff, pointing me in the right direction :)

            Oh btw,

            | mount | partition | percent capacity | free | used | size |
            | /dev | devfs | 100% | 0.00 KB | 1.00 KB | 1.00 KB |
            | /var/dhcpd/dev | devfs | 100% | 0.00 KB | 1.00 KB | 1.00 KB |

            (ah nice, the table color is white with white text, select to read :P)
            What do /dev and /var/dhcpd/dev do? dhcpd I can imagine, but why do those fs's have only 1 KB?

            1 Reply Last reply
            Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              /dev is not a real filesystem. It's just a means by which processes can access system devices in a way that "looks" like a file to the process.

              DHCP runs in a chrooted environment, and thus has its own copy of dev.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply
              Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Try:

                du -d 1 / | sort -n -r
                

                Find the largest directory, and then repeat the command in there.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy