跳到主要内容

再同步源卷

当源卷处于联机状态时,必须再同步目标卷和源卷之间的数据,以从目标卷复制最新数据。

开始之前

源卷必须处于联机状态。

关于本任务

必须从目标集群执行此任务。

下图显示了数据从活动目标卷复制到只读源卷的情况:


下图显示了数据从活动目标卷复制到只读源卷的情况
  1. 运行 snapmirror resync -destination-path 命令来在源卷和目标卷之间执行再同步操作。

    示例

    以下命令再同步源卷 snap_src1:Source 与目标卷 vs1_dr:vol1

    Cluster2::> snapmirror resync -destination-path vs1_dr:vol1
    Warning: All data newer than Snapshot copy
    snapmirror.3fd9730b-8192-11e2-9caa-123478563412_2147484699.2020-02-28_1
    10732 on volume svm_dst1:SMSource_dest will be deleted.
    Verify there is no XDP relationship whose source volume is
    "snap_src1:Source". If such a relationship exists then you are creating
    an unsupported XDP to XDP cascade.
    Do you want to continue? {y|n}: y
    [Job 133] Job succeeded: SnapMirror Resync Transfer Queued

  2. 运行 snapmirror show 命令来查看关系类型和状态。

    示例

    Cluster2::> snapmirror show

    Source Destination Mirror Relationship Total Progress Last
    Path Type Path State Status Progress Healthy Updated
    ----------- ---- ------------ ------- -------------- --------- ------- --------
    snap_src1:Source
    XDP vs1_dr:vol1
    Snapmirrored
    Idle - true –