When a write operation is requested to an
area of the source volume that Compatible FlashCopy® V2 has
not yet copied to the target volume, old data is copied to the target volume by the Copy
After Write (CAW) method or the Copy On Write (COW) method.
The following figures show both the CAW method and the COW method.
Figure. On-demand copy by the CAW
method when there is a write request to an area not yet copied
- There is a write request for the data that has not been copied from the host to a T-VOL.
- A write operation is executed before on-demand copy.
- A copy operation is executed asynchronously from the source volume to a target volume (on-demand copy) after the write process.
Figure. On-demand copy by the COW
method when there is a write request to an area not yet copied
- There is a write request for the data that has not been copied from the host to a T-VOL.
- On-demand copy is executed before the write operation. Then, data that has not been copied is copied from the source volume to the target volume.
- After the data has been copied by on-demand copy, the write operation is executed.
In the CAW method, the write operation is executed before on-demand copy. Therefore, the host wait time for the write operation is shorter than the COW method.
On-demand copy uses the CAW method by default (system option mode 1061 is set to on). Depending on the storage system's situation (for example, if the load is high), on-demand copy might still use the COW method. If you want to use the COW method on a regular basis, set system option mode 1061 to off.
Cases when on-demand copy does not operate by the CAW method
When there is a read request or write request to an area of the target volume that has not yet been copied, on-demand copy does not use the CAW method in the following cases:
- Write pending rate is 60% or more when writing in random access mode, or 30% or more when writing in sequential access mode.
- Cache access mode is cache fast write (CFW).
- Writing to an external volume when the cache mode is disabled. When writing to an external volume using the Format Write command, on-demand copy uses the CAW method.
- Writing to an area in which the Dynamic Provisioning for Mainframe volume's page is not assigned.
- The source volume is a TSE-VOL.