Bugfix: zfs_arc_mem (#153)
arc pve2 Bugfix: zfs_arc_mem --- Einträge wurden mehrfach angelegt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#153 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
89179b4ec8
commit
9b3859cd9d
2 changed files with 4 additions and 5 deletions
|
@ -157,7 +157,7 @@
|
|||
apcupsd_nis_master: true
|
||||
apcupsd_nis_master_hostname: pve2.grote.lan
|
||||
### mgrote.zfs_extra # Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_*
|
||||
zfs_extra_arc_max_size: "17179869184" # 16GB in Bytes
|
||||
zfs_extra_arc_max_size: "8589934592" # 8GB in Bytes
|
||||
zfs_extra_max_usage_health: "90"
|
||||
zfs_extra_zfs_pools:
|
||||
- name: "rpool"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
- name: Limit ZFS Memory Usage
|
||||
become: yes
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/modprobe.d/zfs.conf
|
||||
line: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}
|
||||
create: yes
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/modprobe.d/zfs.conf
|
||||
content: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}
|
||||
|
|
Loading…
Reference in a new issue