Add lvm to container

carlosmp

Renowned Member
Jun 2, 2010
48
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