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

    Nano and disk layout can we change sizes?

    Scheduled Pinned Locked Moved Hardware
    5 Posts 2 Posters 1.7k 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.
    • perikoP Offline
      periko
      last edited by

      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!!!

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

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

        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.

        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
        • perikoP Offline
          periko
          last edited by

          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!!!

          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
          www.bajaopensolutions.com
          https://www.facebook.com/BajaOpenSolutions
          Quieres aprender PfSense, visita mi canal de youtube:
          https://www.youtube.com/c/PedroMorenoBOS

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

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

            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
            • perikoP Offline
              periko
              last edited by

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

              Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
              www.bajaopensolutions.com
              https://www.facebook.com/BajaOpenSolutions
              Quieres aprender PfSense, visita mi canal de youtube:
              https://www.youtube.com/c/PedroMorenoBOS

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