跳转到主内容

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

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

适用场景

  • SnapMirror—S3 (FabricLink)
  • ONTAP S3对象存储分段

问题描述

  • 在RCO=0的SnapMirror和S3 FabricLink关系中、目标对象存储分段对象计数持续增加、可能会超过源分段的对象计数。
  • 托管受影响存储分段的聚合会不断填充、空间变得紧张或聚合用尽空间。
  • 或者、采用较浅的形式、在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.