From 87d13902879b795f62e62b0fb8997b39390bb53a Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Mon, 12 Apr 2021 18:17:46 -0500 Subject: [PATCH] Update zpool-raid10-resize-up.sh --- ZFS/zpool-raid10-resize-up.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZFS/zpool-raid10-resize-up.sh b/ZFS/zpool-raid10-resize-up.sh index 47647fb..92fbb95 100644 --- a/ZFS/zpool-raid10-resize-up.sh +++ b/ZFS/zpool-raid10-resize-up.sh @@ -59,7 +59,7 @@ echo "o Attach disk2=disk4 - $(date)" time zpool attach $zp $disk2 $disk4 || failexit 104 "zpool attach disk2=disk4 $disk2 = $disk4 failed $(date)" wait4resilver $zp -zpool status -v |awk 'NF>0' +zpool status -v $zp |awk 'NF>0' df -hT echo "$(date) - PK to detach smaller/original mirror disks and increase pool size" @@ -68,7 +68,7 @@ read -n 1 time zpool detach $zp $disk1 time zpool detach $zp $disk2 -zpool status -v |awk 'NF>0' +zpool status -v $zp |awk 'NF>0' df -hT exit;