Increase zfs_zevent_len_max
This commit is contained in:
parent
814cec050f
commit
0d37e5ae4d
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/hosts/systemd-mail.yml
|
- 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-scrub.yml
|
||||||
- import_tasks: tasks/hosts/zfs-trim.yml
|
- import_tasks: tasks/hosts/zfs-trim.yml
|
||||||
- import_tasks: tasks/hosts/zfs-extra.yml
|
- import_tasks: tasks/hosts/zfs-extra.yml
|
||||||
|
1
playbooks/filesystem/yggdrasil/etc/modprobe.d/zfs.conf
Normal file
1
playbooks/filesystem/yggdrasil/etc/modprobe.d/zfs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
options zfs zfs_zevent_len_max=512
|
17
playbooks/tasks/hosts/zfs-conf.yml
Normal file
17
playbooks/tasks/hosts/zfs-conf.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user