Startup Delay and Timing Configuration
Overview
Startup delay controls the timing between VM boots, storage availability, and network configuration. Proper timing prevents boot failures during host startup.
Configure Startup Delay
Between VMs
# File: /etc/pve/datacenter.conf
# Set delay between VM startups (seconds)
pvesh put /cluster/options --startup-delay 30
# View current setting
pvesh get /cluster/options | grep startupPer VM Delay
# Additional delay for specific VM
qm set 100 --startup-delay 30Storage Wait Time
Wait for Storage
# Wait for storage to be available
pvesh put /cluster/options --storage-start-delay 10Network Delay
Wait for Network
# Network startup timeout
# File: /etc/systemd/network/50-default.network
[Network]
DHCP=ipv4
[DHCP]
RouteMetric=100Boot Timeout
VM Shutdown Timeout
# Time to wait for graceful shutdown
qm set 100 --shutdown-timeout 180
# Default: 180 secondsTiming Examples
Fast Boot
# Minimal delays
qm set 100 --startup-delay 0
pvesh put /cluster/options --startup-delay 5
# Total boot time: ~10 seconds per VMReliable Boot
# Extended delays
qm set 100 --startup-delay 30
pvesh put /cluster/options --startup-delay 30
# For:
# - Slow storage
# - Network boot
# - Hardware issuesTroubleshooting Timing
VM Starts Before Storage
# Increase storage wait
pvesh put /cluster/options --storage-start-delay 20Network Not Ready
# Check network
networkctl
# Enable wait for network
systemctl enable systemd-networkd-wait-online