Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Unable to increase the Harbor disk size from Ops Manager (67001)

Last Updated: 6/17/2020Categories: TroubleshootingTotal Views: 3972Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Increasing the Harbor disk size from Ops Manager is failing.

In the Ops Manager change log, you see the entries similar to:

Task 1181 | 13:13:22 | Preparing deployment: Preparing deployment (00:00:02)
Task 1181 | 13:13:26 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 1181 | 13:13:26 | Updating instance harbor-app: harbor-app/ab986a44-3f83-4679-bad5-3b7d127e5c87 (0) (canary) (00:12:14)
L Error: Action Failed get_task: Task 29a18b11-9888-4378-7e59-fdbb3f592716 result: Migrating persistent disk: Remounting persistent disk as readonly: Unmounting /var/vcap/store: Running command: 'umount /var/vcap/store', stdout: '', stderr: 'umount: /var/vcap/store: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
': exit status 32
Task 1181 | 13:25:40 | Error: Action Failed get_task: Task 29a18b11-9888-4378-7e59-fdbb3f592716 result: Migrating persistent disk: Remounting persistent disk as readonly: Unmounting /var/vcap/store: Running command: 'umount /var/vcap/store', stdout: '', stderr: 'umount: /var/vcap/store: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
': exit status 32

Task 1181 Started Mon Jan 28 13:13:22 UTC 2019
Task 1181 Finished Mon Jan 28 13:25:40 UTC 2019
Task 1181 Duration 00:12:18
Task 1181 error
Updating deployment:
Expected task '1181' to succeed but state is 'error'
Exit code 1

Cause

This issue occurs due to an error while un-mounting the existing which is still in use by some of the Harbor processes.

Resolution

This is a known issue with Harbor 1.5.x,1.6.x, and 1.7.x will be resolved in future versions.

Workaround

Notes:

This workaround can be done before click "Apply-Changes" to save time.

Before "Apply-Changes", need to exit the console login to harbor VM.

To work around this issue:

Log in to the Harbor VM from the bosh by running the command:
bosh ssh <harbor vm > -d <deployment name>

Switch to sudo mode by running the command: sudo -i

Check the current mount on /var/vcap/store and its sub folder:
# cat /proc/mounts |grep /var/vcap/store

/dev/sdc1 /var/vcap/store ext4 rw,relatime,data=ordered 0 0
/dev/sdc1 /var/vcap/store/docker ext4 rw,relatime,data=ordered 0 0

Note: Above output confirms docker is still mounted to existing disk.

To unmount this, stop the harbor and dockerd services.
monit stop harbor
monit stop dockerd
Note: If monit commands failed, then run docker stop $(docker ps -aq) && docker rm $(docker ps -aq) to cleanup all the containers.

Unmount all sub directories. Ensure to unmount all underlying directory first, do not umount /var/vcap/store.

# umount /var/vcap/store/docker

Run the below command again to make confirm /var/vcap/store/docker is unmounted.
# cat /proc/mounts \|grep /var/vcap/store

/dev/sdc1 /var/vcap/store ext4 rw,relatime,data=ordered 0 0

Then click the Apply Changes from the Ops Manager to increase the harbor disk size.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
基于 Linux 的文件系统变成只读模式 (51306)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
Linux ベースのファイル システムが読み取り専用になる (51306)

KB
•
ネットワーク エラー： IP アドレスが別のアダプタにすでに割り当てられている (1179)

Results 1-5 of 5

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware PKS

Related Versions:

VMware PKS 1.x

Take Our Survey

Support Assistant