# US 2022/0283915 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 2022/0283915 A1
- Document ID: US20220283915A1
- Status: Published application
- Kind: A1
- Application number: 17/751,944
- Filed: 2022-05-24
- Published: 2022-09-08
- Earliest claimed: 2020-04-22
- Assignees: NetApp, Inc.
- Applicants: Netapp, Inc.
- Inventors: Asif Imtiyaz Pathan; Parag Sarfare; Ananthan Subramanian; Szu-Wen Kuo; Santhosh Selvaraj; Nikhil Mattankot
- Web page: https://patentgrep.com/patent/US20220283915A1

## CPC

- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/2069: {Management of state, configuration or failover}
- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1435: {using file system or storage system metadata}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 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 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- 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. In one aspect, a read request associated with a first storage object is received, during a replay of entries of a log stored in 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. The read request is processed using a filtering data structure that is generated from the log prior to the replay and identifies each log entry. The read request is processed when the log does not have an entry associated with the read request, and when the filtering data structure includes an entry associated with the read request, the requested data is located at the non-volatile memory.

## Claims

### Claim 1

A method, comprising:
generating, by a processor of a second storage node, a hash data structure for tracking one or more write requests received during a replay of entries of a log stored in a non-volatile memory of the second storage node for a failover operation to takeover storage of a first storage node, wherein 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 failover operation; and
delaying, by the processor, processing of a read request for a storage object received during the replay, in response to a determination that the read request has an associated entry at a filtering data structure generated from the log, prior to the replay for identifying the log entries, and the hash data structure and a location data structure does not have any entry associated with the storage object, the location data structure storing storage location of data associated with each log entry.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
processing, by the processor, the read request, in response to determining that the filtering data structure does not include an associated entry for the storage object.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
processing, by the processor, the read request, in response to determining that the filtering data structure and the hash data structure both have the associated entry for the storage object.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
processing, by the processor, the read request, in response to determining that the filtering data structure has the associated entry, the hash data structure does not have the associated entry for the storage object and the location data structure has the associated entry for the storage object.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
storing, by the processor, the hash data structure at a memory of the second storage node.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
persistently storing, by the processor, a data structure to track the one or more write requests received during the replay, and the hash data structure is generated based on the data structure.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
processing, by the processor, the read request, after the replay is completed.

### Claim 8

A method, comprising:
rebooting a second storage node, upon failure of a replay of entries of a log stored in a non-volatile memory of the second storage node for a failover operation to takeover storage of a first storage node, wherein 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, before the failover operation;
identifying, by a processor of the second storage node, entries that were not replayed prior to the failure; and
selectively replaying, by the processor, the identified entries that were not replayed, prior to the failure.

### Claim 9 (depends on 8)

The method of claim 8, wherein the entries that were not replayed prior to the failure are identified from a last sequence number that indicates a last entry that was successfully replayed before the failure.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
persistently storing, by the processor, data associated with the identified entries.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
updating, by the processor, a status of a storage volume associated with the persistently stored data, the status indicating that the storage volume is available for processing read and write requests for the persistently stored data.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
generating, by the processor, a filtering data structure and a metadata structure before the replay of entries, wherein the filtering data structure identifies the entries, and the metadata structure stores a metadata attribute of data containers associated with the entries.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
updating, by the processor, before the replay, a location data structure indicating storage locations of the non-volatile memory that store data associated with write requests mirrored at the non-volatile memory.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
utilizing by the processor, the filtering data structure, the metadata structure and the location data structure for providing access to a storage object for processing an input/output (“1/0”) request received during the replay.

### Claim 15

A non-transitory machine-readable medium having stored thereon instructions comprising machine executable code which when executed by a machine, causes the machine to:
reboot a second storage node, upon failure of a replay of entries of a log stored in a non-volatile memory of the second storage node for a failover operation to takeover storage of a first storage node, wherein 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, before the failover operation;
identify entries that were not replayed prior to the failure; and
selectively replay entries that were not replayed, prior to the failure.

### Claim 16 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein entries that were not replayed prior to the failure are identified from a last sequence number that indicates a last entry that was successfully replayed before the failure.

### Claim 17 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein the machine executable code further causes the machine to: persistently store data associated with the identified entries.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the machine executable code further causes the machine to:
update a status of a storage volume associated with the persistently stored data, the status indicating that the storage volume is available for processing read and write requests for the persistently stored data.

### Claim 19 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein the machine executable code further causes the machine to:
generate a filtering data structure and a metadata structure before the replay of entries, wherein the filtering data structure identifies the entries, and the metadata structure stores a metadata attribute of data containers associated with the entries; and
update before the replay, a location data structure indicating storage locations of the non-volatile memory that store data associated with write requests mirrored at the non-volatile memory.

### Claim 20 (depends on 19)

The non-transitory machine readable medium of claim 19, wherein the machine executable code further causes the machine to:
utilize the filtering data structure, the metadata structure and the location data structure for providing access to a storage object for processing an input/output (“I/O”) request received during the replay.
