share LVM on cluster - does containers work?

flexyz

Well-Known Member
Sep 22, 2016
154
9
58
54
Hi

I have a smal 2 node cluster and has share LVM configured and is visible on both hosts.

But when I crearte a container it can's start - is containers supported on shared LVM or?

And if not - will ZFS replication work?

Thanks
Felix
 
This is what I did:

1. install 5.1
2. apt-get install multipath-tools
3. created the cluster
4. assign LUN to both nodes from storage array
5. pvcreate /dev/mapper/xxx
6. vgcreate <volumegroup> /dev/mapper/xxx
7. from GUI -> add LVM volumes as "shared""
8. cluster shows boths volumes on each node
9. create container - visible on both nodes

Anything I missed to do?

Thanks
 
I see the same volume on both nodes - and I can migrate container to each node.

Did I miss something in the steps I did or? - I might try a fresh install with latest 5.2
 
What is the error message of the container start telling? Anything in the syslog/journal?
 

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!