From the Command Line

Complete the following steps from the command line to save volA/Cluster2's data on volA/Cluster1 and reestablish the original mirror relationship from volA/Cluster1 to volA/Cluster2.

  1. Stop writing new data to volA/Cluster2. To be sure no data is written to this volume, make it read-only by running this command:
    Cluster2> maprcli volume modify -name volA -readonly true
  2. Pull the data from volA/Cluster2 to volA/Cluster1 by making volA/Cluster1 a mirror of volA/Cluster2.
    Cluster1> maprcli volume modify -name volA -type mirror -source volA@Cluster2
  3. Start the mirror operation.
    Cluster1> maprcli volume mirror start -name volA
  4. Once mirroring is done, promote volA to a read-write volume. Note that the mirror relationship breaks at this point.
    Cluster1> maprcli volume modify -name volA -type rw
  5. Make volA/Cluster2 a mirror of volA/Cluster1.
    Cluster2> maprcli volume modify -name volA -type mirror -source volA@Cluster1