Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Daniel Smolik
May be but this don't work. I create  LVM volume heartbeat on both nodes. Set ocfs mode to local.  o2cb add-heartbeat mdtxcluster  /dev/c/heratbeat On both nodes. o2cb start-heartbeat mdtxcluster on both nodes ocfs2: Mounting device (147,0) on (node 0, slot 0) with ordered data mode. [ 1290.74

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Valentin Vidic
On Sun, Oct 22, 2023 at 11:38:56PM +0200, Daniel Smolik wrote: > But when use local heartbeat mode I  can  mount ocfs but not work in cluster > mode. I mean that without global heartbeat you didn't have shared storage. If I understand correctly with local heartbeat there is one heartbeat running p

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Daniel Smolik
But when use local heartbeat mode I  can  mount ocfs but not work in cluster mode. I mean that without global heartbeat you didn't have shared storage. Regards                 Dan Dne 22. 10. 23 v 13:37 Valentin Vidic napsal(a): On Sun, Oct 22, 2023 at 12:11:19PM +0200, Daniel Smolik wrote

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Daniel Smolik
I completely  agree, but when it is on md device then is UUID visible on both nodes too. My guess is  that name  of LVM  device is longer than md or drbd device.  And I looked  to source code and start heartbeat failed here: in op_start.c  if (!(od->od_flags & O2CB_DEVICE_FOUND)) {    

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Valentin Vidic
On Sun, Oct 22, 2023 at 12:11:19PM +0200, Daniel Smolik wrote: > Yes no problem. There it is. Thanks. My best guess is that the problem happens because the region UUID is visible on both drbd and the lower device, so the global heartbeat might work if drbd device is selected first (for example in

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Daniel Smolik
Yes no problem. There it is. Dne 22. 10. 23 v 11:57 Valentin Vidic napsal(a): On Sat, Oct 21, 2023 at 11:19:50PM +0200, Dan Smolik wrote: 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 h

Bug#1054326: [Debian-ha-maintainers] Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-22 Thread Valentin Vidic
On Sat, Oct 21, 2023 at 11:19:50PM +0200, Dan Smolik wrote: > 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' Ma

Bug#1054326: Can't start golbal heartbeat when drbd device is on top LVM device

2023-10-21 Thread Dan Smolik
Package: ocfs2-tools Version: 1.8.7-1+b1 Severity: important X-Debbugs-Cc: mar...@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