Update zpool-raid10-resize-up.sh

This commit is contained in:
kneutron 2021-04-12 18:17:46 -05:00 committed by GitHub
parent 407bb15e64
commit 87d1390287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;