From: Alexander Barton Date: Wed, 14 Oct 2015 09:19:12 +0000 (+0200) Subject: linux-zfs: Add host information to zpool-scrub.sh output X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=AnsibleRoles.git;a=commitdiff_plain;h=d0aab844ad9c020058c5f47f9e925b20ffa4d346 linux-zfs: Add host information to zpool-scrub.sh output --- diff --git a/roles/linux-zfs/templates/zpool-scrub.sh.j2 b/roles/linux-zfs/templates/zpool-scrub.sh.j2 index a0b6cad..e970fb0 100644 --- a/roles/linux-zfs/templates/zpool-scrub.sh.j2 +++ b/roles/linux-zfs/templates/zpool-scrub.sh.j2 @@ -24,6 +24,9 @@ wait_for_scrub_done() { done } +echo "Scrubbing ZFS storage pools on $(hostname -f):" +echo + for pool in $pools; do echo "Scrubbing ZFS storage pool \"$pool\" ..." echo -n "Started: "; date