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

    VAR out of space - Ram disk setting does nothing

    General pfSense Questions
    3
    29
    710
    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.
    • N
      ngr2001 @SteveITS
      last edited by

      @SteveITS

      Which config file, not sure what you mean / asking.

      I did clean normal install, next through all defaults. On 1st boot I enabled RAM Disks and set to 512Gb each, however that never took effect. It;s been stuck at 60Mb since install. I disabled RAM Disks, and its still shows 60Mb.

      If there is a file you would like me to check let me know.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @ngr2001
        last edited by

        @ngr2001 Diagnostics/Backup will download it.

        Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        N 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Could be some variation of this: https://redmine.pfsense.org/issues/16023 Though I've never seen that in 24.11.

          If so it should be fixed in the next 25.03 build.

          N 1 Reply Last reply Reply Quote 0
          • N
            ngr2001 @SteveITS
            last edited by

            @SteveITS

            RAM Disk is disabled currently, my backup config shows the bellow 2 values:

            <use_mfs_tmp_size>512</use_mfs_tmp_size>
            <use_mfs_var_size>512</use_mfs_var_size>

            1 Reply Last reply Reply Quote 0
            • N
              ngr2001 @stephenw10
              last edited by

              @stephenw10

              When does that come out, anything I can do in the mean time ?

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @ngr2001
                last edited by

                @ngr2001 Itโ€™s been in beta for a while:
                https://forum.netgate.com/topic/196342/pfsense-plus-25-03-beta-is-here

                Vague guess, a week or two after an RC version so maybe in a month, give or take.

                Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                N 1 Reply Last reply Reply Quote 0
                • N
                  ngr2001 @SteveITS
                  last edited by

                  @SteveITS

                  If I wasn't going to use RAM Disks, is there an easy way to increase the disk partition size ?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Without RAM disks /var should have access to the entire root partition on the drive. So pretty much unlimited for most situations.

                    With RAM disks disabled the config should still contain the previously set sizes, so they can be recalled later. It just shouldn't contain: <use_mfs_tmpvar></use_mfs_tmpvar>

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      ngr2001 @stephenw10
                      last edited by ngr2001

                      @stephenw10

                      So I disabled RAM Disks and rebooted and still have the below warning. My config still shows,

                      <use_mfs_tmp_size>512</use_mfs_tmp_size>
                      <use_mfs_var_size>512</use_mfs_var_size>

                      even though RAM Disks are disabled.

                      Are you concerned with this ? to me it reads like VAR is about to run out of disk space.

                      8f19a8e5-3a48-4b86-8576-ec241af0327f-image.png

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator @ngr2001
                        last edited by

                        @ngr2001 said in VAR out of space - Ram disk setting does nothing:

                        So I disabled RAM Disks and rebooted and still have the below warning. My config still shows,

                        <use_mfs_tmp_size>512</use_mfs_tmp_size>
                        <use_mfs_var_size>512</use_mfs_var_size>

                        Yes, like I said, it should still retain the size values so it still has them if you re-enable ram disks.

                        But it should not have the ram disks enable tags: <use_mfs_tmpvar></use_mfs_tmpvar> Does it?

                        Your screenshot shows /var as tmpfs so RAMdisks are definitely still being used there.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          ngr2001 @stephenw10
                          last edited by

                          @stephenw10

                          This is what it looks like after reboot. So yes, the tags are still there despite Ram Disk in GUI showing disabled. I would agree it seems like RAM Disks are still being used and for what ever reason they are stuck at 60Mb ?? So confused, anything I can check or fix via SSH.

                          3ccb58bf-28ff-4a9c-a058-fdb5223e8ca8-image.png

                          505775be-a63e-4378-a5b7-afd8401e68ba-image.png

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            SteveITS Galactic Empire @ngr2001
                            last edited by

                            @ngr2001 But if "<use_mfs_tmpvar></use_mfs_tmpvar>" is missing then the values you point to are irrelevant since the RAM disk should not be used at all. So really you have two issues...it is being set up even though it's set to off, and it's using the wrong size.

                            Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                            Upvote ๐Ÿ‘ helpful posts!

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              ngr2001 @SteveITS
                              last edited by

                              @SteveITS

                              Good news, I toggled the settings on and off again and rebooted 2 more times. Now on this last reboot the ram disks appear to be gone.

                              22ccd7fb-78a4-4838-a554-46771f0ebc5b-image.png

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                SteveITS Galactic Empire @ngr2001
                                last edited by

                                @ngr2001 Fifth time's the charm?

                                Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                                Upvote ๐Ÿ‘ helpful posts!

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  ngr2001 @SteveITS
                                  last edited by

                                  @SteveITS

                                  60% of the time it works every time.

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