mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-11-07 18:31:58 +01:00
Fixed kernel ignoring tunable zfs_arc_min and zfs_arc_max
This commit is contained in:
parent
31037271af
commit
4df16308c1
@ -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
|
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_max=$ZFS_ARC_MAX_BYTES
|
options zfs zfs_arc_max=$ZFS_ARC_MAX_BYTES
|
||||||
|
options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [[ "$install_checkmk" == "y" ]]; then
|
if [[ "$install_checkmk" == "y" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user