diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6702d4ed..5e9ed21b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -564,9 +564,11 @@ STATUS(){ [ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Getting drives from server ... ${idsCL[Default]}" declare -A partitions DRIVEINFO=$(ssh root@${host_ip[$hostid]} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|Software' | awk '{ print $1 " " $2 " " $4 }') + echo $DRIVEINFO DRIVEINFO=(${DRIVEINFO}) - echo -en "\e[1A"; - echo -e "\e[0K\r"qqqaqq + echo $DRIVEINFO + # echo -en "\e[1A"; + # echo -e "\e[0K\r" NUMDRIVES=$((${#DRIVEINFO[@]} / 3)) for ((i = 0 ; i <= $((${NUMDRIVES}-1)) ; i++)); do