Skip to main content

Promoting a load-sharing mirror

If a root volume is permanently unavailable, you can promote the load-sharing mirror (LSM) volume to provide write access to root volume data.

Before you begin

You must use advanced privilege level commands for this task.

  1. Change to advanced privilege level: set -privilege advanced
  2. Promote an LSM volume:snapmirror promote -destination-path SVM:volume|cluster://SVM/volume

    For complete command syntax, see the man page.

    Example

    The following example promotes the volume svm1_m2 as the new SVM root volume:
    cluster_src::*> snapmirror promote -destination-path svm1:svm1_m2

    Warning: Promote will delete the offline read-write volume
    cluster_src://svm1/svm1_root and replace it with
    cluster_src://svm1/svm1_m2. Because the volume is offline,
    it is not possible to determine whether this promote will
    affect other relationships associated with this source.
    Do you want to continue? {y|n}: y

    Result

    Enter y. ONTAP makes the LSM volume a read/write volume, and deletes the original root volume if it is accessible.

    Attention
    The promoted root volume might not have all of the data that was in the original root volume if the last update did not occur recently.
  3. Return to admin privilege level: set -privilege admin
  4. Rename the promoted volume following the naming convention you used for the root volume:volume rename -vserver SVM -volume volume -newname new_name

    Example

    The following example renames the promoted volume svm1_m2 with the name svm1_root :
    cluster_src::> volume rename -vserver svm11 -volume svm1_m2 -newname svm1_root

  5. Protect the renamed root volume, as described in 3 through 4 in Creating and initializing load-sharing mirror relationships.