SOLVED Why I cannot modify "vfs.zfs.arc_max" in WebUI?

Status
Not open for further replies.

fisherwei

Dabbler
Joined
Oct 28, 2013
Messages
47
I am trying to change value and comment of "vfs.zfs.arc_max",
but after I click OK button, both of them will reset to original value(comment is "Generated by autotune").

FreeNAS-9.10.1 (d989edd)
 
D

dlavigne

Guest
Anything in /var/log/messages when you try to set it? Does it let you manually set the sysctl from Shell? If not, post the exact message you get when you try.
 

fisherwei

Dabbler
Joined
Oct 28, 2013
Messages
47
Anything in /var/log/messages when you try to set it? Does it let you manually set the sysctl from Shell? If not, post the exact message you get when you try.

GUI: not anything output to /var/log/messages
Shell: also nothing in /var/log/messages, but

Code:
[root@nas] ~# sysctl vfs.zfs.arc_max=216438228173
sysctl: oid 'vfs.zfs.arc_max' is a read only tunable
sysctl: Tunable values are set in /boot/loader.conf
 
Last edited:
D

dlavigne

Guest
That is telling you to create a loader instead of a sysctl. Does it work in the GUI if you do that?
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Again, what was your reason for enabling autotune in the first place? Typically, it's a feature reserved for mammoth FreeNAS systems.
 

fisherwei

Dabbler
Joined
Oct 28, 2013
Messages
47
Again, what was your reason for enabling autotune in the first place? Typically, it's a feature reserved for mammoth FreeNAS systems.

This week, I upgraded more 128G memory and 2 SSDs(as l2arc) to my build, I think autotune can help me to adjust tunables for new hardware.
 
Status
Not open for further replies.
Top