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

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

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 1.3k 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.
  • D
    dtgoodwin11
    last edited by Dec 6, 2018, 5:02 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Dec 7, 2018, 8:45 PM

      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 May 23, 2022, 9:49 AM Reply Quote 3
      • M
        musman @jimp
        last edited by May 23, 2022, 9:49 AM

        @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.
          This community forum collects and processes your personal information.
          consent.not_received