[DRBD-user] DRBD device names

Joseph Lamoree jlamoree at gmail.com
Mon Sep 17 17:17:58 CEST 2007

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 using DRBD 8.0.4-1.el5.centos. I've noticed that it doesn't matter
what I declare a resource's device name to be in /etc/drbd.conf, DRBD
creates /dev/drbdX, where X = {0,1,2...}. Is this a known issue that I
should just work around, or am I doing something incorrectly or
misunderstanding how it's supposed to function?

Here's a chunk of config file:

-----/etc/drbd.conf-----
...
resource nfsmd {
  on teri {
    device /dev/nfsmd;
    disk /dev/vg.01/nfsmd;
    address 10.11.11.16:7788;
    meta-disk /dev/vg.01/drbdmd [0];
  }

  on eve {
    device /dev/nfsmd;
    disk /dev/vg.01/nfsmd;
    address 10.11.11.15:7788;
    meta-disk /dev/vg.01/drbdmd [0];
  }
}
...
-----/etc/drbd.conf-----

-- 
Joseph Lamoree



More information about the drbd-user mailing list