Hi,
I tried to configure ocfs2 upon drbd, primary-primary role. drbd stage was
ok, but when I start the cluster and format the ocfs partition, the peers
detach it disk and when I mount the FS on both nodes drbd goes diskless. I
used both ocfs2console and command line tools.
I don't know why is this happening, but It is supposed to be a DLM fencing
problem.
the log shows like this:
Oct 6 13:53:07 s3 kernel: block drbd0: Got NegAck packet. Peer is in
troubles?
Oct 6 13:53:07 s3 kernel: block drbd0: pdsk( UpToDate -> Diskless )
Oct 6 13:53:07 s3 kernel: block drbd0: Creating new current UUID
Oct 6 13:53:13 s3 kernel: ocfs2_dlm: Nodes in domain
("C818BB61D4EB4D18BCCA16C9A90CAC86"): 0
Oct 6 14:01:13 s3 kernel: JBD: Ignoring recovery information on journal
Oct 6 14:01:13 s3 kernel: kjournald2 starting. Commit interval 5 seconds
Oct 6 14:01:13 s3 kernel: ocfs2: Mounting device (147,0) on (node 0, slot
0) with ordered data mode.
Oct 6 14:01:18 s3 kernel: block drbd0: disk( UpToDate -> Failed )
Oct 6 14:01:18 s3 kernel: block drbd0: Local IO failed. Detaching...
Oct 6 14:01:18 s3 kernel: block drbd0: helper command: /sbin/drbdadm
pri-on-incon-degr minor-0
Oct 6 14:01:18 s3 kernel: block drbd0: Can not satisfy peer's read request,
no local data.
Oct 6 14:01:18 s3 kernel: block drbd0: helper command: /sbin/drbdadm
pri-on-incon-degr minor-0 exit code 0 (0x0)
Oct 6 14:01:18 s3 kernel: block drbd0: disk( Failed -> Diskless )
Oct 6 14:01:18 s3 kernel: block drbd0: Notified peer that my disk is
broken.
Oct 6 14:01:19 s3 kernel: block drbd0: Sorry, I have no access to good data
anymore.
Oct 6 14:01:19 s3 kernel: (5535,1):o2hb_bio_end_io:225 ERROR: IO Error -1
Oct 6 14:01:19 s3 kernel: (5535,1):o2hb_do_disk_heartbeat:753 ERROR: status
= -1
Oct 6 14:01:19 s3 kernel: block drbd0: Sorry, I have no access to good data
anymore.
[...]
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20091006/860b6951/attachment.html
This is a drbd issue. It is having problems keeping the disks in sync. Juan Antonio Cort?s wrote:> Hi, > > I tried to configure ocfs2 upon drbd, primary-primary role. drbd stage > was ok, but when I start the cluster and format the ocfs partition, > the peers detach it disk and when I mount the FS on both nodes drbd > goes diskless. I used both ocfs2console and command line tools. > > I don't know why is this happening, but It is supposed to be a DLM > fencing problem. > > the log shows like this: > > > Oct 6 13:53:07 s3 kernel: block drbd0: Got NegAck packet. Peer is in > troubles? > Oct 6 13:53:07 s3 kernel: block drbd0: pdsk( UpToDate -> Diskless ) > Oct 6 13:53:07 s3 kernel: block drbd0: Creating new current UUID > Oct 6 13:53:13 s3 kernel: ocfs2_dlm: Nodes in domain > ("C818BB61D4EB4D18BCCA16C9A90CAC86"): 0 > Oct 6 14:01:13 s3 kernel: JBD: Ignoring recovery information on journal > Oct 6 14:01:13 s3 kernel: kjournald2 starting. Commit interval 5 seconds > Oct 6 14:01:13 s3 kernel: ocfs2: Mounting device (147,0) on (node 0, > slot 0) with ordered data mode. > Oct 6 14:01:18 s3 kernel: block drbd0: disk( UpToDate -> Failed ) > Oct 6 14:01:18 s3 kernel: block drbd0: Local IO failed. Detaching... > Oct 6 14:01:18 s3 kernel: block drbd0: helper command: /sbin/drbdadm > pri-on-incon-degr minor-0 > Oct 6 14:01:18 s3 kernel: block drbd0: Can not satisfy peer's read > request, no local data. > Oct 6 14:01:18 s3 kernel: block drbd0: helper command: /sbin/drbdadm > pri-on-incon-degr minor-0 exit code 0 (0x0) > Oct 6 14:01:18 s3 kernel: block drbd0: disk( Failed -> Diskless ) > Oct 6 14:01:18 s3 kernel: block drbd0: Notified peer that my disk is > broken. > Oct 6 14:01:19 s3 kernel: block drbd0: Sorry, I have no access to > good data anymore. > Oct 6 14:01:19 s3 kernel: (5535,1):o2hb_bio_end_io:225 ERROR: IO Error -1 > Oct 6 14:01:19 s3 kernel: (5535,1):o2hb_do_disk_heartbeat:753 ERROR: > status = -1 > Oct 6 14:01:19 s3 kernel: block drbd0: Sorry, I have no access to > good data anymore. > [...] > > > > > Regards. > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users