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

    RAM Disk Settings caused boot failure

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 1 Posters 597 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.
    • P
      ProxyMoron
      last edited by

      Hi,
        I have an APU1C4 and went to turn on "Use memory file system for /tmp and /var" under System / Advanced / Miscellaneous @ 2.4.3-RELEASE.

      However, after doing so my device would not boot.

      After trying to dig out my serial cable to find out why, i discovered that /var was out of disk space due to the default allocation of 60M not being enough.

      A quick check around the forum led me to edit /etc/rc.embedded via the shell and I upped that to 1G to get it to boot.  Turns out i needed close to 600M for the boot to work according to a df -h.

      My question is, how would i have known how much space i needed prior to reboot? Why are the defaults too low?

      1 Reply Last reply Reply Quote 0
      • P
        ProxyMoron
        last edited by

        Anyone?

        1 Reply Last reply Reply Quote 0
        • P
          ProxyMoron
          last edited by

          Seeing as nobody knows i eventually found the answer - if you goto Status\System Logs\Settings and look at the section titled "Log file size (Bytes)" you will see how many MB your logs are using there.

          There really should be a cross check here to make sure if you chose to log to memory that there will be enough available to boot.

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