python-harborclient icon indicating copy to clipboard operation
python-harborclient copied to clipboard

The repo size reported with "harbor list" command doesn't match the actual size in Harbor registry

Open DavidRodHub opened this issue 7 years ago • 2 comments

After running Garbage collect, using harborclient , I ran "harbor list" and totaled up the size of all repository tags listed = 164GB. The actual size of the harbor registry repositories = 847GB.

Why the diff of about 700GB

DavidRodHub avatar May 31 '18 00:05 DavidRodHub

Could you please provide the steps to reproduce?

int32bit avatar Jun 25 '18 15:06 int32bit

  1. Installed harbor-client on the harbor-docker-registry server.
  2. Ran command "harbor list" and output to file.
  3. Imported file in step 2 to excel spreadsheet to add up all image tag file sizes listed in the output of "harbor list"
  4. Compared the size reported in Excel (248GB) to the size report by Harbor-UI (897GB)

image

DavidRodHub avatar Jun 25 '18 22:06 DavidRodHub