跳转到主内容

Restic Pod 传输的数据远远超过 df 命令在 ACS 运行备份时显示的 PVC 已用大小

Views:
4
Visibility:
Public
Votes:
0
Category:
astra
Specialty:
snapx
Last Updated:

适用场景

Astra 控制服务( ACS )

问题描述

  • 当 ACS 运行备份时,用作 Astra 备份 Pod 的 Restic 会发送大量数据

$ kubectl logs b-cp-kafka-lskgx -n app-1-backup-20211102051418
  : 
{"message_type":"summary","files_new":1391,"files_changed":0,"files_unmodified":0,"dirs_new":349,"dirs_changed":0,"dirs_unmodified":0,"data_blobs":238,"tree_blobs":350,"data_added":231434110,"total_files_processed":1391,"total_bytes_processed":7359614291,"total_duration":4235.635579522,"snapshot_id":"c323f2b3"}

  • df 备份目标 Pod 中的命令显示永久性卷声明( PVC )的已用大小要小得多

$ kubectl exec -it cp-kafka --container cp-kafka-broker sh
sh-4.4# df -h
Filesystem Size Used Avail Use% Mounted on
  :
10.0.2.1:/anf-340b145384b176f0730a4f7dfac9d8af 300G 212M 300G 1% /opt/kafka/data

  • ls -lR [PVC mount path] 备份目标 Pod 中的命令显示 PVC 中所有文件的总大小接近 Restic 发送的总字节数 

 

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.