mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-11-08 02:31:58 +01:00
Merge pull request #18 from degenhard/main
Fixed kernel ignoring tunable zfs_arc_min and zfs_arc_max
This commit is contained in:
commit
5a14852130
@ -236,8 +236,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