/tmp filling up on embedded USB install



  • Hi all,

    I'm running pfsense off a thumbdrive, and my /tmp partition keeps filling up every time SNORT rules need to update. Is there any way to expand the /tmp partition?

    [2.1.2-RELEASE][root@pfsense.nowsci.local]/tmp(14): df -h
    Filesystem           Size    Used   Avail Capacity  Mounted on
    /dev/ufs/pfsense1    1.8G    361M    1.3G    21%    /
    devfs                1.0k    1.0k      0B   100%    /dev
    /dev/ufs/cf           49M      4M     41M     9%    /cf
    /dev/md0              38M     26M    8.9M    75%    /tmp
    /dev/md1              57M     19M     34M    36%    /var
    devfs                1.0k    1.0k      0B   100%    /var/dhcpd/dev
    [2.1.2-RELEASE][root@pfsense.nowsci.local]/tmp(15): mount
    /dev/ufs/pfsense1 on / (ufs, local, noatime, synchronous)
    devfs on /dev (devfs, local)
    /dev/ufs/cf on /cf (ufs, local, noatime, synchronous)
    /dev/md0 on /tmp (ufs, local)
    /dev/md1 on /var (ufs, local)
    devfs on /var/dhcpd/dev (devfs, local)
    [2.1.2-RELEASE][root@pfsense.nowsci.local]/tmp(16):
    

    The above shows 75%, but it regularly hits 100% and I get dmesg errors.

    Thanks,
    Ben


  • Netgate Administrator

    You can adjust the size of /tmp and /var in System: Advanced: Miscellaneous: as long as you have ram spare to do so.

    Steve



  • @stephenw10:

    You can adjust the size of /tmp and /var in System: Advanced: Miscellaneous: as long as you have ram spare to do so.

    Steve

    Wow, I completely forgot that they were RamFS. Thanks.

    Ben


Log in to reply