I'm trying to setup DRBD for the first time on a 2-node cluster using DRBD
over a lvm lvgroup.  I believe I have set it up just as outlined in sec10.2
of the DRBD User's Guide.  My r0.res is setup with:
resource 0 {
  volume 0 {
    device /dev/drbd1;
    disk /dev/vg_ajksjnusrv/lv_shared;
    meta-disk internal;
  }
  on ajk-s-jnusrv1.jnu.nwsar.gov {
    address 10.0.64.1:7789;
  }
  on ajk-s-jnusrv2.jnu.nwsar.gov {
    address 10.0.64.2:7789;
  }
}

lvscan shows
  ACTIVE            '/dev/vg_ajksjnusrv/lv_shared' [1.91 TiB] inherit

drbdadm create-md r0   works fine. But when I try drbdadm up r0 I get
1: Failure: (104) Can not open backing device.
Command 'drbdsetup attach 1 /dev/vg_ajksjnusrv/lv_shared
/dev/vg_ajksjnusrv/lv_shared internal' terminated with exit code 10

/var/log/messages says
block drbd1: open("/dev/vg_ajksjnusrv/lv_shared") failed with -16

I've been searching the web the last 2 days but have not been able to see
where I'm going wrong.  Any help of where to look next would be greatly
appreciated.

Paul Shannon
-----
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to