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

    Increase /var size

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 3.8k 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.
    • ?
      Guest
      last edited by

      hi!
      i'm a newbie with pfsense.

      i need more space for storing log files in /var partition, how can i do this?

      i have an 1GB CF card, and i have dumped this img on it "http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/embedded/1024/"

      output of df -h

      /dev/ufs/pfSense       911M     56M    782M     7%    /
      devfs                  1.0K    1.0K      0B   100%    /dev
      /dev/md0                38M     36K     35M     0%    /tmp
      /dev/md1               20M    4.8M    15.2M     1%    /var
      /dev/ufs/pfSenseCfg    3.6M     46K    3.3M     1%    /cf
      devfs                  1.0K    1.0K      0B   100%    /var/dhcpd/dev
      
      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        The point of the embedded platform is that you won't be writing logs there.  The size of the partition is therefore irrelevant ;)

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          so wich version should i use to obtain this?

          i'am building a firewall based on a net5501-70, with 1GB flash card (industrial grade, so dont worry about read&write cycles) ….i don't want to use a remote syslog server, and the spare space on the cf (on 1gb CF card with default installation of pfsense i have 800MB of "wasted" space) could be used to store log files.....

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            I'd assume that you have to install the Embedded version to get a working kernel for that processor.  There is a way to mount the filesystems as rw but you'll need to search the forum for the details as I don't use Embedded so don't know myself.

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

              You need to do a full install to the CF like you would a HD. The logs still aren't just going to pile up forever though, they're still rotated long before they get anywhere near 100 MB. If you want to do a full install to just keep more logs locally, that's not going to achieve what you desire.

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