Hello,<div><br></div><div>I&#39;m hoping a developer can point me in the right direction. Currently I&#39;m trying to do something that hasn&#39;t been possible in the past: using DRBD inside a VE rather than on the host node. I know I could give the VE access to the HN&#39;s /dev/drbd1 device, but I&#39;m looking to actually run DRBD from inside the container, which is something different altogether.</div>
<div>I&#39;m not sure what all would be involved in making this happen, but I&#39;m thinking that I may have to create an OpenVZ kernel patch to allow for this.</div>
<div><br></div><div>As a possibly simpler solution, I recompiled the OpenVZ RHEL kernel to include DRBD as a built-in feature rather than a kernel module. I did this because I&#39;ve read that it&#39;s impossible to allow a container access to modules on the host machine. To my disappointment though, even as a built-in part of the kernel, my VE still seems unable to use DRBD (&#39;cat /proc/drbd&#39; shows nothing inside the VE, but does show output on the HN.)</div>
<div><br></div><div>I&#39;m hoping to be able to use OpenVZ to contain my DRBD environments in places where a full virtual machine would not be practical (it would be a waste of resources on embedded systems).</div>
<div><br></div><div>Would any of you developers be willing to create a patch to allow VE&#39;s access to the DRBD portion of the kernel? Or could someone tell me which kernel source files would be involved in making this change? There is quite a lot of code to read through, so I thought I&#39;d see if anyone happens to know where to start.</div>
<div><br></div><div>Thanks in advance,</div><div><br></div><div>- Stefanie</div>