[DRBD-user] Newbie - unable to enable the resource

Dan Barker dbarker at visioncomm.net
Tue Jul 30 15:44:04 CEST 2013

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


You have specified the disk and the meta-disk both on /dev/sda2. To do that (it's recommended) say meta-disk internal.

To do what you say you meant, specify a different partition for the meta data.

Dan

resource r0 {
  on drbd_test1.cesc.co.in {
    device    /dev/drbd1;
    disk      /dev/sda2;
    address   10.50.81.252:7789;
    meta-disk /dev/sda2;



From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Goutam Baul
Sent: Tuesday, July 30, 2013 7:59 AM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] Newbie - unable to enable the resource

Dear List,

We are configuring DRBD for the first time using the DRBD manual. We are planning to setup DRBD on our mail server running on RHEL 6.1 (64 bit), with the sole objective to replicate the mail store and mail queue from our data center to the DR site. Both the sites are connected with giga bit captive OF network.


We have installed  the following drbd rpm that was built from the source drbd-8.4.3.tar.gz :-

drbd-heartbeat-8.4.3-2.el6.x86_64
drbd-xen-8.4.3-2.el6.x86_64
drbd-km-debuginfo-8.4.3-2.el6.x86_64
drbd-udev-8.4.3-2.el6.x86_64
drbd-8.4.3-2.el6.x86_64
drbd-pacemaker-8.4.3-2.el6.x86_64
drbd-debuginfo-8.4.3-2.el6.x86_64
drbd-utils-8.4.3-2.el6.x86_64
drbd-km-2.6.32_131.0.15.el6.x86_64-8.4.3-2.el6.x86_64
drbd-bash-completion-8.4.3-2.el6.x86_64

We plan to have our meta data on a separate partition. The partition was created with fdisk and is not having any file system created in it. The configuration files drbd.conf, global_common.conf and maildrbd.res are attached herewith for your kind reference.

After configuration we were proceeding further as per the manual. While trying to enable the resources for the first time which are given as follows:-


1.       Create device metadata . (drbdadm create-md r0) This step was executed successfully at both the nodes.


2.       Attach to backing device. (drbdadm attach  r0). This step is generating the following error :-



[root at drbdtest2 ~]# drbdadm attach r0

1: Failure: (116) Lower device / meta device / index combination invalid.

Command 'drbdsetup attach 1 /dev/sda2 /dev/sda2 flexible' terminated with exit code 10

[root at drbdtest2 ~]#

This error is being generated at both the nodes. We tried to figure out the solution using google search but could not make much headway. Would request your help to resolve this issue.

Regards,

Goutam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130730/311dbb6b/attachment.htm>


More information about the drbd-user mailing list