User Tools

Site Tools


qlogic_fc_adapter

This is an old revision of the document!


Replacing a disk in predictive failure safely
// 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)
qlogic_fc_adapter.1554807687.txt.gz · Last modified: 2019/09/16 16:10 (external edit)