# US 9,354,966 B2 · Creating environmental snapshots of storage device failure events

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,966 B2
- Document ID: US9354966B2
- Status: Granted
- Kind: B2
- Application number: 14/612,171
- Filed: 2015-02-02
- Published: 2015-11-19
- Granted: 2016-05-31
- Earliest claimed: 2008-04-30
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Doug Coatney; Sharon Gavarre
- Web page: https://patentgrep.com/patent/US9354966B2

## CPC

- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/0766: {Error or fault reporting or storing}
- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 2201/86: Event-based monitoring
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device failure in a computer storage system can be analyzed by the storage system by examining relevant information about the storage device and its environment. Information about the storage device is collected in real-time and stored; this is an on-going process such that some information is continuously available. The information can include information relating to the storage device, such as input/output related information, and information relating to a storage shelf where the storage device is located, such as a status of adjacent storage devices on the shelf. All of the relevant information is analyzed to determine a reason for the storage device failure. Optionally, additional information may be collected and analyzed by the storage system to help determine the reason for the storage device failure. The analysis and supporting information can be stored in a log and/or presented to a storage system administrator to view.

## Claims

### Claim 1

A method for analyzing a storage device failure in a computer storage system, comprising:
continuously collecting information about the storage device;
storing the collected information;
polling shelf log data from a shelf controller of a storage shelf containing the storage device when the storage device fails to time-correlate an input/output (I/O) error with one or more errors of the shelf log data;
analyzing the stored collected information and the shelf log data by the computer storage system to determine a reason for the storage device failure;
in an event that the computer storage system cannot determine the reason for the storage device failure based on the stored collected information, the method further comprising:
gathering additional information about the storage device failure information including information about the storage shelf on which the storage device is located or information about adjacent storage devices on the storage shelf; and
analyzing the stored collected information and the gathered additional information by the computer storage system to determine the reason for the storage device failure.

### Claim 2 (depends on 1)

The method of claim 1, wherein the collected information about the storage device includes at least one of an average input/output (I/O) time of the storage device or a maximum I/O time of the storage device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the collected information further includes at least one of: a number of errors encountered by the storage device, a number of I/O operations the storage device was performing, a number of I/O operations the storage device had errors with, Self-Monitoring, Analysis and Reporting Technology data of the storage device, or information about another component of the computer storage system.

### Claim 4 (depends on 3)

The method of claim 3, wherein the other component of the computer storage system includes at least one of: a storage shelf on which the storage device is located, a storage device driver, or an adapter driver.

### Claim 5 (depends on 1)

The method of claim 1, wherein said storing step includes storing the collected information on the storage device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the gathered additional information further includes at least one of: a number of errors encountered by the storage device, a number of I/O operations the storage device was performing, a number of I/O operations the storage device had errors with, or Self-Monitoring, Analysis and Reporting Technology data.

### Claim 7 (depends on 1)

The method of claim 1, further comprising the step of: logging the storage device failure to a general system log file.

### Claim 8 (depends on 1)

The method of claim 1, further comprising the step of: presenting the reason for the storage device failure and information used to determine the reason to a storage system administrator.

### Claim 9 (depends on 1)

The method of claim 1, further comprising the step of: logging the reason for the storage device failure and information used to determine the reason to a general system log file.

### Claim 10

A system for analyzing a storage device failure in a storage system, comprising:
a storage shelf including a shelf controller and a storage device; and
a storage device driver in communication with said storage device, said storage device driver configured to:
continuously collect information regarding said storage device and a storage shelf on which said storage device is located;
poll shelf log data from the shelf controller of the storage shelf when the storage device fails to time-correlate an input/output (I/O) error with one or more errors of the shelf log data;
analyze the collected information and the shelf log data to determine a reason for the storage device failure;
in an event that the system cannot determine the reason for the storage device failure based on the stored collected information, said storage device driver is configured to:
gather additional information about the storage device failure information including information about the storage shelf on which the storage device is located or information about adjacent storage devices on the storage shelf; and
analyze the stored collected information and the gathered additional information by the computer storage system to determine the reason for the storage device failure.

### Claim 11 (depends on 10)

The system of claim 10, further comprising:
a log file entry generator in communication with said storage device driver, said log file entry generator configured to: receive the collected information and the reason for the storage device failure; and
generate a log file entry including the collected information and the reason for the storage device failure.

### Claim 12 (depends on 10)

The system of claim 10, wherein said storage shelf includes a shelf controller in communication with said storage device driver and said collected information regarding said storage shelf includes information collected by said shelf controller regarding other storage devices on said storage shelf.

### Claim 13 (depends on 12)

The system of claim 12, further comprising:
a log file entry generator in communication with said storage device driver, said log file entry generator configured to:
receive the collected information and the reason for the storage device failure; and generate a log file entry including the collected information and the reason for the storage device failure.

### Claim 14

A non-transitory computer-readable storage medium storing a set of instructions for execution by a general purpose computer to analyze failure of a storage device in a computer storage system, the set of instructions comprising:
a collecting code segment for collecting information about the storage device and at least one other component of the computer storage system;
a storing code segment for storing the collected information;
a polling code segment for polling shelf log data from a shelf controller of a storage shelf containing the storage device when the storage device has failed to time-correlate an input/output (I/O) error with one or more errors of the shelf log data;
an analyzing code segment for analyzing the stored collected information and the shelf log data to determine a reason for the storage device failure;
a code segment for if the computer cannot determine the reason for the storage device failure based on the stored collected information:
gathering additional information about the storage device failure including information about the storage shelf on which the storage device is located or information about adjacent storage devices on the storage shelf; and
analyzing the stored collected information and the gathered additional information by the computer to determine the reason for the storage device failure.

### Claim 15 (depends on 14)

The storage medium of claim 14, the set of instructions further comprising:
a logging code segment for logging the storage device failure to a log file.

### Claim 16 (depends on 14)

The storage medium of claim 14, the set of instructions further comprising:
a logging code segment for logging the reason for the storage device failure and information used to determine the reason to a log file.

### Claim 17 (depends on 14)

The storage medium of claim 14, the set of instructions further comprising:
a presenting code segment for presenting the reason for the storage device failure and information used to determine the reason to a storage system administrator.

### Claim 18 (depends on 14)

The storage medium of claim 14, wherein the information about the storage device includes an average input/output (I/O) time of the storage device or a maximum I/O time of the storage device; and
the at least one other component is not another storage device.
