]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
linux-zfs: Add pool information to zpool-scrub.sh
authorAlexander Barton <alex@barton.de>
Tue, 10 Nov 2015 15:35:22 +0000 (16:35 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 10 Nov 2015 15:35:22 +0000 (16:35 +0100)
roles/linux-zfs/templates/zpool-scrub.sh.j2

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