Inaccessible vSAN Objects After Adding Repurposed Host
search cancel

Inaccessible vSAN Objects After Adding Repurposed Host

book

Article ID: 422076

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • After adding a repurposed ESXi host to a vSAN cluster, inaccessible objects are observed in the Skyline or Object Health view. These alerts persist even after standard object health operations are performed.
  • The user can verify the source of the issue by comparing disk group creation timestamps; the problematic host will have disk groups created at different times than the rest of the cluster, indicating a legacy configuration.
  • When the user check Skyline health, the cluster is healthy and no hosts are in maintenance mode or decom state. 

Environment

vSAN 8.x

Cause

The repurposed host retained stale disk groups and metadata from a previous vSAN cluster. The current cluster detects this foreign metadata and flags the referenced, but non-existent objects as inaccessible.

Resolution

To resolve this issue, both reactive and proactive cleanup steps are performed.

Reactive Cleanup (Optional)

If inaccessible objects are currently blocking cluster operations, the following steps are taken to identify and remove them:

  1. Connect to an ESXi host via SSH.
  2. The list of inaccessible objects is generated: esxcli vsan debug object list --health=inaccessible
  3. The specific object is removed using objtool: /usr/lib/vmware/osfs/bin/objtool delete -u [Object_UUID]

Note: Exercise caution, as objtool delete is an irreversible action. Ensure the object is confirmed to be stale data from a previous cluster before proceeding. If doubt exists regarding the state of the object, engage Broadcom Support, as premature deletion results in potential data loss.

Proactive Cleanup (Recommended)

To permanently clear stale configuration and prevent recurrent alarms:

  1. Maintenance Mode is enabled on the repurposed host (Select No Data Migration).
  2. Navigate to Configure > vSAN > Disk Management.
  3. The disk group associated with the repurposed host is removed.
  4. The disk group is recreated to format the drives and generate metadata consistent with the current cluster.
  5. Maintenance Mode is exited. The inaccessible objects are cleared.

Additional Information