From 2789d2ecf67ff2d07e6339f9bb680d6df82bd6af Mon Sep 17 00:00:00 2001 From: JOduMonT Date: Fri, 29 Mar 2019 09:13:15 +0100 Subject: [PATCH] update-initramfs for zfs.conf as you could remark with : cat /sys/module/zfs/parameters/zfs_arc_min /etc/modprobe.d/zfs.conf parameter won't take effect unless the kernel is updated https://serverfault.com/questions/581669/why-isnt-the-arc-max-setting-honoured-on-zfs-on-linux --- install-post.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-post.sh b/install-post.sh index d371194..66d8c15 100644 --- a/install-post.sh +++ b/install-post.sh @@ -329,5 +329,8 @@ options zfs l2arc_write_max=524288000 EOF fi +# propagate the setting into the kernel +update-initramfs -u -k all + ## Script Finish echo -e '\033[1;33m Finished....please restart the system \033[0m'