megacli -PDlist -a1 |grep "Enclosure Device ID\|Slot Number\|Firmware state"
Assuming 6 spare PDs on Enclosure ID 32 with Slot nos 6-11:
Create RAID 6 array
megacli -CfgLdAdd -r6 [32:6,32:7,32:8,32:9,32:10,32:11] -a0
Create RAID 10 array
megacli -CfgSpanAdd -r10 -Array0[32:6,32:7] -Array1[32:8,32:9] -Array2[32:10,32:11] -a0
Check array status
megacli -LDInfo -LAll -a0
Delete array no. 2 (-Force may be required)
megacli -CfgLdDel -L2 -Force -a0
Extending an existing RAID array with a new disk
.megacli -LDRecon -Start -r5 -Add -PhysDrv[32:3] -L0 -a0
Creating a global hot spare
megacli -PDHSP -Set -PhysDrv [0:2] -a0
Show background initialization progress
MegaCli64 -LDBI -ShowProg -Lall -a0
No comments:
Post a Comment