diff --git a/manifests/arclimit.pp b/manifests/arclimit.pp index 7032034990d02b1f82db8506f3279ac42879b63f..7c3d3e6998e1a264e529aa37652394c734368ade 100644 --- a/manifests/arclimit.pp +++ b/manifests/arclimit.pp @@ -22,7 +22,9 @@ class zfs::arclimit { file { '/etc/modprobe.d/zfs.conf': - content => "options zfs zfs_arc_max=$arcsize", + # On large systems, min can default to quite large, overriding max. + content => "options zfs zfs_arc_max=$arcsize +options zfs zfs_arc_min=$arcsize", mode => 644, owner => 'root', group => 'root',