upgradeed to 8.2.2 got some zfs options error

PmUserZFS

Well-Known Member
Feb 2, 2018
99
5
48
Got some errors on my zfs options that used to work well.

Any input, do the still work ? anything I should do ?

Code:
fs.zfs.zfs_txg_timeout=30'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 2: ignoring bad line starting with 'vfs.zfs.l2arc_noprefetch=0'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 3: ignoring bad line starting with 'vfs.zfs.l2arc_write_max=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 4: ignoring bad line starting with 'vfs.zfs.l2arc_write_boost=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 5: ignoring bad line starting with 'vfs.zfs.l2arc_headroom=8'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 6: ignoring bad line starting with 'vfs.zfs.zfs_txg_timeout=30'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 2: ignoring bad line starting with 'vfs.zfs.l2arc_noprefetch=0'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 3: ignoring bad line starting with 'vfs.zfs.l2arc_write_max=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 4: ignoring bad line starting with 'vfs.zfs.l2arc_write_boost=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 5: ignoring bad line starting with 'vfs.zfs.l2arc_headroom=8'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 6: ignoring bad line starting with 'vfs.zfs.zfs_txg_timeout=30'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 2: ignoring bad line starting with 'vfs.zfs.l2arc_noprefetch=0'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 3: ignoring bad line starting with 'vfs.zfs.l2arc_write_max=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 4: ignoring bad line starting with 'vfs.zfs.l2arc_write_boost=67108864'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 5: ignoring bad line starting with 'vfs.zfs.l2arc_headroom=8'
libkmod: ERROR ../libkmod/libkmod-config.c:712 kmod_config_parse: /etc/modprobe.d/zfs.conf line 6: ignoring bad line starting with 'vfs.zfs.zfs_txg_timeout=30'
 
The parameters still exist:

How does your: /etc/modprobe.d/zfs.conf look like? Would check and adapt the definitions accordingly, like described in the docs:

You define those parameters in your e.g.: /etc/modprobe.d/zfs.conf with: options zfs PARAMETER=VALUE (one per line):
https://openzfs.github.io/openzfs-docs/Performance and Tuning/Module Parameters.html
(Do not forget to update the initramfs with: update-initramfs -u -k all afterwards and then reboot the host.

Edit:
PARAMETER being e.g.: zfs_txg_timeout (and not: vfs.zfs.zfs_txg_timeout).
 
Last edited:
  • Like
Reactions: fiona
The parameters still exist:

How does your: /etc/modprobe.d/zfs.conf look like? Would check and adapt the definitions accordingly, like described in the docs:

You define those parameters in your e.g.: /etc/modprobe.d/zfs.conf with: options zfs PARAMETER=VALUE (one per line):
https://openzfs.github.io/openzfs-docs/Performance and Tuning/Module Parameters.html
(Do not forget to update the initramfs with: update-initramfs -u -k all afterwards and then reboot the host.

Edit:
PARAMETER being e.g.: zfs_txg_timeout (and not: vfs.zfs.zfs_txg_timeout).
pve# cat /etc/modprobe.d/zfs.conf
options zfs zfs_arc_max=68719476736
vfs.zfs.l2arc_noprefetch=0
vfs.zfs.l2arc_write_max=67108864
vfs.zfs.l2arc_write_boost=67108864
vfs.zfs.l2arc_headroom=8
vfs.zfs.zfs_txg_timeout=30
 
I have been using these values for 6 months, during boots etc. so it was this upgrade that caused the issue.
 
Hi,
it should work if you use:
Code:
options zfs zfs_arc_max=68719476736
options zfs l2arc_noprefetch=0
options zfs l2arc_write_max=67108864
options zfs l2arc_write_boost=67108864
options zfs l2arc_headroom=8
options zfs zfs_txg_timeout=30