VAR out of space - Ram disk setting does nothing
-
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> -
When does that come out, anything I can do in the mean time ?
-
@ngr2001 Itโs been in beta for a while:
https://forum.netgate.com/topic/196342/pfsense-plus-25-03-beta-is-hereVague guess, a week or two after an RC version so maybe in a month, give or take.
-
If I wasn't going to use RAM Disks, is there an easy way to increase the disk partition size ?
-
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>
-
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.
-
@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.
-
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.
-
@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.
-
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.
-
@ngr2001 Fifth time's the charm?
-
60% of the time it works every time.