Patrick J. LoPresti
2010-Jun-26 18:10 UTC
[Ocfs2-users] ocfs2/o2cb problem with openais/pacemaker
Hi, Juergen. I found your message from back in April while researching the same issue.> i'm pretty lost at the moment, as there's nothing i can find via google > regarding the "core" problem: > 1271072439 cpg_joi... at 934: Opening control device > 1271072439 cpg_joi... at 938: Error opening control device: Unable to access cluster serviceUsing "strace" on ocfs2_controld.pcmk, I discovered the problem: /dev/misc/ocfs2_control does not exist. (It might be nice if the error message simply said that...) To fix this, I created a file /etc/udev/rules.d/99-ocfs2_control.rules containing the following single line: KERNEL=="ocfs2_control", NAME="misc/ocfs2_control", MODE="0660" I am not sure whether Debian already has a udev .rules file for doing this, or if so, which package it is in (or should be in). - Pat P.S. The latest redhat-cluster (dlm etc.) and ocfs2-tools (plus ocfs2-tools-pacemaker) in Debian experimental now include support for Pacemaker.
On Sat, Jun 26, 2010 at 11:10:21AM -0700, Patrick J. LoPresti wrote:> Hi, Juergen. I found your message from back in April while > researching the same issue. > > > i'm pretty lost at the moment, as there's nothing i can find via google > > regarding the "core" problem: > > 1271072439 cpg_joi... at 934: Opening control device > > 1271072439 cpg_joi... at 938: Error opening control device: Unable to access cluster service > > Using "strace" on ocfs2_controld.pcmk, I discovered the problem: > /dev/misc/ocfs2_control does not exist. (It might be nice if the > error message simply said that...) > > To fix this, I created a file /etc/udev/rules.d/99-ocfs2_control.rules > containing the following single line: > > KERNEL=="ocfs2_control", NAME="misc/ocfs2_control", MODE="0660"51-ocfs2.rules is in the ocfs2-tools tarball and the packages we build ourselves. I'm guessing the Debian packager just missed it. Joel -- "Baby, even the losers Get luck sometimes. Even the losers Keep a little bit of pride." Joel Becker Consulting Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127