From 1b8b2a8b1e9b4f9e2ef126b6a4d2094aeaad7efa Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sun, 2 May 2021 01:46:23 +0200 Subject: [PATCH] Fixed arc_size bug in /etc/modprobe.d/zfs.conf --- proxmox-zfs-postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-zfs-postinstall.sh b/proxmox-zfs-postinstall.sh index 6465b2c..15b719d 100644 --- a/proxmox-zfs-postinstall.sh +++ b/proxmox-zfs-postinstall.sh @@ -192,10 +192,10 @@ 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_min=$ZFS_ARC_MAX_BYTES +options zfs zfs_arc_max=$ZFS_ARC_MAX_BYTES EOF echo "Updating initramfs - This will take some time..." update-initramfs -u -k all > /dev/null 2>&1 -echo "Proxmox postinstallation finished!" \ No newline at end of file +echo "Proxmox postinstallation finished!"