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

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

From: Florian Haas <florian.haas_at_nospam>
Date: Fri Mar 05 2010 - 10:10:30 GMT
To: drbd-user@lists.linbit.com

man drbd.conf

Look for become-primary-on.

Florian

On 2010-03-05 10:56, Henrik Kuhn wrote:
>>> 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?

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