Mailing List Archive

drbd problem
Hi all,

We are trying to get the drbd running on a cluster.
It worked fine until we shutted down both machines and just started
one again. After that we have been able to do all what is needed
to get the drbd running but we failed to mount the partition.

The status of drbd is as follows:

[root@tom /tmp]# cat /proc/drbd
version : 54

0: cs:WFConnection st:Secondary ns:0 nr:0 dw:0 dr:0 of:0
1: cs:Unconfigured st:Secondary ns:0 nr:0 dw:0 dr:0 of:0

Can someone give some hints what to do?

Herbert
--
----------------------------------------------------------------------
IBL Software Engineering Tel : +49 (0)69 80622573 or
Herbert Lepper +49 (0)6196 22072
Fuchshohl 8 Fax : +49 (0)6196 23176
D-65812 Bad Soden/Germany Mail: Herbert.Lepper@dwd.de
drbd problem [ In reply to ]
Hi!

> We are trying to get the drbd running on a cluster.
> It worked fine until we shutted down both machines and just started
> one again. After that we have been able to do all what is needed
> to get the drbd running but we failed to mount the partition.
>
> The status of drbd is as follows:
>
> [root@tom /tmp]# cat /proc/drbd
> version : 54
>
> 0: cs:WFConnection st:Secondary ns:0 nr:0 dw:0 dr:0 of:0
> 1: cs:Unconfigured st:Secondary ns:0 nr:0 dw:0 dr:0 of:0
>
> Can someone give some hints what to do?

If you set the partition size ("-d" option) you can use drbd with
one host. If you don't set the partition size, drbd MUST negociate the
partition size with his partner... that's why your drbd is in the
WaitingForConnection state. Please, take a look at the
sample configuration file at /etc/sysconfig/drbd/drbdexample it has
more notes about this behavior.

Luis.

[ Luis Claudio R. Goncalves lclaudio@conectiva.com.br ]
[. BSc in Computer Science -- MSc coming soon -- Gospel User -- Linuxer ]
[. Fault Tolerance - Real-Time - Distributed Systems - IECLB - IS 40:31 ]
[. LateNite Programmer -- Jesus Is The Solid Rock On Which I Stand -- ]