Disk usage 100%



  • Hi.. i have a problem with my disk usage.

    df -h

    Filesystem    Size    Used  Avail Capacity  Mounted on
    /dev/da0s1a    64G    59G    253M  100%    /
    devfs          1.0K    1.0K      0B  100%    /dev
    /dev/md0      1.7M    34K    1.5M    2%    /var/run
    devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev

    du -hd1

    2.0K    ./.snap
    5.9M    ./boot
    780K    ./bin
    1.5K    ./dev
    16K    ./conf.default
    2.4M    ./etc
    158K    ./libexec
    3.4M    ./lib
    2.1M    ./root
    2.0M    ./sbin
    122M    ./usr
    167M    ./var
    64K    ./tmp
    2.0K    ./mnt
    1.8M    ./cf
    2.0K    ./lost+found
    2.0K    ./media
    2.0K    ./proc
    2.0K    ./rescue
    2.0K    ./kernels
    12K    ./scripts
    308M    .

    /dev/da0s1a    64G    59G    253M  100%
    but my / only 308M

    what's wrong with my pfsense ?? meybe someone can help me…
    sorry about my english.

    thanks...



  • What version of pfSense (not the latest but the actual version number)?

    What packages do you have installed?  Does the problem go away if you reboot?



  • @Cry:

    What version of pfSense (not the latest but the actual version number)?

    What packages do you have installed?  Does the problem go away if you reboot?

    Thanks for answer,

    my pfSense version : 1.2-RELEASE built on Sun Feb 24 17:13:15 EST 2008
    my packages installed : Lightsquid 1.7.1_1, bandwidthd 2.0.1.1, imspector 0.4, phpSysInfo 2.5.3, squid  2.6.18.1, squidGuard 1.2.0_1,

    hahaha
    After trying to reboot the problem gone away … :)
    it's bug meybe ??? or something else ??

    Filesystem    Size    Used  Avail Capacity  Mounted on
    /dev/da0s1a    64G    501M    59G    1%    /
    devfs          1.0K    1.0K      0B  100%    /dev
    /dev/md0      1.7M    36K    1.5M    2%    /var/run
    devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev

    thank's Cry Havok  for your advice ... :)



  • It's been mentioned here before.  With unix you can delete a file that's open.  If you do that then while the file no longer appears in any directory listings, and isn't counted by "du", it still occupies disk space until the file is closed (at which point it is deleted).  There can be a problem with log files for certain applications when the log file is rotated but the application continues writing to it.  Eventually you run out of disk space, while not being able to tell why ;)

    If you can identify the offending application a restart of that app will solve the problem.  In your case it was probably squid.


Log in to reply