Persist arc size
Modprobe only loads the module, it doesn't ensure the ARC value persists correctly.
This commit is contained in:
parent
0c6e9969bc
commit
d87ec89887
1
ansible/roles/zfs/files/zfs-modprobe.conf
Normal file
1
ansible/roles/zfs/files/zfs-modprobe.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
options zfs zfs_arc_max={{ zfs_arc_size }}
|
@ -1,8 +1,9 @@
|
|||||||
- name: Enable zfs module
|
- name: Set module options
|
||||||
modprobe:
|
template:
|
||||||
name: zfs
|
src: files/zfs-modprobe.conf
|
||||||
state: present
|
dest: /etc/modprobe.d/zfs.conf
|
||||||
params: zfs_arc_max={{ zfs_arc_size }}
|
mode: "0644"
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: ZFS Scrub
|
- name: ZFS Scrub
|
||||||
cron:
|
cron:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user