[DRBD-user] Drbd0.7.14 work with ocfs2

Joca joca_junior at terra.com.br
Mon Dec 11 17:52:13 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.

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 reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation 
not permitted"

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;
        meta-disk  internal;
        on ha2 {
        device    /dev/drbd0;
        disk      /dev/sdc1;
        meta-disk  internal;


Linux Certified

LPIID  = LPI000116649
VERCOD = qsl9lrzeel

	"Se tu lutas, tu conquistas"

More information about the drbd-user mailing list