Fixed zfs_arc parameters

This commit is contained in:
Thorsten Spille 2021-06-09 14:42:12 +02:00 committed by GitHub
parent c99d4a0d71
commit 35ff4215bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ echo $ZFS_ARC_MAX_BYTES > /sys/module/zfs/parameters/zfs_arc_max
cat << EOF > /etc/modprobe.d/zfs.conf cat << EOF > /etc/modprobe.d/zfs.conf
options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES 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 EOF
if [[ "$install_checkmk" == "y" ]]; then if [[ "$install_checkmk" == "y" ]]; then
@ -287,4 +287,4 @@ fi
echo "Updating initramfs - This will take some time..." echo "Updating initramfs - This will take some time..."
update-initramfs -u -k all > /dev/null 2>&1 update-initramfs -u -k all > /dev/null 2>&1
echo "Proxmox postinstallation finished!" echo "Proxmox postinstallation finished!"