Add lvm to container

carlosmp

Renowned Member
Jun 2, 2010
46
1
73
I have a 2 node proxmox cluster. I did a default install using a RAID10 with 4x500GB drives. I have a few machines on each of the nodes. I wanted to get a drdb setup for a mysql server that is currently running in a container. I've tried searching to see how this was possible and only found a reference to bind mounts, and not really sure how that applies.

Any help would be appreciated.

TIA,

Carlos.
 
Hi,
if you use drbd in active/active you need an cluster-filesystem on this storage. Otherwise you can't mount the storage on both nodes.

Or you create an active-passive drbd configuration and switch the passive node only to active if the other node is broken (then is ext3/4 fine).

Both needs bind-mounts.

Udo
 

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!