A method, device and system for asynchronous remote replication
A remote replication, asynchronous technology, applied in the direction of input/output to the record carrier, etc., can solve the problems of different write IO data processing delay, performance fluctuation, etc., to improve write performance, fast response, and avoid write delay. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] see figure 2 , which shows an asynchronous remote replication method provided by an embodiment of the present invention. The method is applied to a disk array of a local device. In addition to the primary volume, the disk array is additionally provided with an incremental data area. Methods include:
[0079] S201: the main volume receives the write request sent by the host;
[0080] Wherein, the write request includes the new data to be written and the target data block where the new data is written into the primary volume.
[0081] S202: When the primary volume determines that the current target data block is in the process of asynchronous remote replication, set the primary volume to an internal read-only state, and write new data into the data block in the incremental data area;
[0082] S203: The disk array establishes an address mapping between the data blocks in the incremental data area and the data blocks in the primary volume for the new data.
[0083] S204...
Embodiment 2
[0108] For the specific implementation of the above-mentioned embodiments, it should be noted that, if Figure 7 The data blocks in the master volume shown in include data A and data B, and the host data write request updates data B to data C.
[0109] At this time, if Figure 7 As shown in the left figure in: According to the traditional snapshot-based block-level asynchronous remote replication process, it can include:
[0110] S71: When the primary volume has created a snapshot, the data AB in the snapshot state 1 is a pointer to the primary volume AB.
[0111] S72: When the primary volume after the snapshot is established receives a data write request for the first time, first copy all the data blocks including data A and data B to the storage area of the snapshot area, that is, the snapshot state 2;
[0112] S73: Write the data C into the storage location where the original data B is stored in the data block.
[0113] and Figure 7 In comparison with the left figure...
Embodiment 3
[0115] Based on the same technical idea of the foregoing embodiments, see Figure 8 , which shows a disk array 80 located on a local device according to an embodiment of the present invention. The disk array 80 may include: a main volume 801, an incremental data area 802, a receiving module 803, a writing module 804, a mapping module 805 and sending module 806; wherein,
[0116] The receiving module 803 is configured to receive a write request sent by the host to the main volume 801; wherein, the write request includes new data to be written and the new data is written into the main volume 801 target data block.
[0117] The writing module 804 is configured to set the primary volume 801 to an internal read-only state when it is determined that the target data block is currently in the process of asynchronous remote replication, and write the new data to the secondary volume 801. Data blocks in the volume data area 802;
[0118] The mapping module 805 is configured to esta...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


