Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ocfs2 setup global heartbeat

tomislakJul 21 2016 — edited Dec 1 2016

Hi,

On Oracle linux 7.2 I've setup ocfs2 ( 1.8.0-17.el7 ), and it working with local heartbeat ( shared disk is visible and fs on it is accessible from both nodes ).

I presented 3 more disks in same way like this shared, and leave them unpartitioned. Then tryed to add them as a global heartbeat devices but I get:

# o2cb add-heartbeat cluster1 /dev/sdb
o2cb: Unknown code ocfs 8 while reading region on device '/dev/sdb'


Here is a fdisk from both nodes ( sda is a os disk, separate on both nodes, sde is a cluster disk, with ocfs2 fs on sde1, and sdb, sdc and sdd are for heartbeat )

# fdisk -l | grep sd

Disk /dev/sda: 91.3 GB, 91268055040 bytes, 178257920 sectors

/dev/sda1   *        2048     1026047      512000   83  Linux

/dev/sda2         1026048   178257919    88615936   8e  Linux LVM

Disk /dev/sdb: 1073 MB, 1073741824 bytes, 2097152 sectors

Disk /dev/sde: 10.7 GB, 10737418240 bytes, 20971520 sectors

/dev/sde1            2048    20971519    10484736   83  Linux

Disk /dev/sdc: 1073 MB, 1073741824 bytes, 2097152 sectors

Disk /dev/sdd: 1073 MB, 1073741824 bytes, 2097152 sectors

From VMWare disks sdb, sdc, sdd and sde are presented to both nodes in same way ( paravirtual adapter, ... ).

I tryed to search here but only one post have similar question ( ) but no answer.

Regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2016
Added on Jul 21 2016
8 comments
3,654 views