# US 9,354,971 B2 · Systems and methods for data storage remediation

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

- Number: US 9,354,971 B2
- Document ID: US9354971B2
- Status: Granted
- Kind: B2
- Application number: 14/260,109
- Filed: 2014-04-23
- Published: 2015-10-29
- Granted: 2016-05-31
- Earliest claimed: 2014-04-23
- Assignees: Facebook, Inc.
- Applicants: Facebook, Inc.
- Inventors: Jonathan Charles Brauer; Mateusz Marek Niewczas; Eran Tal
- Web page: https://patentgrep.com/patent/US9354971B2

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- 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/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1084: {Degraded mode, e.g. caused by single or multiple storage removals or disk failures}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/006: {Identification (G06F11/2289 takes precedence)}
- 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 2211/109: Sector level checksum or ECC, i.e. sector or stripe level checksum or ECC in addition to the RAID parity calculation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and non-transitory computer-readable media can receive an indication that a drive included in a set of drives has experienced an error. Acquiring first data associated with the drive can be attempted. The drive can be prompted to undergo a power-cycle. Acquiring second data associated with the drive can be attempted. At least one of the first data or the second data can be analyzed to determine that the drive is remediable. At least the drive included in the set of drives can be remediated, such as by being rebuilt or reconfigured.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a computing system, an indication that a drive included in a set of drives has experienced an error;
attempting, by the computing system, to acquire first data associated with the drive;
prompting, by the computing system, the drive to undergo a power-cycle;
attempting, by the computing system, to acquire second data associated with the drive, wherein attempting to acquire the second data occurs subsequent to the power-cycle, and wherein attempting to acquire the first data occurs prior to the power-cycle;
analyzing, by the computing system, at least one of the first data or the second data to determine that the drive is remediable; and
remediating, by the computing system, at least the drive included in the set of drives.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the remediating at least the drive included in the set of drives further comprises:
attempting to acquire third data associated with the drive;
analyzing the third data to verify that the drive is operational; and
performing at least one of a rebuild or a reconfiguration with respect to one or more file systems associated with at least the drive included in the set of drives.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the analyzing the at least one of the first data or the second data to determine that the drive is remediable further comprises comparing the first data and the second data to determine one or more differences, the one or more differences being indicative that the drive has at least a threshold likelihood of being remediable.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein each of the first data and the second data includes Self-Monitoring, Analysis and Reporting Technology (SMART) data.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the SMART data includes information associated with at least one of a grown defects list (GLIST), an error-correcting code (ECC) memory, or a quantity of uncorrectable errors.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the set of drives corresponds to a Redundant Array of Independent Disks (RAID) system.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
removing at least a portion of historical data associated with the drive prior to the remediating at least the drive included in the set of drives.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the removing at least the portion of the historical data associated with the drive comprises at least one of clearing a cache associated with the drive, clearing configuration data associated with the drive, or removing metadata associated with the drive.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the set of drives is associated with a RAID 6 system.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
performing a scan on the drive to verify that the drive is remediable, wherein the scan is performed prior to the remediating at least the drive included in the set of drives.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the set of drives is associated with a RAID 0 system.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein the scan is associated with a bad block scan.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the bad block scan is associated with a destructive scan.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein the analyzing the at least one of the first data or the second data to determine that the drive is remediable further comprises:
determining an identifier associated with the drive;
acquiring information associated with the identifier; and
determining that the drive had not previously experienced the error.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, further comprising:
recording, over time, at least one of the first data or the second data;
analyzing the at least one of the first data or the second data to determine a first set of properties associated with a first category of drives; and
categorizing another drive having the first set of properties as being irremediable.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, further comprising:
recording, over time, at least one of the first data or the second data;
analyzing the at least one of the first data or the second data to determine a second set of properties associated with a second category of drives; and
categorizing another drive having the second set of properties as being remediable.

### Claim 17 (depends on 1)

The computer-implemented method of claim 1, wherein the error is associated with at least one of a firmware fail, an Input/Output (IO) error, or a file system error.

### Claim 18 (depends on 1)

The computer-implemented method of claim 1, wherein the indication is received via at least one of a RAID controller, a system health checker, or a monitoring component associated with a social networking service.

### Claim 19

A system comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, cause the system to perform:
receiving an indication that a drive included in a set of drives has experienced an error;
attempting to acquire first data associated with the drive;
prompting the drive to undergo a power-cycle;
attempting to acquire second data associated with the drive, wherein attempting to acquire the second data occurs subsequent to the power-cycle, and wherein attempting to acquire the first data occurs prior to the power-cycle;
analyzing at least one of the first data or the second data to determine that the drive is remediable; and
remediating at least the drive included in the set of drives.

### Claim 20

A non-transitory computer-readable storage medium including instructions that, when executed by at least one processor of a computing system, cause the computing system to perform:
receiving an indication that a drive included in a set of drives has experienced an error;
attempting to acquire first data associated with the drive;
prompting the drive to undergo a power-cycle;
attempting to acquire second data associated with the drive, wherein attempting to acquire the second data occurs subsequent to the power-cycle, and wherein attempting to acquire the first data occurs prior to the power-cycle;
analyzing at least one of the first data or the second data to determine that the drive is remediable; and
remediating at least the drive included in the set of drives.
