# US 2021/0334179 A1 · Network storage failover systems and associated methods

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

- Number: US 2021/0334179 A1
- Document ID: US20210334179A1
- Status: Published application
- Kind: A1
- Application number: 16/855,837
- Filed: 2020-04-22
- Published: 2021-10-28
- Earliest claimed: 2020-04-22
- Assignees: NetApp, Inc.
- Applicants: Netapp, Inc.
- Inventors: Parag Sarfare; Ananthan Subramanian; Szu-Wen Kuo; Asif Imtiyaz Pathan; Santhosh Selvaraj; Nikhil Mattankot; Manan Patel; Travis Ryan Grusecki
- Web page: https://patentgrep.com/patent/US20210334179A1

## CPC

- G06F 11/2069: {Management of state, configuration or failover}
- G06F 11/1435: {using file system or storage system metadata}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/2071: {using a plurality of controllers}
- G06F 11/2082: {Data synchronisation}
- G06F 2201/80: Database-specific techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Failover methods and systems for a networked storage environment are provided. A filtering data structure and a metadata data structure are generated before starting a replay of a log stored in a non-volatile memory of a second storage node, during a failover operation initiated in response to a failure at a first storage node. The second storage node operates as a partner node of the first storage node to mirror at the log one or more write requests received by the first storage node prior to the failure, and data associated with the one or more write requests. The filtering data structure identifies each log entry and the metadata structure stores a metadata attribute of each log entry. The filtering data structure and the metadata structure are used for providing access to a logical storage object during the log replay from the second storage node.

## Claims

### Claim 1

A method, comprising:
generating by a processor of a second storage node, a filtering data structure and a metadata data structure before starting a replay of entries of a log stored at a non-volatile memory of the second storage node for a failover operation initiated in response to a failure at a first storage node, the second storage node operating as a partner node of the first storage node to mirror at the non-volatile memory, one or more write requests and data associated with the one or more write requests received by the first storage node prior to the failure, wherein the filtering data structure identifies the entries, and the metadata structure stores a metadata attribute of data containers associated with the entries;
updating by the processor, before the replay, a location data structure indicating storage locations of the non-volatile memory that store the data associated with the write requests received by the first storage node prior to the failure and mirrored at the non-volatile memory; and
utilizing by the processor, the filtering data structure, the metadata structure and the location data structure for providing access to a logical storage object for processing an input/output (“I/O”) request received during the replay of the entries by the second storage node.

### Claim 2 (depends on 1)

The method of claim 1, further comprising: identifying from the filtering data structure by the processor, a data container and an offset value associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 3 (depends on 1)

The method of claim 1, further comprising: storing in the metadata data structure, one or more attributes of a data container associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 4 (depends on 1)

The method of claim 1, further comprising: identifying from the location data structure by the processor, a data container and a location of the non-volatile memory where data is stored for each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 5 (depends on 1)

The method of claim 1, further comprising: storing in the metadata structure by the processor, a data container modification time of data containers associated with the entries of the log of the second storage node.

### Claim 6 (depends on 6)

The method of claim 6, wherein before the replay, the data container modification time is persistently stored.

### Claim 7 (depends on 1)

The method of claim 1, further comprising: after the replay is completed, removing by the processor, any entry added in the location data structure during the updating of the location data structure.

### Claim 8

A non-transitory machine readable medium having stored thereon instructions comprising machine executable code which when executed by a machine, causes the machine to:
generate a filtering data structure and a metadata data structure, before starting a replay of entries of a log stored at a non-volatile memory of a second storage node for a failover operation initiated in response to a failure at a first storage node, the second storage node operating as a partner node of the first storage node to mirror at the non-volatile memory, one or more write requests and data associated with the one or more write requests received by the first storage node prior to the failure, wherein the filtering data structure identifies the entries, and the metadata structure stores a metadata attribute of data containers associated with the entries; and
utilize the filtering data structure and the metadata structure for providing access to a logical storage object for processing an input/output (“I/O”) request received during the replay of the entries by the second storage node.

### Claim 9 (depends on 8)

The non-transitory machine readable medium of claim 8, wherein the machine executable code further causes the machine to: identify from the filtering data structure, a data container and a data container offset value associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 10 (depends on 8)

The non-transitory machine readable medium of claim 8, wherein the machine executable code further causes the machine to: store in the metadata data structure, one or more attributes of a data container associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 11 (depends on 8)

The non-transitory machine readable medium of claim 8, wherein the machine executable code further causes the machine to: update before the replay, a location data structure indicating storage locations of the non-volatile memory that store data associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 12 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the machine executable code further causes the machine to: identify from the location data structure, a data container and a location of the non-volatile memory where data is stored for each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 13 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the machine executable code further causes the machine to: after the replay is completed, remove any entry added in the location data structure during the update of the location data structure.

### Claim 14 (depends on 8)

The non-transitory machine readable medium of claim 8, wherein the machine executable code further causes the machine to: store in the metadata structure, a data container modification time of each data container that has an associated entry at the log, and the modification time is persistently stored before the replay begins.

### Claim 15

A system, comprising:
a memory containing machine readable medium comprising machine executable code having stored thereon instructions; and a processor coupled to the memory to execute the machine executable code to:
generate a filtering data structure and a metadata data structure, before starting a replay of entries of a log stored at a non-volatile memory of a second storage node for a failover operation initiated in response to a failure at a first storage node, the second storage node operates as a partner node of the first storage node to mirror at the non-volatile memory, one or more write requests and data associated with the one or more write requests received by the first storage node prior to the failure, wherein the filtering data structure identifies the entries, and the metadata structure stores a metadata attribute of data containers associated with the entries; and
utilize the filtering data structure and the metadata structure for providing access to a logical storage object for processing an input/output (“I/O”) request received during the replay of the entries by the second storage node.

### Claim 16 (depends on 15)

The system of claim 15, wherein the processor further causes the machine executable code to: identify from the filtering data structure, a data container and a data container offset value associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 17 (depends on 15)

The system of claim 15, wherein the processor further causes the machine executable code to: store in the metadata data structure, one or more attributes of a data container associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 18 (depends on 15)

The system of claim 15, wherein the processor further causes the machine executable code to: update before the replay, a location data structure indicating storage locations of the non-volatile memory that store data associated with each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 19 (depends on 18)

The system of claim 18, wherein the processor further causes the machine executable code to: identify from the location data structure, a data container and a location of the non-volatile memory where data is stored for each write request mirrored at the log of the second storage node after receipt by the first storage node prior to the failure.

### Claim 20 (depends on 15)

The system of claim 15, wherein the processor further causes the machine executable code to: store in the metadata structure, a data container modification time of each data container that has an associated entry at the log, and the modification time is persistently stored before the replay begins.
