Controller_id:硬盘所在的raid卡的id,可以将该参数设置为all,表示查询该工具可管理的所有控制器的id
Enclosure_id:硬盘所在的enclosure的id,可以将该参数设置为all,表示查询该工具可管理的所有控制器连接的硬盘背板id
Slot_id:物理硬盘槽位编号,可以将该参数设置为all,表示查询所有硬盘的id
Vd_id:虚拟磁盘id,可以将该参数设置为all,表示查询所有虚拟磁盘的id
./storcli64 show
显示raid卡相关信息
./storcli64 /c{x} show
显示控制器0的信息,可分为一下几个部分
./storcli64 /c0/eall/sall show
查看控制器0所有背板以及背板上所有磁盘的信息(如果在存在多个控制器的情况下查询,可修改命令为./storcli64 /call/eall/sall show即可)
./storcli64 /c0/e65/s1 show
查看控制器0、背板65、槽位1位置的磁盘信息
./storcli64 /c{x}/e{x}/s{x} set good/offline/online force
修改硬盘状态,force为强制参数
./storcli64 /c{x}/e{x}/s{x} start initialization
./storcli64 /c{x}/e{x}/s{x} stop initialization
./storcli64 /c{x}/e{x}/s{x} show initialization
./stoorcli64 /c{x}/e{x}/s{x} start locate
./stoorcli64 /c{x}/e{x}/s{x} stop locate
创建raid时,硬盘状态必须为Ugood,JBOD或者其他模式时无法创建。
创建raid0/1/5时,可依照以下实例。
创建raid10/50/60时,需要添加参数pdperarray。
./storcli64 /call/vall show
./storcli64 /c{x}/vall show
./storcli64 /c{x}/v{x} show
./storcli64 /c{0}/e{x}/s{x} show rebuild
./storcli64 /c{x}/e{x}/s{x} pause rebuild
./storcli64 /c{x}/e{x}/s{x} pause rebuild
./storcli64 /c{x}/e{x}/s{x} set bootdrive=on
./storcli64 /c{x}/v{x} del
./storcli64 /c{x}/fall import preview
./storcli64 /c{x}/fall import
./storcli64 /c{x}/fall delete
./storcli64 /c{x}/e{x}/s{x} download src=FW_NAME