メインコンテンツまでスキップ

SnapMirror-S3関係内のsrcバケットとdstバケット間のオブジェクト数の差分

Views:
22
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp<a>200930</a>
Last Updated:

環境

  • SnapVault-SnapMirror(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

  • source-bucket内のすべてのオブジェクトを手動で削除したあとは、source-bucketまたはdestination-bucket、またはその両方でobject-countがゼロに設定されていても、ゼロにはならず、一部または大部分の占有スペースは解放されません。
  • さらに詳しい調査では、次 aws cliのような外部S3クライアントからのチェック時に、部分的なマルチパートオブジェクトがデスティネーションバケット内に残ります。

$ 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が逆)場合、一部のマルチパートオブジェクトはsource-bucketとdestination-bucketの両方に残ることがあります。

  • SnapVault-SnapMirror関係が初期化された時点 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.

 

  • この記事は役に立ちましたか?