https://rancher.com/ logo
#harvester
Title
# harvester
r

refined-analyst-8898

03/21/2023, 5:08 PM
Is it possible to clean up the host's failed storage allocation cards in the UI? They are artifacts from attempting to force format a disk that was considered in-use because it had a present LVM volume. Now I have added the same disk successfully, but the error cards still remain in the UI.
The cards have conditions error badge with a message like
failed to force format device 3db9feafc2382c78d6a3a70815680a72: stderr: mke2fs 1.43.8 (1-Jan-2018) /dev/sdc is apparently in use by the system; will not make a filesystem here! , err: exit status 1
2023-03-21_13-07.png
In hosts > storage > edit config I do not have any UI handles/buttons to delete the error card.
I am using Harvester 1.1.1 through Rancher 2.7.1.
I never found a way to clean up the error cards, but on a second attempt I was able to allocate the same disks.
f

full-plastic-79795

03/23/2023, 6:26 AM
Thank you for bringing this issue to our attention. One possible solution to try is to access the built-in Longhorn UI and check if the error disk is present. If it is, you can attempt to remove it using the Longhorn UI. To access the Longhorn UI, you can follow the steps outlined in the following documentation: https://docs.harvesterhci.io/v1.1/troubleshooting/harvester#access-embedded-rancher-and-longhorn-dashboards Once you are logged into the Longhorn UI, you can navigate to the
Node
tab to view the nodes and their associated disks. After
Edit node and disks
, if the error disk is listed, you can try removing it, After that click
Save
Please let us know if this solution works for you. Thanks!
r

refined-analyst-8898

03/24/2023, 9:51 PM
Yes, that worked. It was necessary to first disable scheduling.
Thank you for the help.
10 Views