跳转到主内容

SnapMirror-S3关系中的src和dst分段之间的对象计数增量

Views:
2
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp<a>2009-308212</a>
Last Updated:

适用场景

  • SnapMirror-S3 (FabricLink)
  • ontap_s3对象存储分段

问题描述

  • 在RPO=0的SnapMirror-S3 FabricLink关系中、目标对象存储分段object-count会不断提升、可能远高于源分段的object-count。
  • 托管受影响存储分段的聚合会不断填充、空间变得越来越紧或聚合空间不足。
  • 或者、从更轻的形式看、SnapMirror-S3关系中源-和目标-分段之间的对象计数仅显示不同的数字、而不显示未完成的工作:

::> vserver object-store-server bucket show -fields object-count
vserver bucket     object-count
------- ---------- ------------
svm_dst bucket-dst 124080
svm_src bucket-src 124078
2 entries were displayed.

::> snapmirror show
                                                                       Progress
Source            Destination Mirror  Relationship   Total             Last
Path        Type  Path        State   Status         Progress  Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm_src:/bucket/bucket-src
            XDP  svm_dst:/bucket/bucket-dst
                             Snapmirrored
                                     Idle           -         true    -

::*> snapmirror show -instance
                            Source Path: svm_src:/bucket/bucket-src
                       Destination Path: svm_dst:/bucket/bucket-dst
                      Relationship Type: XDP
                 SnapMirror Policy Type: continuous
                      SnapMirror Policy: Continuous
                      Throttle (KB/sec): unlimited
                           Mirror State: Snapmirrored
                    Relationship Status: Idle
                        Relationship ID: 16d619e6-9044-11ed-823e-005056bbfb01
                 FabricLink Source Role: bucket-src
               FabricLink Source Bucket: active-mirror
                   FabricLink Peer Role: bucket-dst
                 FabricLink Peer Bucket: active-mirror
                    FabricLink Topology: 145c48be-9044-11ed-8707-005056bbcabb
             FabricLink Pull Byte Count: 0
             FabricLink Push Byte Count: 0
         FabricLink Pending Work Count: 0
                      FabricLink Status: ok

  • 手动删除源存储分段中的所有对象后、源存储分段或目标存储分段或两者上的对象计数不会降至零、并且部分甚至大部分已占用空间不会释放。
  • 深入调查显示、从外部S3客户端执行检查时、目标存储分段中会保留部分多部件对象、例如 aws cli

$ aws --profile bucket-dst --endpoint-url https://ontap_s3.local  s3api list-multipart-uploads --bucket bucket-dst --output text
UPLOADS 2023-01-09T09:57:09.000Z        f001    MjE1NTI5NTY5OF8xMDU2XzIzMF80NjgzNzU4Mg
UPLOADS 2023-01-09T10:03:46.000Z        f002    MjE1NTI5NTY5N18xMDU1XzE3MV80NjQzNTk2MQ

注意: 如果目标分段已升级(SnapMirror-S3已反转)、则部分多部分对象可以同时保留在源分段和目标分段中。

  • 初始化SnapMirror-S3关系时 air.repaired.vplus:notice 、ONTAP event log show(EMS)输出中会报告事件:
Thu Sep 15 09:07:09 +0200 [zbghns4-03: wafl_exempt07: air.repaired.vplus:notice]: AIR vplus rebuild of 1204~0.147527 completed for subtype 6

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device