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:
Michael Grote 2021-07-14 19:48:50 +02:00
parent 89179b4ec8
commit 9b3859cd9d
2 changed files with 4 additions and 5 deletions

View file

@ -157,7 +157,7 @@
apcupsd_nis_master: true apcupsd_nis_master: true
apcupsd_nis_master_hostname: pve2.grote.lan 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_* ### 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_max_usage_health: "90"
zfs_extra_zfs_pools: zfs_extra_zfs_pools:
- name: "rpool" - name: "rpool"

View file

@ -1,7 +1,6 @@
--- ---
- name: Limit ZFS Memory Usage - name: Limit ZFS Memory Usage
become: yes become: yes
ansible.builtin.lineinfile: ansible.builtin.copy:
path: /etc/modprobe.d/zfs.conf dest: /etc/modprobe.d/zfs.conf
line: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }} content: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}
create: yes