среда, 14 декабря 2022 г.

IBM Storwize/FlashSystem/SVC CLI examples, tips and tricks

  •  List FRU part number for specific Tier drives:
    svcinfo lsdrive -nohdr |while read id status use tech_type capacity;do if [[ $tech_type == "tier0_flash" ]];then lsdrive $id | while read idd value;do if [[ $idd == "FRU_part_number" ]];then echo $id";"$tech_type";"$value;fi;done;fi;done