Insufficient resources. One or more devices (pciPassthru0) required by VM [VM_NAME] are not available on host - NVIDIA PCI Passthrough fails
search cancel

Insufficient resources. One or more devices (pciPassthru0) required by VM [VM_NAME] are not available on host - NVIDIA PCI Passthrough fails

book

Article ID: 438610

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESX 8.x

Issue/Introduction

  • The VM fails to initialize during the DevicePowerOn module phase.
    • From the ESXi host review the logs in these locations: /vmfs/volume/<datastore>/<vm_name>/vmware.log  and /var/run/log/hostd.log
    • Insufficient resources. One or more devices (pciPassthru0) required by VM <VM_NAME> are not available on host.
    • Module 'DevicePowerOn' power on failed.
    • Failed to find a suitable device for pciPassthru0
  • The vSphere Client reports no compatible host is available.
  • PCI Passthrough is already enabled, and two VM's are already powered on with PCI device.
  • The issue typically occurs when multiple VMs are competing for a limited number of physical GPU resources.

Environment

VMware vSphere ESXi 8.x

VMware vCenter Server 8.x

Cause

The failure is caused by the exhaustion of physical GPU resources. In this specific case, the ESXi host had exactly two NVIDIA devices in PCI Passthrough mode. Both physical devices were already bound to two other active, powered-on VMs, leaving no available hardware for the third VM hence failing to power-on.

Resolution

Follow these steps to isolate the resource gap and identify which VMs are locking the hardware.

1. Identify Assignable Hardware (AH) Failures

Take a SSH/Putty session to the ESXi host. Review the VM log to confirm the Assignable Hardware(AH) module cannot locate a compatible physical device. Check the vmware.log for AH matching failures. Go to the VM directory /vmfs/volume/<datastore>/<vm_name>/

grep -i "AH" vmware.log

# Example output: In(05) vmx - AH Failed to find a suitable device for pciPassthru0

2. Verify VM Configuration

Confirm the PCI passthrough requirements defined in the VM configuration file. Check the /vmfs/volume/<datastore>/<vm_name>/<vm_name.vmx file for passthrough entries

grep -i "pciPassthru" *.vmx

3. Analyze Host Physical Hardware Capacity

Examine the host configuration to see how many devices are actually available for passthrough. Check the physical device mapping and Inspect the hardware tree configuration for Assignable Hardware

cat /etc/vmware/passthru.map

cat /etc/vmware/ah-trees.conf

4. Identify the Resource Gap (Current Bindings)

Use the vimdump or support bundle fragments to identify which VMs are currently holding the locks on the physical PCI addresses. 

  • Live host commands: 
    • vim-cmd hostsvc/hostconfig | grep -A 20 "assignableHardwareBinding"
  • Command/Path: commands/vmware-vimdump_-o----U-dcui.txt.FRAG-0000#
  • Look for: assignableHardwareBinding entries.
    • Example: If instanceId ... 0000:11:00.0 is bound to vm-##, that device is unavailable.

5. Final Resolution Steps

  1. Release Resources: Power off one of the identified VMs holding the GPU lock to release the pciPassthru device.
  2. Migrate: Move the target VM to a host with unassigned NVIDIA GPUs.
  3.  Refresh: If hardware was recently changed, refresh the graphics tree:
    • esxcli graphics host refresh
    • Note: While non-disruptive to VMs, it is best practice to run host management refreshes during a maintenance window if you suspect underlying driver or hardware instability.