In one embodiment, I/O operations may be swapped from an original storage unit to a replacement storage unit in a manner which can reduce or eliminate delays caused by copying of data from the original storage unit to the replacement storage unit. A point-in-time snap copy relationship between the original storage unit and the replacement storage unit of storage locations is established and I/O operations are swapped from the original storage unit to the replacement storage unit. The I/O operations are resumed, accessing the replacement storage unit instead of the original storage unit in the input/output operations issued by the at least one host. Other aspects are described.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: accessing storage locations of an original source storage unit in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage locations being accessed; creating at a point-in-time, a point-in-time snap copy of the original storage unit as a replacement source storage unit of storage locations so that all the data on the original storage unit at the point-in-time is available for access via the replacement storage unit prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit; and prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit, replacing the original storage unit with the replacement storage unit of storage locations, including initiating accessing storage locations of the replacement storage unit instead of storage locations of the original storage unit, in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage locations of the replacement storage unit being accessed.
2. The method of claim 1 , further comprising background copying data from storage locations of the original storage unit to storage locations of the replacement storage unit after initiation of the accessing of storage locations of the replacement storage unit instead of storage locations of the original source storage unit.
3. The method of claim 1 further comprising swapping the replacement storage unit for the original source storage unit wherein the swapping includes quiescing input/output operations to the original source storage unit.
4. The method of claim 3 wherein the swapping includes a swap manager maintaining a data structure identifying a storage unit to be accessed by the input/output operations issued by at least one host to access storage locations of the identified storage unit, and wherein the accessing of storage locations of the original source storage unit in response to received input/output operations includes at least one of writing updates to and reading data from storage locations of the original source storage unit identified by the data structure maintained by the swap manager.
5. The method of claim 4 wherein the swapping includes the swap manager modifying a data structure to identify the replacement storage unit instead of the original storage unit to be accessed by the input/output operations issued by the at least one host so that storage locations of the replacement storage unit are accessed instead of storage locations of the original source storage unit, in response to received input/output operations.
6. The method of claim 2 wherein the creating a point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations includes creating a point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit.
7. The method of claim 6 further comprising determining when the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit is completed and terminating the point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit upon completion of the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit.
8. The method of claim 1 further comprising quiescing the accessing of storage locations of an original source storage unit in response to received input/output operations, before creating the point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations.
9. The method of claim 8 wherein the quiescing includes queuing input/output operations in a queue and wherein the initiating of accessing of storage locations of the replacement storage unit instead of storage locations of the original source storage unit, in response to received input/output operations includes performing the input/output operations queued in the queue wherein the replacement storage unit is accessed instead of the original storage unit in the queued input/output operations and at least one of updates are written to and data read from storage locations of the replacement storage unit.
10. A system, comprising: at least one storage subsystem including a plurality of original source storage units, a plurality of original target storage units, a plurality of replacement source storage units and at least one storage controller adapted to access and control storage units of the at least one storage subsystem; and at least one computer readable storage medium having computer readable program code embodied therein that is enabled to cause operations to be performed, the operations comprising: accessing storage locations of an original storage unit in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage locations being accessed; creating at a point-in-time, a point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations so that all the data on the original storage unit at the point-in-time is available for access via the replacement storage unit prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit; and prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit, replacing the original storage unit with the replacement storage unit of storage locations, including initiating accessing storage locations of the replacement storage unit instead of storage locations of the original storage unit, in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage location of the replacement storage unit being accessed.
11. The system of claim 10 , wherein the operations further comprise background copying data from storage locations of the original storage unit to storage locations of the replacement storage unit after initiation of the accessing of storage locations of the replacement storage unit instead of storage locations of the original source storage unit.
12. The system of claim 10 wherein the operations further comprise swapping the replacement storage unit for the original source storage unit wherein the swapping includes quiescing input/output operations to the original source storage unit.
13. The system of claim 12 wherein the swapping includes a swap manager maintaining a data structure identifying a storage unit to be accessed by the input/output operations issued by at least one host to access storage locations of the identified storage unit, and wherein the accessing of storage locations of the original source storage unit in response to received input/output operations includes at least one of writing updates to and reading data from storage locations of the original source storage unit identified by the data structure maintained by the swap manager.
14. The system of claim 13 wherein the swapping includes the swap manager modifying a data structure to identify the replacement storage unit instead of the original storage unit to be accessed by the input/output operations issued by the at least one host so that storage locations of the replacement storage unit are accessed instead of storage locations of the original source storage unit, in response to received input/output operations.
15. The system of claim 11 wherein the creating a point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations includes creating a point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit.
16. The system of claim 15 wherein the operations further comprise determining when the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit is completed and terminating the point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit upon completion of the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit.
17. The system of claim 10 wherein the operations further comprise quiescing the accessing of storage locations of an original source storage unit in response to received input/output operations, before creating the point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations.
18. The system of claim 17 wherein the quiescing includes queuing input/output operations in a queue and wherein the initiating of accessing of storage locations of the replacement storage unit instead of storage locations of the original source storage unit, in response to received input/output operations includes performing the input/output operations queued in the queue wherein the replacement storage unit is accessed instead of the original storage unit in the queued input/output operations and at least one of updates are written to and data read from storage locations of the replacement storage unit.
19. A computer program product for managing data storage operations in connection with at least one storage subsystem including a plurality of original source storage units, a plurality of original target storage units, a plurality of replacement source storage units, and at least one storage controller adapted to access and control storage units of the at least one storage subsystems, the computer program product comprising at least one non-transitory computer readable storage medium having computer readable program code embodied therein that is enabled to cause operations to be performed, the operations comprising: accessing storage locations of an original storage unit in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage locations being accessed; creating at a point-in-time, a point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations so that all the data on the original storage unit at the point-in-time is available for access via the replacement storage unit prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit; and prior to copying all the data on the original storage unit at the point-in-time to the replacement storage unit, replacing the original storage unit with the replacement storage unit of storage locations, including initiating accessing storage locations of the replacement storage unit instead of storage locations of the original storage unit, in response to received input/output operations, wherein the accessing includes at least one of writing updates to and reading data from the storage location of the replacement storage unit being accessed.
20. The product of claim 19 , wherein the operations further comprise background copying data from storage locations of the original storage unit to storage locations of the replacement storage unit after initiation of the accessing of storage locations of the replacement storage units instead of storage locations of the original source storage units.
21. The product of claim 20 wherein the operations further comprise swapping the replacement storage unit for the original source storage unit wherein the swapping includes quiescing input/output operations to the original source storage unit.
22. The product of claim 21 wherein the swapping includes a swap manager maintaining a data structure identifying a storage unit to be accessed by the input/output operations issued by at least one host to access storage locations of the identified storage unit, and wherein the accessing of storage locations of the original source storage unit in response to received input/output operations includes at least one of writing updates to and reading data from storage locations of the original source storage unit identified by the data structure maintained by the swap manager.
23. The product of claim 22 wherein the swapping includes the swap manager modifying a data structure to identify the replacement storage unit instead of the original storage unit to be accessed by the input/output operations issued by the at least one host so that storage locations of the replacement storage unit are accessed instead of storage locations of the original source storage unit, in response to received input/output operations; wherein the creating a point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations includes creating a point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit; wherein the operations further comprise determining when the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit is completed and terminating the point-in-time snap copy relationship between the storage locations of the original storage unit and the storage locations of the replacement storage unit upon completion of the background copying of data from storage locations of the original storage unit to storage locations of the replacement storage unit; wherein the operations further comprise quiescing the accessing of storage locations of an original source storage unit in response to received input/output operations, before creating the point-in-time snap copy of the original storage unit as a replacement storage unit of storage locations; and wherein the quiescing includes queuing input/output operations in a queue and wherein the initiating of accessing of storage locations of the replacement storage unit instead of storage locations of the original source storage unit, in response to received input/output operations includes performing the input/output operations queued in the queue wherein the replacement storage unit is accessed instead of the original storage unit in the queued input/output operations and at least one of updates are written to and data read from storage locations of the replacement storage unit.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 30, 2019
February 9, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.