Skip to main content
NetApp Knowledge Base

Restic pod transfers much larger data than used size of PVC that df command shows

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

Applies to

Astra Control Service (ACS)

Issue

  • When ACS runs backup, Restic which is used as an Astra backup pod sends large data

$ 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 command inside the backup target pod shows a much smaller used size for the persistent volume claim (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] command inside the backup target pod shows the total size of all files in PVC is close to the total bytes that Restic sent 

 

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.