• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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
707
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
    last edited by Mar 22, 2025, 11:29 PM

    I have my /var disk set to use a Ram Disk and that value is set to 512Mb. The system has 32Gb of ram so there are plenty of resources. After reboot var is still showing 60Mb. Am I doing something wrong here.

    login-to-view

    login-to-view

    S 1 Reply Last reply Mar 23, 2025, 2:31 AM Reply Quote 0
    • S
      SteveITS Galactic Empire @ngr2001
      last edited by Mar 23, 2025, 2:31 AM

      @ngr2001 Iโ€™ve never had a problem setting RAM disk size but I recall a thread I think a month or two ago with a similar complaint.

      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 Mar 23, 2025, 3:47 AM Reply Quote 0
      • N
        ngr2001 @SteveITS
        last edited by Mar 23, 2025, 3:47 AM

        @SteveITS

        I searched and found no solution.

        I am not apposed to disabling RAM Disks either, however after trying that I am still out of disk space. Is there any easy way to increase the disk size. Not sure what I am to do here.

        S 1 Reply Last reply Mar 23, 2025, 4:22 AM Reply Quote 0
        • S
          SteveITS Galactic Empire @ngr2001
          last edited by Mar 23, 2025, 4:22 AM

          @ngr2001 If you disable the RAM disk youโ€™re still out of space? You should have the 112 GB. Get a bigger disk or figure out whatโ€™s using so muchโ€ฆ?

          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 Mar 23, 2025, 5:10 AM Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Mar 23, 2025, 4:54 AM

            What pfSense version is that?

            N 1 Reply Last reply Mar 23, 2025, 5:07 AM Reply Quote 0
            • N
              ngr2001 @stephenw10
              last edited by ngr2001 Mar 23, 2025, 5:07 AM Mar 23, 2025, 5:07 AM

              @stephenw10

              PFSense Plus
              login-to-view

              1 Reply Last reply Reply Quote 0
              • N
                ngr2001 @SteveITS
                last edited by Mar 23, 2025, 5:10 AM

                @SteveITS

                I disabled the RAM Disk and rebooted and now its still looks like this

                login-to-view

                That doesnt seem to make sense to me.

                I am running Suricata, I turned on log management but the 60Mb partition is still showing full.

                S 1 Reply Last reply Mar 23, 2025, 9:47 AM Reply Quote 0
                • S
                  SteveITS Galactic Empire @ngr2001
                  last edited by Mar 23, 2025, 9:47 AM

                  @ngr2001 Are other changes retained after restart?

                  FWIW here is the other thread:
                  https://forum.netgate.com/topic/195486/changes-to-ram-disk-size-not-affecting-actual-filesystem-size/11

                  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 Mar 23, 2025, 3:01 PM Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by stephenw10 Mar 23, 2025, 10:21 AM Mar 23, 2025, 10:21 AM

                    Yeah I was thinking the same, it does seem likely to be the same cause. It's using the default values for the sizes there. I wasn't able to replicate it either.

                    Have you upgraded to 24.11 or is it a clean install?

                    Was it upgraded from CE?

                    N 1 Reply Last reply Mar 23, 2025, 1:02 PM Reply Quote 0
                    • N
                      ngr2001 @stephenw10
                      last edited by Mar 23, 2025, 1:02 PM

                      @stephenw10

                      Clean install from a bootable usb stick. Was never upgraded, started as plus never ce.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Mar 23, 2025, 2:50 PM

                        Hmm, OK. At some point you did deliberately set RAM disks enabled though? But now there seems to be no way to disable them?

                        N 1 Reply Last reply Mar 23, 2025, 2:58 PM Reply Quote 0
                        • N
                          ngr2001 @stephenw10
                          last edited by Mar 23, 2025, 2:58 PM

                          @stephenw10

                          That is correct.

                          In this case, I installed PFSense Plus clean from USB Boot stick. I then hand applied all my desired settings. Out of habit, the 1st thing I normally do after install is configure the RAM Disks. Only reason being, to extend the life of the SSD.

                          1 Reply Last reply Reply Quote 0
                          • N
                            ngr2001 @SteveITS
                            last edited by Mar 23, 2025, 3:01 PM

                            @SteveITS

                            Seems like other settings on the System - Advanced- Miscellaneous -
                            page are working. For example I enabled PowerD & QAT, both are working after reboot.

                            Other Settings:
                            login-to-view

                            Evidence Working:
                            login-to-view

                            S 1 Reply Last reply Mar 23, 2025, 3:08 PM Reply Quote 0
                            • S
                              SteveITS Galactic Empire @ngr2001
                              last edited by Mar 23, 2025, 3:08 PM

                              @ngr2001 Is the setting in the config file the 40/60 or what you set?

                              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 Mar 23, 2025, 4:17 PM Reply Quote 0
                              • N
                                ngr2001 @SteveITS
                                last edited by Mar 23, 2025, 4:17 PM

                                @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 Mar 23, 2025, 4:35 PM Reply Quote 0
                                • S
                                  SteveITS Galactic Empire @ngr2001
                                  last edited by Mar 23, 2025, 4:35 PM

                                  @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 Mar 23, 2025, 5:19 PM Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Mar 23, 2025, 4:46 PM

                                    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 Mar 23, 2025, 7:17 PM Reply Quote 0
                                    • N
                                      ngr2001 @SteveITS
                                      last edited by Mar 23, 2025, 5:19 PM

                                      @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 Mar 23, 2025, 7:17 PM

                                        @stephenw10

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

                                        S 1 Reply Last reply Mar 23, 2025, 8:19 PM Reply Quote 0
                                        • S
                                          SteveITS Galactic Empire @ngr2001
                                          last edited by Mar 23, 2025, 8:19 PM

                                          @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 Mar 24, 2025, 1:13 PM Reply Quote 0
                                          7 out of 29
                                          • First post
                                            7/29
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.