VM on vSAN datastore failing to power on.
search cancel

VM on vSAN datastore failing to power on.

book

Article ID: 438031

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

VM fails to power on with the below error:

"Module VMMon power on failed. Failed to start the virtual machine. Failed to power on VM. Could not power on virtual machine: Failure. Failed to create swap file"

Environment

ESXi 8.0

Cause

vSAN witness host is  inacessible/down.

VM cannot be powered on without vSAN witness node as quorum cannot be created. 

Missing witness host prevents vSAN object creation, including deploying new VMs and creating swap files...

In a 2-node or stretched vSAN cluster, the witness node acts as a critical tie-breaker for quorum. 
Without it, the cluster cannot achieve a majority vote (>50%) to guarantee data consistency, 
which prevents new VMs from powering on and can make existing VMs inaccessible if another failure occurs.

Resolution

vSAN witness host has to be repaired or replaced by a working/healthy one in order to have quorum. 

If the vSAN appliance is down completely and need a temporary solution, try enabling force provisioning on storage policy which will deploy VMs as RAID 0. 

Steps for enabling force provisioning are in the below article. 

vSAN storage policy's while using forced provisioning reporting as Reduced availability with no rebuild.