Fixed kernel ignoring tunable zfs_arc_min and zfs_arc_max

This commit is contained in:
Peter Heise 2022-12-19 19:11:59 +01:00
parent 31037271af
commit 4df16308c1

View File

@ -229,8 +229,8 @@ echo $ZFS_ARC_MIN_BYTES > /sys/module/zfs/parameters/zfs_arc_min
echo $ZFS_ARC_MAX_BYTES > /sys/module/zfs/parameters/zfs_arc_max
cat << EOF > /etc/modprobe.d/zfs.conf
options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES
options zfs zfs_arc_max=$ZFS_ARC_MAX_BYTES
options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES
EOF
if [[ "$install_checkmk" == "y" ]]; then