[DRBD-user] Can drbd-0.7.14 work with ocfs2 ?

Milind Dumbare milind at linsyssoft.com
Tue Dec 12 08:13:39 CET 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! Does drbd-0.7.X has the feature of both nodes as primaries? I don't 
think so. Basic reason behing using ocfs2 is having both nodes as primaries 
and active, right? DRBD-0.7.x can't do this.



On Tuesday 12 December 2006 12:32, Milind Dumbare wrote:
> On Monday 11 December 2006 22:34, Joca wrote:
> > Can drbd-0.7.14 work with ocfs2 ?
> >
> > /etc/init.d/o2cb start
> > Loading module "configfs": OK
> > Mounting configfs filesystem at /config: OK
> > Loading module "ocfs2_nodemanager": OK
> > Loading module "ocfs2_dlm": OK
> > Loading module "ocfs2_dlmfs": OK
> > Mounting ocfs2_dlmfs filesystem at /dlm: OK
> > Starting cluster ocfs2: OK
> >
> >
> > ha1:~ # /etc/init.d/o2cb status
> > Module "configfs": Loaded
> > Filesystem "configfs": Mounted
> > Module "ocfs2_nodemanager": Loaded
> > Module "ocfs2_dlm": Loaded
> > Module "ocfs2_dlmfs": Loaded
> > Filesystem "ocfs2_dlmfs": Mounted
> > Checking cluster ocfs2: Online
> > Checking heartbeat: Not active
> >
> >
> > Because i can mount  (no drbd)
> >
> > mount -t ocfs2 /dev/sdc1 /data2  -> ok
> > umount /data2
> >
> > but when i standup drbd
> >
> > /etc/init.d/drbd start
> > drbdadm primary all
> >
> > mount -t ocfs2 /dev/drbd0 /data2
> > ocfs2_hb_ctl: I/O error on channel while starting heartbeat
> > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation
> > not permitted"
>
> Are your both node primary? se _st_ in "#cat /proc/drbd"
> as following?
>
> SVN Revision: 1989 build by root at test1, 2006-11-30 11:03:07
>  0: cs:Connected st:Primary/Primary ld:Consistent
>     ns:0 nr:0 dw:42668 dr:314623946 al:2411 bm:19200 lo:0 pe:0 ua:0 ap:0
>
> -Miline
>
> > resource oracle {
> >        protocol C;
> >        incon-degr-cmd "halt -f";
> >
> >        startup {
> >        degr-wfc-timeout 120;
> >        }
> >
> >        disk {
> >           on-io-error detach;
> >        }
> >
> >        net {
> >           max-buffers 2048;
> >           on-disconnect reconnect;
> >        }
> >
> >        syncer {
> >           rate 400M;
> >           group 1;
> >        }
> >        on ha1 {
> >        device    /dev/drbd0;
> >        disk      /dev/sdc1;
> >        address   192.168.2.6:7788;
> >        meta-disk  internal;
> >        }
> >        on ha2 {
> >        device    /dev/drbd0;
> >        disk      /dev/sdc1;
> >        address   192.168.2.7:7788;
> >        meta-disk  internal;
> >        }
> > }
> >
> >
> > --
> >
> > Linux Certified
> >
> > LPI
> > https://www1.lpi.org/en/verify.html?lpi_id=LPI000116649&ver_code=qsl9lrze
> >el ou
> > http://www.lpi.org
> > LPIID  = LPI000116649
> > VERCOD = qsl9lrzeel
> >
> >
> >     "Se tu lutas, tu conquistas"
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list