-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Spurious warning when setting ARC minimum and maximum values from kernel command line #12504
Comments
Please see #10157 (comment) |
In my case the message¹ disappears when setting ¹ I was getting 2 consecutive lines of |
Thanks @paulhargreaves for that link. I've just testing again using release 2.1.2. The error for me still remains. Thanks @itspngu. I've tried both min before max and max before min to no avail. |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Currently the values set for zfs_arc_min and zfs_arc_max are ignored by the kernel: ``` Unknown kernel command line parameters... will be passed to user space ``` module parameters provided on the commandline usually need to be prefixed with the modulename (e.g. zfs.zfs_arc_min, see [0] for a bit on related information (the issue itself is not related)). Paradoxically currently ZFS will print spurious warnings about settings being ignored when they are actually set - see [1]. Booting the debug image and connecting the shell on the serial console confirmed that the values did not seem to be set: `grep '^c_' /proc/spl/kstat/zfs/arcstats` showed half of the memory for c_max. [0] openzfs/zfs#698 [1] openzfs/zfs#12504 Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
System information
Issue
When specifying the following kernel parameters to set the ARC size:
I receive the following warning:
The warning appears to be spurious because when I check my ARC size it seems to be set to the expected values:
I compile ZFS statically into the kernel (rather than as a module).
My full kernel command line is as follows:
This log message caused me some confusion and I spent some time investigating the apparent failure.
Thanks for all the efforts.
The text was updated successfully, but these errors were encountered: