megacli创建/删除raid

# 查看阵列卡列表
megacli Adpallinfo -aall | grep '^Adapter'
# 查看硬盘列表
megacli -PDlist -aall | grep -e '^Enclosure Device ID:' -e '^Slot Number:'
# 创建raid10
megacli -CfgSpanAdd -r10 -Array0[252:0,252:1] -Array1[252:2,252:3] -Array2[252:4,252:5] -Array3[252:6,252:7] -WB -RA -Cached -Cachedbadbbu -a0
# raid6(WriteBack,ReadAhead)
megacli -CfgLdAdd -r6 [252:0,252:1,252:2,252:3,252:4,252:5,252:6,252:7] -WB -RA -Cached -Cachedbadbbu -a0
# 查看LogicDisk信息
megacli -LDInfo -Lall -aALL
# 阵列卡overview
megacli -ShowSummary -a0
# 删除logic disk 0
megacli -CfgLdDel -L0 -a0
  • hardware/lsi/megacli创建删除阵列.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)