[From nobody Sun Oct 11 12:35:07 2026
Received: (at submit) by bugs.debian.org; 21 Oct 2023 21:19:56 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.5 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,KHOP_HELO_FCRDNS,MD5_SHA1_SUM,
 SPF_FAIL,SPF_HELO_NONE,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 52; hammy, 150; neutral, 117; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
 0.000-+--sk:initsy
Return-path: &lt;marvin@mydatex.cz&gt;
Received: from corrin.holidayinfo.cz ([212.158.145.10]:60598
 helo=drbd-server02.iholidayinfo.cz)
 by buxtehude.debian.org with esmtp (Exim 4.94.2)
 (envelope-from &lt;marvin@mydatex.cz&gt;) id 1quJNy-004tpf-J5
 for submit@bugs.debian.org; Sat, 21 Oct 2023 21:19:55 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dan Smolik &lt;marvin@mydatex.cz&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: Can't start golbal heartbeat when drbd device is on top LVM device
Message-ID: &lt;169792319078.1895.9488626956000013243.reportbug@drbd-server02.iholidayinfo.cz&gt;
X-Mailer: reportbug 12.0.0
Date: Sat, 21 Oct 2023 23:19:50 +0200
Delivered-To: submit@bugs.debian.org

Package: ocfs2-tools
Version: 1.8.7-1+b1
Severity: important
X-Debbugs-Cc: marvin@mydatex.cz

Dear maitainer,
in virtual enviroment I try build 2 node ocfs cluster. When drbd device is on top of  md device all works. But when drbd device is on top LVM device global heartbeat doesn't start.

Using config file '/etc/ocfs2/cluster.conf'
Initializing cluster stack
Checking heartbeat mode
Global heartbeat enabled
Heartbeat region 3D69F9BD7AF24C59BB600A8D7B1D4770
Scanning devices
About to start heartbeat
o2cb: Heartbeat region could not be found 3D69F9BD7AF24C59BB600A8D7B1D4770
root@drbd-server01:/home/marvin/ocfs2-tools/o2cb_ctl# mounted.ocfs2 -d -v -v
Probing device /dev/vda1
Probing device /dev/vdb
Probing device /dev/vdb1
Probing device /dev/vdb5
Probing device /dev/vdc
Probing device /dev/vdc1
Probing device /dev/sr0
Probing device /dev/md0
Probing device /dev/mapper/c-o
Probing device /dev/drbd0
Device           Stack  Cluster      F  UUID                              Label
/dev/mapper/c-o  o2cb   mdtxcluster  G  3D69F9BD7AF24C59BB600A8D7B1D4770  mdtx
/dev/drbd0       o2cb   mdtxcluster  G  3D69F9BD7AF24C59BB600A8D7B1D4770  mdtx



-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ocfs2-tools depends on:
ii  debconf [debconf-2.0]      1.5.82
ii  init-system-helpers        1.65.2
ii  libaio1                    0.3.113-4
ii  libc6                      2.36-9+deb12u3
ii  libcmap4                   3.1.7-1
ii  libcom-err2                1.47.0-2
ii  libdlm3                    4.2.0-2
ii  libglib2.0-0               2.74.6-2
ii  libreadline8               8.2-1.3
ii  libuuid1                   2.38.1-5+b1
ii  lsb-base                   11.6
ii  psmisc                     23.6-1
ii  sysvinit-utils [lsb-base]  3.06-4

ocfs2-tools recommends no packages.

ocfs2-tools suggests no packages.

-- debconf information:
  ocfs2-tools/idle_timeout: 30000
  ocfs2-tools/heartbeat_threshold: 31
  ocfs2-tools/reconnect_delay: 2000
  ocfs2-tools/keepalive_delay: 2000
  ocfs2-tools/init: false
  ocfs2-tools/clustername: ocfs2
]