Megacli

From BeePerNet
Jump to navigation Jump to search
Broadcom Logo.svg

Broadcom RAID controller

Commands

Status

megaclisas-status
megacli -CfgDsply -a0
megacli -PDList -aall
megacli -AdpAllInfo -aALL
megacli -LDInfo -Lx -a0
megacli -PdLocate -start -physdrv[64:0] -a0  # Locate drive by the LED

Global properties

megacli -AdpSetProp spindowntime=30 -a0

Actions

Create single disk/volume, raid0

megacli -CfgLdAdd -r1 '[38:0,38:1]' -a0

Create all Raid0 Drives

  • No raid, just plain disk for the OS.
  • ZFS cannot use raid hardware.
megacli -CfgLdDel L1 -a0 # Delete config first on all drives, or wipe it elsewhere before
megacli -CfgEachDskRaid0 -aAll

Create JBOD Drive

megacli -CfgLdDel -Lx -a0
megacli -PDMakeJBOD -PhysDrv[252:5] -a0