[DRBD-user] Could not add a new node

大川敬臣 yoshiomi-okawa at kccs.co.jp
Mon Jul 31 02:50:20 CEST 2017

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

Hi, Roland

> That should not be necessary. In /etc/drbd.conf you have:
> include "drbd.d/*.res";

My drbd.conf has been located in "/usr/local/etc/" like below :

  [root at drbd-01 etc]# ll /usr/local/etc/drbd.conf
  -rw-r--r-- 1 root root 169 Jul 28 02:38 /usr/local/etc/drbd.conf
  [root at drbd-01 etc]#

The conf file has :
  [root at drbd-01 etc]# cat /usr/local/etc/drbd.conf
  # You can find an example in  /usr/share/doc/drbd.../drbd.conf.example

  include "drbd.d/global_common.conf";
  include "drbd.d/*.res";
  [root at drbd-01 etc]#

When I initialized DRBD, the res file named "drbdctrl.res" is created into
If I can install DRBD into "/etc/", the drbd.conf might be created in
"/etc" and
I don't need do add a line to inclued "drbdctrl.res".

If you know how to change installation path of DRBD from default
location,please let me know.

Thank you.

2017-07-27 20:07 GMT+09:00 Roland Kammerer <roland.kammerer at linbit.com>:

> On Thu, Jul 27, 2017 at 09:21:29AM +0900, 大川敬臣 wrote:
> > Hi, Roland
> >
> > I'm sorry to late reply and thank you for your advice.
> > I didn't understand how DRBD starts.
> > As you mentioned, res file wasn't read.
> > I included the path of res file in drbd.conf and two machines have
> > connected successfully.
> That should not be necessary. In /etc/drbd.conf you have:
> include "drbd.d/*.res";
> And in /etc/drbd.d/drbdmanage-resources.res (the one included from
> above):
> include "/var/lib/drbd.d/*.res";
> And /var/lib/drbd.d/ is where drbdmanage puts its resource files.
> All of that happens automatically.
> Regards, rck
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170731/bb5f479b/attachment.htm>

More information about the drbd-user mailing list