From 35ff4215bb9d5e7b59440a98553e022a596ebe31 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Wed, 9 Jun 2021 14:42:12 +0200 Subject: [PATCH] Fixed zfs_arc parameters --- 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 df830f7..27185cc 100644 --- a/proxmox-zfs-postinstall.sh +++ b/proxmox-zfs-postinstall.sh @@ -215,7 +215,7 @@ 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 if [[ "$install_checkmk" == "y" ]]; then @@ -287,4 +287,4 @@ fi 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!"