Wednesday, December 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

No comments:

Post a Comment