Delay VM bulk start till after storages ready ?

hevisko

Renowned Member
Nov 15, 2012
64
10
73
I have a case or two with "slow" storage imports causing VM start failures. In my case big"ish" ZFS pools takes quite a time to "settle" before the VM can start, so a reboot has the VM fail to start and needs manual starting.

Anybody else having similar issues?

The current solution I have, is to have a hookscript that stalls until the ZFS pools are all imported to allow the VMs to start up succesfully after a reboot.

Other than making a guess (which could be too long or perhaps too short if on the edge) and use that as a start delay value, has anybody another more "supported" or "ProxMox way" to fix this situation?