[DRBD-user] drbddisk does not mount resource

Andreas Rittershofer andreas at rittershofer.de
Fri May 5 22:02:28 CEST 2006

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


Am Freitag, den 05.05.2006, 15:53 -0400 schrieb Charles Riley:
> What does dmesg say? Or cat /proc/drbd?

dmesg says nothing..

cat /proc/drbd is ok:

version: 0.7.18 (api:78/proto:74)
SVN Revision: 2176 build by root at lbs4, 2006-05-05 16:11:57
 0: cs:Connected st:Secondary/Primary ld:Consistent
    ns:0 nr:198309176 dw:198309176 dr:0 al:0 bm:11909 lo:0 pe:0 ua:0
ap:0
 1: cs:Connected st:Primary/Secondary ld:Consistent
    ns:198358328 nr:0 dw:3195580 dr:195162840 al:2481 bm:12166 lo:0 pe:0
ua:0 ap:0

I have two resources, drbd0 is primary on node one, drbd1 is primary on
node two.

> 
> Your drbddisk haresource line would help, too.
> 

lbs3 10.0.0.41 10.0.0.51 drbddisk::drbd0
lbs4 10.0.0.42 10.0.0.52 drbddisk::drbd1

At the moment there are no programs which are started here, this will
follow later when all is running fine. The IP-addresses are assigned
correctly. (I have a similar configuration on two other machines with a
slightly older DRBD-version, there everything is running fine since
years.)

> What happens if you manually make the drbd device primary and mount it?
>  

Making them primary via heartbeat or manually runs fine. fstab is ok:
/dev/drbd0      /data3          ext3    noauto          0       0
/dev/drbd1      /data4          ext3    noauto          0       0

Mounting manually runs fine.

mfg ar
-- 
E-Learning in der Schule:
http://www.dbg-metzingen.de/Menschen/Lehrer/Q-T/Rittershofer/E-Learning/




More information about the drbd-user mailing list