====== 13 storcli ====== StorCLIとはMegaCLIの後継コマンドで、3wareのtw_cliと似た感じ # storcli64 /c0 show # /opt/MegaRAID/storcli/storcli64 show Status Code = 0 Status = Success Description = None Number of Controllers = 1 Host Name = data001 Operating System = Linux2.6.32-754.6.3.el6.x86_64 System Overview : =============== -------------------------------------------------------------------- Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth -------------------------------------------------------------------- 0 SAS2208 8 14 2 0 2 0 Opt On 1&2 Y 4 Opt -------------------------------------------------------------------- Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit Hlth=Health|Safe=Safe-mode boot ■ サマリ情報を表示する # storcli /call show ■ ディスクグループ情報を表示する # storcli /call/dall show ■ バーチャルディスク(VD)情報を一覧表示する # storcli /call/vall show ■ ドライブ情報(Diskごとの情報)を表示する # storcli /call/eall/sall show ■ ドライブごとの詳細情報を表示する # storcli /call/eall/sall show all {{tag>storcli tw_cli MegaCli}}