Proxmox HA VM with unreplicated scratch disk

arychj

New Member
Sep 7, 2024
1
0
1
I have a VM in a HA group. Its primary disk is replicated to the other nodes, and the VM is able to migrate between nodes.

I need to add a scratch/temp disk to the VM for intermediate writes. This disk doesn't need to be replicated if the VM migrates to a new node; a disk simply needs to exist to be mounted by the filesystem.

The "skip replication" option seems to prevent the disk from being picked by scheduled replication jobs, however the scratch disk is migrated if I manually migrate the VM to another host.

Is there a step I missed, or do migrations always attempt to bring all disks to the new node?
 
Is there a step I missed, or do migrations always attempt to bring all disks to the new node?

When you live-migrate a VM from one node to another you expect the programs inside of the VM to continue to run without interruption. That's the fundamental promise this technology gives us.

How could that be guaranteed if those possibly opened files on the mounted storage are not present on the other node? Applications would probably crash hard, wouldn't they?

That said... I am not sure if that answers your specific question...