This is an old revision of the document!
/* Identify disks with failures */ /opt/MegaRAID/storcli/storcli64 /c0/eALL/sALL show all | grep -e 'State :' -e "Predictive Failure Count" Drive /c0/e8/s24 State : Predictive Failure Count = 1 /opt/MegaRAID/storcli/storcli64 /c0 /eall /sall show /* Set locate beacon for ease of replacement */ /opt/MegaRAID/storcli/storcli64 /c0/e8/s24 start locate /* Set disk offline and spundown */ /opt/MegaRAID/storcli/storcli64 /c0/e8/s24 set offline /opt/MegaRAID/storcli/storcli64 /c0/e8/s24 set missing /opt/MegaRAID/storcli/storcli64 /c0/e8/s24 spindown /* Show rebuild status */ /opt/MegaRAID/storcli/storcli64 /c0/e8/s24 show rebuild /* If no auto rebuild, force manually */ (/opt/MegaRAID/storcli/storcli64 /c0/e8/s24 rebuild)