Patent ID: 8725692
Filing Date: 2014-05-13
Classification: G06F,H04L

Abstract:
1. A method for implementing the xcopy command in a replication environment, the replication environment having a production site, a splitter, and a replication site, wherein the replication site has a journal, the method comprising wherein the replication environment replicates IO written to storage on the production site to storage on the replication site to provide a replicated copy of storage of the production site on the replication site through the use of a splitter to copy IO written to the production site for application on the replication site, wherein the production site and replication are enabled to not be synchronized: receiving an xcopy command at the splitter; determining if a source logical unit number (LUN) of the xcopy command on the production site is being replicated to a source LUN on the replication site; determining if a target LUNs of the xcopy command on the production site is being replicated to a target LUN on the replication site; based on a determination that both the source LUN on the production site and target LUN on the production site are replicated, determining if the source LUN on the production site is synchronized with the source LUN on the replication site; determining if the target LUN on the production site is synchronized with the target LUN on the replication site; determining, based on a positive determination that the LUNs are synchronized, if the xcopy command is supported; performing, based on a positive determination that the LUNs are replicated and synchronized and the xcopy command is supported, the xcopy command in the replication environment; based on a determination that the source LUN is not being replicated, determining whether the splitter is able to implement the xcopy command; based on a positive determination of the splitter being able to implement the xcopy command, reading the source LUN of the xcopy command from the source LUN and sending data from the source LUN as writes to the target LUN based on a determination that the splitter is unable to implement the xcopy command: emulating the xcopy command by the DPA; wherein the emulation comprises: if the production and replication source and target LUNs are not in sync, determining whether to set a location as dirty in a marking stream, replicate the xcopy command, or reject the xcopy command.