2

Using MegaCli64, is there a way to find out when a hard disk failed?

I.e., /opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -aALL shows

            Connector          : Int.Ports 0-3<Internal><Encl Pos 1 >: Slot 5 
            Vendor Id          : SEAGATE 
            Product Id         : ST31000640SS    
            State              : Failed
            Disk Type          : SAS,Hard Disk Device
            Capacity           : 930.390 GB
            Power State        : Active

and I would like to know since when that disk is in Failed state.

xebtl
  • 123
  • 4

1 Answers1

5

You should check the adapter's event log to find out when the drive failed:

MegaCli -AdpEventLog -GetEvents -f <filename> -aAll

will create an event log as text file. Check the file for messages regarding your failed disk.

etagenklo
  • 5,834
  • 1
  • 27
  • 32
  • Thanks. This produces a very long log, the thing to search for (in this case) ist “FAILED”. – xebtl Oct 16 '13 at 10:08