add zfs scrub

This commit is contained in:
2024-12-04 14:33:27 +08:00
parent 7172f6fd01
commit 22ff568c83

7
zfs-scrub.yaml Normal file
View File

@@ -0,0 +1,7 @@
- name: Start ZFS scrub
hosts: all
become: yes
user: root
tasks:
- name: Get list of ZFS pools
shell: zpool list -H -o name | xargs -n1 zpool scrub