Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while IFS=' :' read -r _ _ slot _ status; do if [[ $status != "Online, Spun Up" ]]; then slot=$slot; list+=("$ENCLOSURE:$slot"); done <<< "$drives"
- IFS=,;printf '%s\n' "${list[*]}"
- $MegaCli -LDRecon -Start -r"$raidlevel" -Add -PhysDrv[$ENCLOSURE:$list] -l0 -a0 ; fi; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement