[DRBD-user] Re: Drbd start failure on secondary

Milind Dumbare milind at linsyssoft.com
Tue Sep 26 13:28:13 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.


OOPS!!! I missed something. Your conf file is correct.
sorry

On Tue, 2006-09-26 at 16:50 +0530, Milind Dumbare wrote:
> Your configuration file has same index for metadata volume for both
> nodes in resource "home" . index should be different.
> 
> 
> On Tue, 2006-09-26 at 11:38 +0800, R Ganesan wrote:
> > Hello,
> > 
> > I'm new to linux and drbd.
> > 
> > We have setup primary and secondary machines.  Our primary machine
> > works fine.  After I reboot my secondary machine, try to start the
> > drbd, I've got the following error message.
> > 
> > 
> > root at suukyi:~# /etc/init.d/drbd start
> > Starting DRBD resources:    can not open /dev/drbd0: No such file or directory
> > can not open /dev/drbd1: No such file or directory
> > can not open /dev/drbd2: No such file or directory
> > can not open /dev/drbd3: No such file or directory
> > [ d0 can not open /dev/drbd0: No such file or directory
> > 
> > cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda10 /dev/sda14 0
> > --on-io-error=detach  failed!
> > 
> > I run the following script manually
> > 
> > for i in $(seq 0 15) ; do
> > mknod /dev/drbd$i b 147 $i ; done
> > 
> > After I run the above script,  I can start /etc/init.d/dbrbd start.
> > 
> > /etc/init.d/drbd start
> > Starting DRBD resources:    [ d0 d1 d2 d3 s0 s1 s2 s3 n0 n1 n2 n3 ].
> > 
> > root at suukyi:~# cat /proc/drbd
> > version: 0.7.15 (api:77/proto:74)
> > SVN Revision: 2020 build by root at suukyi, 2006-08-24 16:50:05
> >  0: cs:Connected st:Secondary/Secondary ld:Consistent
> >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> >  1: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
> >     ns:0 nr:27648 dw:27648 dr:0 al:0 bm:2 lo:0 pe:0 ua:0 ap:0
> >         [=>..................] sync'ed:  5.6% (488200/515848)K
> >         finish: 0:00:34 speed: 13,824 (13,824) K/sec
> >  2: cs:PausedSyncT st:Secondary/Primary ld:Inconsistent
> >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> >  3: cs:PausedSyncT st:Secondary/Primary ld:Inconsistent
> >     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> > 
> > Attached is our drbd script and .conf.
> > 
> > Please help me.
> > 
> > Thanks
> > Ganesan
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
-- 
Milind
"The world is divided into one group: those who start counting at 0,
and those who don't."




More information about the drbd-user mailing list