After a power outage and power is restored, vSAN datastore is showing inaccessible, and VMs may appear to be in an invalid state.
From the Host UI the vSAN datastore doesn't show it's total expected size, just the size of the total disks associated with the host or the total size of all hosts that can communicate with each other
VMware vSAN (any version)
Though overall power may have been restored, it's important to make sure every piece of infrastructure has power and is working correctly after an outage event. Especially network switches. If a switch is still down this can result in a vSAN network partition which would render VMs inaccessible.
To verify a cluster partition caused by networking where vCenter resides on the vSAN datastore follow the below steps.
Health Test Name Status
--------------------------------------------------------------------- ------
Overall health red (Network misconfiguration)
Network red
Hosts with connectivity issues (hostconnectivity) red
vSAN cluster partition (clusterpartition) red
All hosts have a vSAN vmknic configured (vsanvmknic) green
vSAN: Basic (unicast) connectivity check (smallping) green
vSAN: MTU check (ping with large packet size) (largeping) green
vMotion: Basic (unicast) connectivity check (vmotionpingsmall) green
vMotion: MTU check (ping with large packet size) (vmotionpinglarge) green
Network latency check (hostlatencycheck) green
Data red
vSAN object health (objecthealth) red
vSAN object format health (objectformat) green
Cluster yellow
Advanced vSAN configuration in sync (advcfgsync) green
vSAN daemon liveness (clomdliveness) green
vSAN Disk Balance (diskbalance) green
Resync operations throttling (resynclimit) green
Software version compatibility (upgradesoftware) green
Disk format version (upgradelowerhosts) yellow
Capacity utilization yellow
Storage space (diskspace) yellow
Read cache reservations (rcreservation) green
Component (nodecomponentlimit) green
What if the most consumed host fails (limit1hf) green
Performance service yellow
Performance service status (perfsvcstatus) yellow
Physical disk green
Operation health (physdiskoverall) green
Disk capacity (physdiskcapacity) green
Congestion (physdiskcongestion) green
Component limit health (physdiskcomplimithealth) green
Component metadata health (componentmetadata) green
Memory pools (heaps) (lsomheap) green
Memory pools (slabs) (lsomslab) green
for i in `localcli vsan cluster unicastagent list | grep true | awk '{ print $4}'`; do echo "pinging $i 3 times"; echo; vmkping -I vmk(x) $i -s 1472 -d -c 20 -i .05; echo; echo "**************************"; done
If there is a network partition, correct the underlying networking issue to restore communication and resolve the partition, which will make data accessible again. Please see: vSAN Network Partition