Complete allocated disk space is unavailable in the Harbor GUI
search cancel

Complete allocated disk space is unavailable in the Harbor GUI

book

Article ID: 316730

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid

Issue/Introduction

Symptoms:
  • Harbor GUI is not showing full storage space allocated from the opsman harbor tile
  • You see the correct size for the vmdk created in vSphere for the Harbor VM persistent disk
  • You see the correct size for the vmdk when you run lsblk or fdisk -l from the Harbor VM
  • The df -h command reports less size for the overlay filesystem


Resolution

This is expected behavior in Harbor.

If the Harbor VM is deployed on a shared VMFS datastore, you will see this difference in the real size and usable size, which is the overhead of the filesystem. 




Additional Information

The block size of sdd will show the full size and it is mounted to /var/vcap/store. The filesystem is overlay2 created by docker which will be smaller than the allocated space. This is the overhead space.