[DRBD-user] Trying to create my first resource, but

Henning Svane hsv at energy.dk
Tue May 8 11:37:14 CEST 2018


Hi
I run this command:
drbdadm create-md r0a
drbdadm attach r0a (I stop the execution after create-md)
drbdadm syncer r0a
drbdadm connect r0a


But get this error:
drbd.d/r0a.res:6: no minor given nor device name contains a minor number
drbd.d/r0b.res:6: no minor given nor device name contains a minor number
drbd.d/r1a.res:6: no minor given nor device name contains a minor number
drbd.d/r1b.res:6: no minor given nor device name contains a minor number
drbd.d/r2a.res:6: no minor given nor device name contains a minor number
drbd.d/r2b.res:6: no minor given nor device name contains a minor number
drbd.d/r3a.res:6: no minor given nor device name contains a minor number
drbd.d/r3b.res:6: no minor given nor device name contains a minor number

All 8 resource files are built over the same template only the part in read has been changed
I was surprise that "create md" continue with the next resource files I thought

resource r0a {
  net {
    protocol C;
    allow-two-primaries yes;
  }
  device    /dev/drbd1a;
  disk      /dev/sdbp1;
  meta-disk internal;
  on esos-a {
    address   192.168.254.211:7789;
  }
  on esos-b {
    address   192.168.254.212:7789;
  }
}

resource r0b {
  net {
    protocol C;
    allow-two-primaries yes;
  }
  device    /dev/drbd1b;
  disk      /dev/sdbp2;
  meta-disk internal;
  on esos-a {
    address   192.168.254.211:8789;
  }
  on esos-b {
    address   192.168.254.212:8789;
  }
}

So what do I miss?

Regards
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180508/eacc6d91/attachment-0001.htm>


More information about the drbd-user mailing list