[DRBD-user] Question on adding drbd mounts to an existing setup

Corey Edwards tensai at zmonkey.org
Wed Oct 5 16:23:23 CEST 2005

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


On Wed, 2005-10-05 at 10:06 -0400, Musard, Kris wrote:
> I have a cluster running drbd which I would like to add an additional drbd
> filesystem to.  I have added the necessary configuration information to
> /etc/drbd.conf and ran drbdadm dump without errors to verify it.  When I try
> to start the resource I get the following error:
> 
> [root at pinky etc]# drbdadm up r3
> can not open /dev/drbd3: No such device
> Command '/sbin/drbdsetup /dev/drbd3 disk /dev/vg00/vicepb
> /dev/vg00/drbd_meta_3 0 --on-io-error=detach' terminated with exit code 20
> drbdadm aborting
> 
> I see /dev/drbd3 in the /dev/ directory:

What did you specify for "minor-count" in the drbd.conf? Can we see the
output of "cat /proc/drbd"? The kernel has to statically allocate DRBD
devices when the module is loaded, so if you had 3 resources configured
when DRBD started and didn't specify a higher minor-count, you would not
have room for a fourth. If that's the case, you'll have to stop and
start DRBD to add another resource. I recommend bumping minor-count up
while you're at it.

Corey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20051005/f01bd392/attachment.pgp>


More information about the drbd-user mailing list