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

    How do I disable RAM drive for /var /tmp?

    General pfSense Questions
    3
    3
    1.3k
    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.
    • D
      dtgoodwin11
      last edited by

      I stupidly enabled the RAM drive option for /var and /tmp in preparation for moving to an SSD without realizing I had wiped all my config backups and didn't take a new one. When booting, I'm immediately greeted with errors that it cannot write to /var or /tmp because the filesystem is full. The web interface won't start and don't see the normal console options after reboot, though I am presented with a login prompt and can login successfully. Is there a way I can disable this at the console?

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

        You could hand-edit the config with viconfig, or with another editor like ee and then rm /tmp/config.cache afterward. Once you remove the tag to activate the RAM disks, reboot and it should be back to normal.

        The tag you are looking for is <use_mfs_tmpvar/>

        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!

        M 1 Reply Last reply Reply Quote 3
        • M
          musman @jimp
          last edited by

          @jimp Thankyou so much, its very helpfull

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