[DRBD-user] DRBD not mirroring

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Wed Oct 6 01:43:32 CEST 2004

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


drbd-user at kenyaweb.com wrote:
> I have installed drbd on two sytems and mounted /dev/drbd0 on the primary
> to /mnt/ha0.

> However after a the sync, I can't see a mirror of the files in the primary
> in the secondary.

> Output of /proc/drbd and dmesg gives "cs: Uncofigured" on both primary and
> secondary.

> #cat /proc/drbd

> version: 0.7.4 (api:76/proto:74)
> SVN Revision: 1537M build by phil at nudl, 2004-09-09 19:53:07
>  0: cs:Connected st:Primary/Secondary ld:Consistent
>     ns:43216 nr:0 dw:13364 dr:29889 al:0 bm:16 lo:0 pe:0 ua:0 ap:0

It is ok - isn't it?

>  1: cs:Unconfigured

Did you configure a /dev/drbd1 - I assume you didn't.

/etc/drbd.conf
--------------
# global {
     # use this if you want to define more resources later
     # without reloading the module.
     # by default we load the module with exactly as many devices
     # as configured mentioned in this file.
     #
     # minor-count 5;

man drbd.conf
-------------
minor-count count
    count may be a number from 1 to 255.

    Use minor-count if you want to define more resources later with-
    out reloading the DRBD kernel module.  Per  default  the  module
    loads  with  exactly as many devices as configured in this file.
    Builtin default for module is 2, and 8  for  monolithic  kernel.
                               ^^^^

HTH

Helmut Wollmersdorfer




More information about the drbd-user mailing list