drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: [DRBD-user] bringing up drbd-device in primary role d

[DRBD-user] bringing up drbd-device in primary role during execution of linuxrc during boot up?

From: Henrik Kuhn <henrik.kuhn_at_nospam>
Date: Thu Mar 04 2010 - 13:44:35 GMT
To: drbd-user@lists.linbit.com

Does anybody know what kind of configuration setup is necessary on
openSUSE 11.1 to bring a drdb-device into primary role during the
execution of the initrd linuxrc-script?
The purpose would be that on one node a drbd-device gets primary before
fsck checks the underlying FS during system boot and the device is ready
for auto-mounting via fstab.

So far I have figured out: Because drbd needs the /etc/drbd.conf, it is
not sufficient to add the drbd-module to the INITRD_MODULES list and run
'mkinitrd', because the mkinitrd scripts are missing for handling drdb
specific tasks during generation of the initial ramdisk.

Is it possible to add the necessary drbd items manually to an existing
initrd?

Thanks for your feedback,
Henrik

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user