Unable to delete disk partition from the vSphere UI, it fails with error "Failed to update disk partitions for /vmfs/devices/disks/eui.#############"
search cancel

Unable to delete disk partition from the vSphere UI, it fails with error "Failed to update disk partitions for /vmfs/devices/disks/eui.#############"

book

Article ID: 409120

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

  • The disk was earlier part of a vSAN ESA cluster.
  • Below error is reflected when trying to delete the partition of the device from vcenter UI.

Environment

ESXi 8.x

vSAN 8.x

Cause

vSAN storage pools were not evacuated and removed from the disk before trying to reuse it.

Resolution

Ensure that there is no data required from the disks claimed for use as vSAN ESA storage pools, removing storage pools deletes any data that was stored on these disks and is irreversible.

Identify all disks with storage pools enabled on them via SSH to each node:

# vdq -Hi

# esxcli vsan storagepool list

# esxcli vsan storagepool remove -d <device_id>

Note: If we are still unable to delete the disk partition we can format the disk from hardware layer via DCUI (Direct Console User Interface, like iDRAC, virtual console etc) or from BIOS, hardware vendor can be engaged for any help/assistance need to format the disk from hardware layer.