Cluster with disparate storage configurations

reslip

Member
Nov 18, 2021
5
0
6
44
I have a two mini PCs and an r720 that I have proxmox on. They've all been running well. I decided to look at clustering these and I'm a bit confused after clustering with the storage configuration. There is one VM that I need to keep on the r720 due to passthrough hardware, but 4 other VMs that can move between any of the other 2.

When I added the first PC to the cluster it appeared to mirror the storage configuration from the r720, but not all of the storage is there. The 720 has two disks (OS and VM storage), while the mini PCs only have a single disk. Due to size limitations on the mini PCs I'm unable to do ZFS.

Is there a suggested LVM configuration that works well when using disparate disk configurations across machines, but still allowing clustering? Or maybe it's better to use a directory configuration such as...

/mnt/vmstorage with the the mini pcs and a subdirectory called /mnt/vmstorage/extra1 that is mounted to /dev/sdb1 on the r720 with two driver. On the mini pcs, this directory would exist, but not be mounted to an external drive.

Thoughts?
 
Hi,

from what I'm reading, I guess your problem is mainly that you want to move VMs between different cluster nodes, but the problem is they need to have the same underlying storage?

If that is the case. For LVM it should be possible to create the same Volume Group name on two (or more) machines and add this to your PVE storage configuration.