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

    RAM disk not working after upgrade

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 722 Views 3 Watching
    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.
    • R Offline
      raven20
      last edited by

      When I upgraded to 2.6.0, it seems to be no longer using RAM for /tmp and /var. I have tried unselecting Use RAM disks, rebooting, and then reselecting and rebooting with not change. Dashboard is no longer showing any RAM disks, and the Disks is showing /tmp 0% of 100M and /var 36% of 200M (which is what I set them to). I checked both directories, and it does seem to be writing to the drive.

      Any suggestions?

      S jimpJ 2 Replies Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @raven20
        last edited by

        @raven20 On the dashboard widget for Drives click the > to the left and it will expand to show the other mounts:
        8dca4b43-f3dd-4cf8-af1f-1ee7f1933d50-image.png

        On a router here on 21.05.x they are shown differently, as "ufs in RAM"

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        R 1 Reply Last reply Reply Quote 0
        • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate @raven20
          last edited by

          @raven20 said in RAM disk not working after upgrade:

          Dashboard is no longer showing any RAM disks, and the Disks is showing /tmp 0% of 100M and /var 36% of 200M (which is what I set them to)

          That sounds like it's using RAM disks to me. What makes you think it isn't?

          RAM disks in 22.01/2.6.0 are backed by tmpfs, not md+ufs as they were in the past. They are still RAM disks, but they use a much better mechanism now. They are not bound by kernel memory like md, they can use more system RAM than they could in the past.

          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!

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            raven20 @jimp
            last edited by

            @jimp
            I was assuming it was not since they used to show up under RAM not Disk, but maybe the way it is displayed is changed? I should have done a screen shot before the upgrade.

            1 Reply Last reply Reply Quote 0
            • R Offline
              raven20 @SteveITS
              last edited by

              @steveits
              So maybe it is in RAM? They used to display under the RAM on dashboard not Disks. Here is what my is showing:
              pfsense.png

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                raven20 @raven20
                last edited by

                @raven20
                I guess I should have read the release notes.
                "RAM disks have been converted to tmpfs."
                So it is working as it should. Thanks for the screen shot, it led me to investigate further.

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