In the example ensure that the DRBD options are always passed to the module even if it's loaded before /etc/modules is processed.
Signed-off-by: Petr Pudlak <[email protected]> --- doc/install.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/install.rst b/doc/install.rst index 107dbee..cda719c 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -286,9 +286,11 @@ instances on a node. Then to configure it for Ganeti:: - $ echo drbd minor_count=128 usermode_helper=/bin/true >> /etc/modules + $ echo "options drbd minor_count=128 usermode_helper=/bin/true" \ + >> /etc/modprobe.d/drbd.conf + $ echo "drbd" >> /etc/modules $ depmod -a - $ modprobe drbd minor_count=128 usermode_helper=/bin/true + $ modprobe drbd It is also recommended that you comment out the default resources (if any) in the ``/etc/drbd.conf`` file, so that the init script doesn't try to -- 2.1.0.rc2.206.gedb03e5
