X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=roles%2Flinux-zfs%2Ftemplates%2Fzpool-scrub.sh.j2;fp=roles%2Flinux-zfs%2Ftemplates%2Fzpool-scrub.sh.j2;h=9ee29d1b387fa9bee5c24d5cd51277d0de0dd221;hb=736432068fa6ff4bfae30db4b6ffb507ac928c4c;hp=e970fb0c16689937f6eff07781db9d4496a1fcc3;hpb=88a34a4302b026cf22e38b9c8d6080b4a9e6cc1f;p=AnsibleRoles.git diff --git a/roles/linux-zfs/templates/zpool-scrub.sh.j2 b/roles/linux-zfs/templates/zpool-scrub.sh.j2 index e970fb0..9ee29d1 100644 --- a/roles/linux-zfs/templates/zpool-scrub.sh.j2 +++ b/roles/linux-zfs/templates/zpool-scrub.sh.j2 @@ -27,6 +27,9 @@ wait_for_scrub_done() { echo "Scrubbing ZFS storage pools on $(hostname -f):" echo +zpool list +echo + for pool in $pools; do echo "Scrubbing ZFS storage pool \"$pool\" ..." echo -n "Started: "; date