Skip to content

Instantly share code, notes, and snippets.

@SteveCooling
Created January 27, 2021 21:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveCooling/8f7e2d225fcebf30cb190211a25d3629 to your computer and use it in GitHub Desktop.
Save SteveCooling/8f7e2d225fcebf30cb190211a25d3629 to your computer and use it in GitHub Desktop.
MegaCli enable JBOD

Enable JBOD on the controller

/opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp -EnableJBOD 1 -a0

Put drives in "UnconfiguredGood" state

/opt/MegaRAID/MegaCli/MegaCli64 -pdmakegood -physdrv [252:0,252:1,252:2,252:3,252:4,252:5] -force –a0

Make drives JBOD

/opt/MegaRAID/MegaCli/MegaCli64 -pdmakejbod -physdrv [252:0,252:1,252:2,252:3,252:4,252:5] –a0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment