Table of ContentsView in Frames

Promoting a data-protection mirror copy

You can use a data-protection mirror copy to restore the root volume of a Storage Virtual Machine (SVM).

Steps

  1. Use the snapmirror break command to break the SnapMirror relationship.
  2. Use the set -privilege advanced command to set the privilege level to advanced.
  3. Use the volume make-vsroot command to promote the data-protection mirror copy as the root volume.
  4. Use the volume show command to verify the new root volume of the SVM.
  5. Use the volume rename command to rename the volume that was promoted as the root volume.
    For more information about these commands, see the man pages.

Example

The following example shows how to promote a data-protection mirror copy vol_dstdp as the root volume of the SVM vs1.example.com:

cluster1::
> snapmirror break -destination-path vs1.example.com:vol_dstdp
[Job 521] Job succeeded: SnapMirror Break Succeeded

cluster1::> set -privilege advanced

Warning: These advanced commands are potentially dangerous; use them only when directed to do so by technical support.
Do you want to continue? {y|n}: y

cluster1::*> volume make-vsroot -volume vol_dstdp -vserver vs1.example.com
[Job 522] Job succeeded: DONE

cluster1::*> volume show -volume vol_dstdp -instance

              Vserver Name: vs1.example.com
              Volume Name: vol_dstdp
              .
              .
	          Junction Path: /
              .
              Vserver Root Volume: true
              .
              .