Patent ID: 7805630

Claim:
A method of monitoring a disk device as part of an operating system comprising: polling the disk device periodically for events; analyzing the events in the result of polling the disk device; determining whether the events in the results of the polling indicate a disk failure is predicted; if the determination is false, waiting a predetermined period of time and repeating the method; if the determination is true, triggering a diagnostic utility and passing the events to the diagnostic utility, wherein the diagnostic utility comprises: entering in a log, for newly predicted failures, an entry about the predicted failure; determining, for each entry on the log, whether the entry is stale, wherein an entry is stale if (a) the disk to which the entry pertains is no longer present or (b) failure is no longer predicted for the disk to which the entry pertains; removing stale entries from the log; and forwarding the failure on to a system wide resolver.