Any suggestions on how I can create a shared & replicated volume, to be used by multiple VMs across multiple nodes?

yonoss

New Member
Jul 5, 2023
28
0
1
Hi,
Any suggestions on how I can create a shared & replicate volume, to be used by multiple VMs across multiple nodes?

And if possible, withoug having to set up a SAN or NAS, just using proxmox functionality if possible.

Thanks

sharedStorage.jpg
 
What do you want to achieve? VM disk images available on both nodes? This can be done if you configure a ZFS pool with the same name on both nodes. Then enable the VM Replication for each VM.

You can combine that with HA, but be aware that the replication is async and you can have some data loss. How much depends on when the last successful replication finished before one node died.

Keep in mind that you should have a 3rd vote in the cluster. The QDevice can help you to get that, without setting up a 3rd node.
 
I don't want to replicate the whole VMs. I just what a shared file system volume through which I will be sharing mainly image files (.jpg, .png, .gif) across my VMs. Async nature of the replication should not be a problem
 
I don't want to replicate the whole VMs. I just what a shared file system volume through which I will be sharing mainly image files (.jpg, .png, .gif) across my VMs. Async nature of the replication should not be a problem
Hard to do on the disk level. On a single node or with shared storage it might work, if a cluster file system is used that can handle multiple different machines accessing it. But having it locally on two nodes replicated will not work.
The simplest approach would be a file server VM that has a network share to which the other VMs connect to.
 
  • Like
Reactions: yonoss

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!