Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.99: zsysctl sets tunable incorrectly #801

Closed
dmzimmerman opened this issue Sep 22, 2022 · 2 comments
Closed

2.1.99: zsysctl sets tunable incorrectly #801

dmzimmerman opened this issue Sep 22, 2022 · 2 comments

Comments

@dmzimmerman
Copy link

In implementing the solution presented in #799, using the latest build of 2.1.99 available from the OpenZFS forums, I discovered that when I run sudo /usr/zfs/bin/zsysctl -f /etc/zfs/zsysctl.conf, I don't get the results I expect. The contents of my /etc/zfs/zsysctl.conf are:

kstat.zfs.darwin.tunable.zfs_arc.max=8589934592

and I had set that tunable by hand on the command line before trying zsysctl (my motivation for trying it manually in the first place is that it was not setting the tunable on boot). When I run zsysctl, I get:

kstat.zfs.darwin.tunable.zfs_arc.max: 8589934592 -> 0

If I then run it again, I get:

kstat.zfs.darwin.tunable.zfs_arc.max: 0 -> 0

Whereas, what I was expecting was for it to set the tunable to 8589934592.

@dmzimmerman
Copy link
Author

This is no longer an issue in current versions, so I'm going to close it.

@lundman
Copy link
Contributor

lundman commented Apr 28, 2023

Oh yeah, I forgot to mention i fixed it, thanks for reporting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants