[script]Update pg_repair for error message

This commit is contained in:
kjg 2019-12-27 11:08:24 +01:00
parent 1d88aac14e
commit 693b1bed00
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ echo ${pglist_arr[*]}
for ((i=0; i<${#pglist_arr[@]}; i++)) do
if [ 1 -eq $(ceph pg repair ${pglist_arr[$i]} | grep repair | grep instructing | wc -l) ]; then
echo repair error
echo repair script error
break
fi
echo ${pglist_arr[$i]} repair ok
echo ${pglist_arr[$i]} repair script done
sleep 10
done