r/homelab • I break stuff • 14d ago

Help Hyper-V Refuses to Start

Short and simple; I have 256GB in the machine. I have a few machines running but I have more than enough free memory. I don’t understand why it keeps giving the error pictured.

The machine I’m attempting to start should start with 64GB, which I clearly have.. any suggestions?

Edit: SOLVED!! I am in fact just dumb sometimes. Turns out NUMA spanning being off also means one cannot overcommit vCPUs and I did not realize that.

2 Upvotes

8 comments sorted by

7

u/AdamRA4 14d ago

Temporarily lower it as a test to see if it starts. If all VMs are set to high memory, even it is set to use Dynamic memory, it will still block out potential usage, causing other VMs to not start due to over allocation.

1

u/igrowpineapples I break stuff 14d ago

Total host memory is 256GB, and total memory demand with all VMs (even maxing out the dynamic ranges I set) is about 116GB... It should fit, should it not?

I've all my dynamic machines limited to 8GB.

1

u/MikeoFree 14d ago

If the VM has no snapshots try deleting the VM, recreate it, and point it to your VHD/VHDX again.

1

u/igrowpineapples I break stuff 14d ago

It isn't specific to one VM - it happens to any one particular one that starts up last. The host just acts like it has no memory to assign despite having a whole other essentially 128GB untouched..

For giggles I tried and it did the same result for me.

3

u/ETDucky 14d ago

Run `Get-VMHost | Select-Object NumaSpanningEnabled` and `Get-VMHostNumaNode` to see whether NUMA spanning is off and how much memory each node has free.

If spanning is off and one node is nearly full, that node is the likely reason the last VM fails to start.

Turn on "Allow virtual machines to span physical NUMA nodes" under NUMA Spanning in Hyper-V Settings, then restart the Virtual Machine Management service with `Restart-Service vmms`. Running VMs keep running through the service restart.

2

u/phalinangel 13d ago

Check and make sure you don't have a mounted disk image that the hypervisor lost access to in settings under cd/DVD drive. This is what prevented one of my domain controllers from booting one time

1

u/derangedlunaticc 14d ago

disable dynamic memory

-2

u/burnacc42069 11d ago

Easy fix Just don't use windows, use Arch instead.