<p>Hi,<br /><br />According to comments in file fs/ocfs2/cluster/quorum.c:70
about the self-fencing operations :<br /><br />/* It should instead flip the
file<br /> * system RO and call some userspace script. */<br /><br />So, I
tried to add it (but i did'nt find a way to flip the fs in RO).<br /><br />Here
is a proposal for this functionnality, based on ocfs2-1.4.7.<br />This patch add
an entry 'fence_cmd' in /sys to specify an userspace fence script.<br />This
behavior can be selected by echoing the new keyword 'cmd' in fence_method.<br
/><br />Example :<br /><br />echo &quot;/usr/local/sbin/my_fencer&quot;&gt;
/sys/kernel/config/cluster/ocfs2/fence_cmd<br />echo &quot;cmd&quot;&gt;
/sys/kernel/config/cluster/ocfs2/fence_method<br /><br /><br />Hope this could
interest someone.
</p><p>Nicolas AGIUS</p><br />
<br />
----------------------------------------------------------------<br />
This message was sent using IMP, the Internet Messaging Program.<br />