]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
linux-zfs: Add host information to zpool-scrub.sh output
authorAlexander Barton <alex@barton.de>
Wed, 14 Oct 2015 09:19:12 +0000 (11:19 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 14 Oct 2015 09:19:12 +0000 (11:19 +0200)
roles/linux-zfs/templates/zpool-scrub.sh.j2

index a0b6cadd509be2881b1a420e5f6c210047644a88..e970fb0c16689937f6eff07781db9d4496a1fcc3 100644 (file)
@@ -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