Nano and disk layout can we change sizes?



  • Hi.

    I have work with nano 4GB, is possible to increase /var partition?

    /dev/ufs/pfsense0      1850  221  1481    13%    /
    devfs                    0    0    0  100%    /dev
    /dev/md0                38    0    34    2%    /tmp
    /dev/md1                57    7    45    14%    /var
    /dev/ufs/cf              49    0    45    0%    /cf
    devfs                    0    0    0  100%    /var/dhcpd/dev

    I want to have more space in /var, is possible?

    The reason is that I'm running squid and wanted to have more logs there(no cache).

    Pfsense 2.0.x, thanks!!!


  • Rebel Alliance Developer Netgate

    Not really. /var is a RAM disk, and most platforms that run NanoBSD don't have RAM to spare to make it larger.

    If you have more RAM, it's possible to edit the source and change the size of the RAM disk, but it's not an easily tunable knob.



  • Hi Jimp.

    This is related to squid, them I think is better to move squid logs dir to /usr to hold more logs.

    No issue changing squid log dir?

    I have been working with nano and squid and have been good just to hold more logs.

    Thanks!!!


  • Rebel Alliance Developer Netgate

    /usr is kept read-only on NanoBSD. Writing anything there like logs/cache is a good way to kill your CF.



  • Jimp appreciated your info, now I have a idea what to do, thanks Sir  :)


Log in to reply