提升负载共享镜像副本

您可以提升负载共享镜像副本,以还原 Storage Virtual Machine (SVM) 的根卷。

步骤

  1. 使用 set -privilege advanced 命令将权限级别设置为高级。
  2. 使用 snapmirror promote 命令将负载共享镜像副本提升为根卷。
  3. 使用 vol show 命令验证 SVM 的新根卷。
  4. 使用 vol rename 命令重命名已提升为根卷的卷。
    有关这些命令的详细信息,请参见相应的手册页。

示例

以下示例说明了如何将负载共享镜像副本 vol_dstls 提升为 SVM vs1.example.com 的根卷:

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::*> snapmirror promote -destination-path vs1.example.com:vol_dstls

Warning: Promote will delete the read-write volume cluster1://vs1.example.com/vol1 and replace it with cluster1://vs1.example.com/vol_dstls.
Do you want to continue? {y|n}: y
[Job 489] Job succeeded: SnapMirror: done

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

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