Detecting out-of-band (OOB) changes when replicating a source file system using an in-line system
First Claim
Patent Images
1. A system positioned in-line between a plurality of clients and a source file system, the system comprising:
- a memory resource to store instructions;
one or more processors using the instructions stored in the memory resource to;
populate a target memory with one or more file system objects from the source file system;
store file handles and corresponding metadata for each of the one or more file system objects populated in the target memory;
receive a request from a client in the plurality of clients, the request specifying a file handle for a file system object stored on the source file system;
retrieve source metadata from the source file system, the source metadata corresponding to the specified file handle;
retrieve system metadata stored in the system, the system metadata corresponding to the specified file handle;
determine whether the source metadata matches the system metadata;
upon determining that the source metadata and the system metadata match, respond to the request from the client with the file system object from the target memory; and
upon determining that the source metadata and the system metadata are inconsistent, replace the system metadata with the source metadata and update the file system object in the target memory with the file system object in the source file system.
1 Assignment
0 Petitions
Accused Products
Abstract
Examples described herein include a computer system, positioned in-line with respect to a plurality of clients that actively use a source file system, to replicate a source file system on a target memory in presence of out-of-band events which after the source file system.
-
Citations
15 Claims
-
1. A system positioned in-line between a plurality of clients and a source file system, the system comprising:
-
a memory resource to store instructions; one or more processors using the instructions stored in the memory resource to; populate a target memory with one or more file system objects from the source file system; store file handles and corresponding metadata for each of the one or more file system objects populated in the target memory; receive a request from a client in the plurality of clients, the request specifying a file handle for a file system object stored on the source file system; retrieve source metadata from the source file system, the source metadata corresponding to the specified file handle; retrieve system metadata stored in the system, the system metadata corresponding to the specified file handle; determine whether the source metadata matches the system metadata; upon determining that the source metadata and the system metadata match, respond to the request from the client with the file system object from the target memory; and upon determining that the source metadata and the system metadata are inconsistent, replace the system metadata with the source metadata and update the file system object in the target memory with the file system object in the source file system. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for replicating changes, the method being implemented by one or more processors of a device positioned in-line between a plurality of clients and a source file system, the method comprising:
-
populating a target memory with one or more file system objects from the source file system; storing file handles and corresponding metadata for each of the one or more file system objects populated in the target memory; receiving a request from a client in the plurality of clients, the request specifying a file handle for a file system object stored on the source file system; retrieving source metadata from the source file system, the source metadata corresponding to the specified file handle; retrieving system metadata stored in the device, the system metadata corresponding to the specified file handle; determining whether the source metadata matches the system metadata; upon determining that the source metadata and the system metadata match, responding to the request from the client with the file system object from the target memory; and upon determining that the source metadata and the system metadata are inconsistent, replacing the system metadata with the source metadata and updating the file system object in the target memory with the file system object in the source file system. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable medium that stores instructions, executable by one or more processors, to cause the one or more processors to perform operations that comprise:
-
populating a target memory with one or more file system objects from a source file system;
storing, at a device, file handles and corresponding metadata for each of the one or more file system objects populated in the target memory;receiving a request from a client in a plurality of clients, the request specifying a file handle for a file system object stored on the source file system; retrieving source metadata from the source file system, the source metadata corresponding to the specified the handle; retrieving system metadata stored in the device, the system metadata corresponding to the specified file handle;
determining whether the source metadata matches the system metadata;upon determining that the source metadata and the system metadata match, responding to the request from the client with the file system object from the target memory; and upon determining that the source metadata and the system metadata are inconsistent, replacing the system metadata with the source metadata and updating the file system object in the target memory with the file system object in the source file system. - View Dependent Claims (12, 13, 14, 15)
-
Specification