Increase zfs_zevent_len_max

This commit is contained in:
Wojciech Kozlowski 2022-10-30 19:00:18 +01:00
parent 814cec050f
commit 0d37e5ae4d
3 changed files with 19 additions and 0 deletions

View File

@ -21,6 +21,7 @@
tasks:
- import_tasks: tasks/hosts/systemd-mail.yml
- import_tasks: tasks/hosts/zfs-conf.yml
- import_tasks: tasks/hosts/zfs-scrub.yml
- import_tasks: tasks/hosts/zfs-trim.yml
- import_tasks: tasks/hosts/zfs-extra.yml

View File

@ -0,0 +1 @@
options zfs zfs_zevent_len_max=512

View File

@ -0,0 +1,17 @@
- name: Configure ZFS module via modprobe.d
copy:
src: ./filesystem/{{ ansible_hostname }}/etc/modprobe.d/zfs.conf
dest: /etc/modprobe.d/zfs.conf
mode: 0644
register: systemd_zfs_scrub_service_file
- block:
- name: Update initramfs
shell: update-initramfs -u -k all
- name: Reboot
reboot:
when:
systemd_zfs_scrub_service_file is changed