Inaccessible objects in vSAN when all components show as Active
search cancel

Inaccessible objects in vSAN when all components show as Active

book

Article ID: 326833

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:
In vCenter you see inaccessible objects but no cluster partitions, failed disks, or hosts in maintenance mode/vSAN Decomm state
Running esxcli vsan debug object list --all|less you see similar output for the inaccessible objects:
Object UUID: c0473b62-a3b3-315e-8403-0050560181cb
   Version: 15
   Health: inaccessible - Object is initializing or creating.(APD)
   Owner: esxi1.gsslabs.org
   Size: 0.00 GB
   Used: 0.01 GB
   Policy:
   Configuration:

      RAID_1
         Component: c0473b62-ff57-dc5e-a53b-0050560181cb
           Component State: ACTIVE,  Address Space(B): 1073741824 (1.00GB),  Disk UUID: 5226d47b-c7a5-f329-85e4-24b46661ffbe,  Disk Name: mpx.vmhba2:C0:T1:L0:2
           Votes: 1,  Capacity Used(B): 12582912 (0.01GB),  Physical Capacity Used(B): 4194304 (0.00GB),  Host Name: esxi2.gsslabs.org
         Component: c1488363-ec8c-7906-2f98-0050560181d5
           Component State: ACTIVE,  Address Space(B): 1073741824 (1.00GB),  Disk UUID: 52a11798-b509-dc8a-deef-6ebe783f45c8,  Disk Name: mpx.vmhba2:C0:T1:L0:2
           Votes: 1,  Capacity Used(B): 12582912 (0.01GB),  Physical Capacity Used(B): 4194304 (0.00GB),  Host Name: esxi1.gsslabs.org
      Witness: 01d4e663-ca8d-d639-f127-0050560181d5
        Component State: ACTIVE,  Address Space(B): 0 (0.00GB),  Disk UUID: 5205d73b-aaf1-e043-9911-327ee38ce835,  Disk Name: mpx.vmhba1:C0:T1:L0:2
        Votes: 1,  Capacity Used(B): 12582912 (0.01GB),  Physical Capacity Used(B): 4194304 (0.00GB),  Host Name: esxi4.gsslabs.org

   Type: vdisk
   Path: /vmfs/volumes/vsan:52a9537793cbfa4e-c08e3f91e61cb239/047d3762-0a39-1351-42f8-0050560181cb/New Virtual Machine_1.vmdk (Missing)
   Group UUID: 047d3762-0a39-1351-42f8-0050560181cb
   Directory Name: None


Environment

VMware vSAN 7.0.x
VMware vSAN 8.0.x

Cause

Advanced setting /VSAN/DOMPauseAllCCPs is set to 1 on one or more hosts in the cluster
Setting this option will block all CCP in owner setup, resulting in objects going to APD state. This setting is used for cluster reboot/shutdown


Resolution

When dealing with a large number of inaccessible objects do the following:
Run command esxcfg-advcfg -g /VSAN/DOMPauseAllCCPs on  all hosts to get the current value
[root@esxi1:~] esxcfg-advcfg -g /VSAN/DOMPauseAllCCPs
Value of DOMPauseAllCCPs is 1

If the value is 1 means this is enabled and objects owned by this host will be in an inaccessible state until the setting is reverted to the default value of 0 by running esxcfg-advcfg -s 0 /VSAN/DOMPauseAllCCPs on the affected hosts.

When dealing with very few inaccessible objects you can follow the above steps just on the owning host for the inaccessible objects.

Additional Information

Impact/Risks:
Objects become inaccessible