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

    100% disk used.. help

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 2.6k 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.
    • L
      luke240778
      last edited by

      Hey guys, i have pfSense running on a ESXi server. The HDD size is 100gb, i have squid but only giving it a small amount of disk space (whole /var/squid/ directory is only 2.5GB).

      For some reason my disk is showing 100% full on the home page of the pfSense GUI.  Can someone please assist in how i can find out what might be doing this? or if it is in fact a bug showing 100%.

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        http://forum.pfsense.org/index.php/topic,36432.0.html

        squid probably takes all you disk space. remove squid cache.

        1 Reply Last reply Reply Quote 0
        • L
          luke240778
          last edited by

          thanks for the reply.

          I dont think that that is my issue, i have already ran du -h /var/squid/ and the entire directory, cache and logs is only 2.6GB.

          Any other ideas?

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

            First run "df -i" and post that output. That will show which slice/partition is full.

            Next run "du -k -d 1 /" and it will show how much is in each directory under /, then you can follow the trail from 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
            • L
              luke240778
              last edited by

              @jimp:

              First run "df -i" and post that output. That will show which slice/partition is full.

              Next run "du -k -d 1 /" and it will show how much is in each directory under /, then you can follow the trail from there.

              Thanks jimp, here are the results i am seeing, and am even more confused as my pfSense VM is 100GB HDD allocated, and from what i see below, doesnt add up to 100GB.. so nut sure why its showing as 98% full (deleted swap.state to drop it from 100% to 98%)

              [2.0-RELEASE][admin@pfsense.mutioffice]/(10): df -i
              Filesystem  1K-blocks    Used Avail Capacity iused  ifree %iused  Mounted on
              /dev/da0s1a  4051326 3651488 75732    98%  97472 444222  18%  /
              devfs              1      1    0  100%      0      0  100%  /dev
              /dev/md0        3694      54  3346    2%      27    739    4%  /var/run
              devfs              1      1    0  100%      0      0  100%  /var/dhcpd/dev

              [2.0-RELEASE][admin@pfsense.mutioffice]/(11): du -k -d 1 /
              2      /.snap
              11914  /boot
              1424    /bin
              3      /dev
              20      /conf.default
              4684    /etc
              16      /home
              41394  /kernels
              482    /libexec
              7474    /lib
              16      /root
              3858    /sbin
              662474  /usr
              2914367 /var
              1524    /tmp
              2      /mnt
              5294    /cf
              2268    /client-export
              2      /lost+found
              3657230 /

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

                So it's under /var

                According to that df output it's only using a 4GB partition. Not 100GB.

                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
                • L
                  luke240778
                  last edited by

                  Hum… interesting, i guess something i f**ked up in the install.. cause the Virtual HDD i allocated 100GB.  Is there someway that i can extend that partition?

                  I dont really understand how that happened.. i mean i had the ISO and installed it normally, didnt get asked anywhere during install about partition sizes.. when i did the same install on a physical box it used the whole drive.. what did i do wrong?

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

                    Not easily. Easier to backup the config and reinstall.

                    Or make a new VM, install there with the right disk size, and then swap the VM disk images around.

                    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
                    • L
                      luke240778
                      last edited by

                      @jimp:

                      Not easily. Easier to backup the config and reinstall.

                      Or make a new VM, install there with the right disk size, and then swap the VM disk images around.

                      Yeah, was just thinking that i would do that.  How come on the easy install it would have created the partition as only 4gb?  shouldnt it use the entire disk available?

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

                        @luke240778:

                        Yeah, was just thinking that i would do that.  How come on the easy install it would have created the partition as only 4gb?  shouldnt it use the entire disk available?

                        It wouldn't unless the entire disk was only 4 GB (sure it's 100 GB? maybe misrepresented to the OS, check the system log after boot to see what the hypervisor tells the VM it has available) or it was manually partitioned.

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