[DRBD-user] DRBD over LVM - Cannot open backing device

Paul Shannon - NOAA Federal paul.shannon at noaa.gov
Tue Dec 11 21:44:42 CET 2012

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

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 {
  on ajk-s-jnusrv2.jnu.nwsar.gov {

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

Paul Shannon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20121211/0b3f3441/attachment.htm>

More information about the drbd-user mailing list