Synchronizing updates across cluster filesystems
First Claim
Patent Images
1. A method comprising:
- periodically creating a consistency point in a source filesystem, each consistency point representing filesystem data and metadata at a point-in-time to establish a recovery point, the periodic creation of the consistency point including creating a first consistency point at a first point-in-time and a second consistency point at a second point-in-time, wherein the first consistency point and the second consistency point are any two consistency points;
comparing the first consistency point with the second consistency point, including identifying a difference between the first and second consistency points, wherein the comparison detects presence of a new inode and a changed directory at the filesystem;
responsive to the detection of the new inode, creating a temporary new target inode at a target file system;
mapping at least one target inode, including the temporary inode, to one or more corresponding source inodes;
responsive to the detection of the changed directory, identifying a file level change, wherein a changed file is associated with an established directory at the target filesystem;
establishing a link from the source filesystem to the target filesystem; and
applying the identified difference between the first and second consistency points, including applying the identified difference using the temporary new inode, including replaying the identified difference as one or more filesystem operations, wherein the difference is differential, and including updating the established directory with data associated with the changed file.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention relate to synchronization of data in a shared pool of configurable computer resources. An image of the filesystem changes, including data and metadata, is captured in the form of a consistency point. Sequential consistency points are created, with changes to data and metadata in the filesystem between sequential consistency captured and placed in a queue for communication to a target filesystem at a target site. The changes are communicated as a filesystem operation, with the communication limited to the changes captured and reflected in the consistency point.
-
Citations
20 Claims
-
1. A method comprising:
-
periodically creating a consistency point in a source filesystem, each consistency point representing filesystem data and metadata at a point-in-time to establish a recovery point, the periodic creation of the consistency point including creating a first consistency point at a first point-in-time and a second consistency point at a second point-in-time, wherein the first consistency point and the second consistency point are any two consistency points; comparing the first consistency point with the second consistency point, including identifying a difference between the first and second consistency points, wherein the comparison detects presence of a new inode and a changed directory at the filesystem; responsive to the detection of the new inode, creating a temporary new target inode at a target file system; mapping at least one target inode, including the temporary inode, to one or more corresponding source inodes; responsive to the detection of the changed directory, identifying a file level change, wherein a changed file is associated with an established directory at the target filesystem; establishing a link from the source filesystem to the target filesystem; and applying the identified difference between the first and second consistency points, including applying the identified difference using the temporary new inode, including replaying the identified difference as one or more filesystem operations, wherein the difference is differential, and including updating the established directory with data associated with the changed file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 19, 20)
-
-
10. A method comprising:
-
creating a first consistency point in a source filesystem at a first point-in-time and creating a second consistency point in the source filesystem at a second point-in-time, the first consistency point representing filesystem data and metadata at a first point-in-time to establish a first recovery point and the second consistency point representing filesystem data and metadata at a second point-in-time to establish a second consistency point, wherein the first consistency point and the second consistency point are any two consistency points; following a communication failure associated with the source filesystem, comparing the first consistency point with the second consistency point, including identifying a change between the first and second consistency points, wherein the comparison detects presence of a new inode and a changed directory at the filesystem; responsive to the detection of the new inode, creating a temporary new target inode at a target filesystem; mapping at least one target inode, including the temporary inode, to one or more corresponding source inodes; responsive to the detection of the changed directory, identifying a file level change, wherein a changed file is associated with an established directory at the target filesystem; establishing a link from the source filesystem to the target filesystem; and applying the identified change between the first and second consistency points, including applying the identified difference using the temporary new inode, including replaying the identified change as a filesystem operation, wherein the change is differential, and including updating the established directory with data associated with the changed file. - View Dependent Claims (11)
-
-
12. A computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
-
computer readable program code configured to process data at a source site in a shared pool of configurable resources, including periodic creation of a consistency point in a source filesystem of the source site, each consistency point to capture actual source filesystem data and metadata at a point-in-time to establish a recovery point, wherein a first consistency point and a second consistency point are any two consistency points; computer readable program code configured to compare the first consistency point with the second consistency point, including identification of any differences between the first and second consistency points, wherein the comparison detects presence of a new inode and a changed directory at the filesystem; computer readable program code configured to create a temporary new target inode in response to detection of the new inode; computer readable program code configured to map at least one target inode, including the temporary inode, to one or more corresponding source inodes; computer readable program code configured to identify a file level change in response to detection of the changed directory, wherein a changed file is associated with an established directory at the target filesystem; computer readable program code configured to establish a link from the source filesystem to the target filesystem; and computer readable program code configured to apply the identified differences between the first and second consistency points, including the code to apply the identified difference using the temporary new inode, including the code to replay the identified difference as one or more filesystem operations, wherein the difference is differential, and including updating the established directory with data associated with the changed file. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification