Page MenuHomePhabricator
Paste P9804

megacli assign hot spare
ActivePublic

Authored by JHedden on Dec 3 2019, 10:05 PM.
Tags
None
Referenced Files
F31455773: raw.txt
Dec 3 2019, 10:05 PM
Subscribers
None
# Check that the drive is unconfigured
cloudvirt1024:~# megacli -PDInfo -PhysDrv [32:9] -a0 | grep "Firmware state"
Firmware state: Unconfigured(good), Spun Up
# Mark as a global hot spare
cloudvirt1024:~# megacli -PDHSP -Set -PhysDrv [32:9] -a0
Adapter: 0: Set Physical Drive at EnclId-32 SlotId-9 as Hot Spare Success.
Exit Code: 0x00
# Confirm the change
cloudvirt1024:~# megacli -PDInfo -PhysDrv [32:9] -a0 | grep "Firmware state"
Firmware state: Hotspare, Spun Up