[DRBD-user] Can DRBD work in LXC Container?

Lionel Sausin ls at numerigraphe.com
Tue Jan 21 14:00:55 CET 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

Le 21/01/2014 10:44, Jeremiah Snapp a écrit :
> How do I find the major and minor DRBD device numbers? What are the 
> low level devices and how do I allow access to them? Are you just 
> referring to the block devices?
Yes I'm referring to the block devices. If I'm not mistaken, the major 
nb is 147 and the minor is your drbd resource number. 
> My LXC config doesn't have any device entries so I thought all access 
> should be allowed. Maybe my assumption is incorrect though.
Oh sorry I missed that. I don't know what the default is, in doubt you 
could try 'lxc.cgroup.devices.allow = a'
> I am trying to setup two backend chef servers in LXC for testing and 
> development. By design, for high availability, they expect their data 
> volumes to be synced with DRBD.
If you're just testing, maybe you'll find virtual machines like VMWare 
or VirtualBox better suited. They performe slightly worse but they 
better simulate real servers.


More information about the drbd-user mailing list