From: Alexander Barton Date: Tue, 10 Nov 2015 15:35:22 +0000 (+0100) Subject: linux-zfs: Add pool information to zpool-scrub.sh X-Git-Url: https://arthur.barton.de/gitweb/?p=AnsibleRoles.git;a=commitdiff_plain;h=736432068fa6ff4bfae30db4b6ffb507ac928c4c;hp=88a34a4302b026cf22e38b9c8d6080b4a9e6cc1f linux-zfs: Add pool information to zpool-scrub.sh --- 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