示例中的默认阵列卡为 /c0
/opt/MegaRAID/storcli/storcli64 /c0 /dall show all
下面命令的 (EID)、(SLT) 可用此命令查到。
/opt/MegaRAID/storcli/storcli64 /c0 /fall import preview
/opt/MegaRAID/storcli/storcli64 /c0 /fall import
/opt/MegaRAID/storcli/storcli64 /c0 show preservedcache
/opt/MegaRAID/storcli/storcli64 /c0 /v(VID) delete preservedcache
/opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid0 drives=(EID):(SLT)
一般用于,磁盘上已经有了数据,没有故障,但磁盘处于 unconfigured good 状态,却又无法导入。此时可擦除磁盘后重新做阵列。
擦除完成需要较长时间,一般并不需要完全擦除。开始执行擦除几分钟后,停止擦除,即仅擦除磁盘前面一小段数据,即可正常重新做阵列。
/opt/MegaRAID/storcli/storcli64 /c0 /e(EID) /s(SLT) start erase simple
/opt/MegaRAID/storcli/storcli64 /c0 /e(EID) /s(SLT) stop erase