[DRBD-user] OCFS2 do not sync

Damian Sidor sid at nvt.pl
Fri Jul 6 12:15:08 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Lars Marowsky-Bree napisał(a):
> On 2007-07-03T19:11:19, Damian Sidor <sid at nvt.pl> wrote:
>
>   
>> my test haresources is:
>> nvt-mta-01 IPaddr::192.168.10.35/24/eth1 LVSSyncDaemonSwap::master 
>> drbddisk::r0 Filesystem::/dev/drbd0::/rep1::ocfs2
>>     
>
> Managing OCFS2 as a Filesystem resource is not possible with a
> haresources-style configuration. You need the crm.
>
> (Or seriously rewrite the Filesystem script.)
>
>
> Regards,
>     Lars
>   
oki, i'm just do new config with hb_gui. the ocfs2 filesystem is now 
mounted with heartbeat without errors, but:
when I copy something to mounted partition on NODE1, in NODE2 (also 
ocfs2 mounted) I can't see this file until I unmount and mount again 
this ocfs2 partition:/
what's wrong ?
Is there any mechanism to synchronize automaticly this stuff ?

cat /var/lib/heartbeat/crm/cib.xml
<cib admin_epoch="0" have_quorum="true" ignore_dtd="false" num_peers="2" 
cib_feature_revision="1.3" ccm_transition="4" generated="true" 
dc_uuid="c8b5f2da-df05-4e4d-a396-9ac65a0088a6" epoch="14" 
num_updates="1190" cib-last-written="Fri Jul 6 03:21:55 2007">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair name="stonith-enabled" id="id-stonith-enabled" value="True"/>
<nvpair name="last-lrm-refresh" 
id="cib-bootstrap-options-last-lrm-refresh" value="1183684701"/>
<nvpair id="cib-bootstrap-options-default-action-timeout" 
name="default-action-timeout" value="10s"/>
<nvpair id="cib-bootstrap-options-symmetric-cluster" 
name="symmetric-cluster" value="True"/>
<nvpair id="cib-bootstrap-options-default-resource-stickiness" 
name="default-resource-stickiness" value="0"/>
<nvpair id="cib-bootstrap-options-default-resource-failure-stickiness" 
name="default-resource-failure-stickiness" value="INFINITY"/>
<nvpair id="cib-bootstrap-options-no-quorum-policy" 
name="no-quorum-policy" value="stop"/>
</attributes>
</cluster_property_set>
<cluster_property_set id="cibbootstrap">
<attributes>
<nvpair id="cibbootstrap-01" name="transition_idle_timeout" value="60"/>
<nvpair id="cibbootstrap-02" name="default_resource_stickiness" 
value="INFINITY"/>
<nvpair id="cibbootstrap-03" name="default_resource_failure_stickiness" 
value="-500"/>
<nvpair id="cibbootstrap-04" name="stonith_enabled" value="true"/>
<nvpair id="cibbootstrap-05" name="stonith_action" value="reboot"/>
<nvpair id="cibbootstrap-06" name="symmetric_cluster" value="true"/>
<nvpair id="cibbootstrap-07" name="no_quorum_policy" value="stop"/>
<nvpair id="cibbootstrap-08" name="stop_orphan_resources" value="true"/>
<nvpair id="cibbootstrap-09" name="stop_orphan_actions" value="true"/>
<nvpair id="cibbootstrap-10" name="is_managed_default" value="true"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="981dc5c9-3871-4fda-ae29-731a7b53856e" uname="nvt-mta-02" 
type="normal"/>
<node id="c8b5f2da-df05-4e4d-a396-9ac65a0088a6" uname="nvt-mta-01" 
type="normal">
<instance_attributes id="nodes-c8b5f2da-df05-4e4d-a396-9ac65a0088a6">
<attributes>
<nvpair id="standby-c8b5f2da-df05-4e4d-a396-9ac65a0088a6" name="standby" 
value="off"/>
</attributes>
</instance_attributes>
</node>
</nodes>
<resources>
<clone globally_unique="false" id="vip1">
<instance_attributes id="vip1_instance_attrs">
<attributes>
<nvpair id="vip1_clone_max" name="clone_max" value="3"/>
<nvpair id="vip1_clone_node_max" name="clone_node_max" value="1"/>
<nvpair name="target_role" id="vip1_target_role" value="started"/>
</attributes>
</instance_attributes>
<primitive class="ocf" type="IPaddr" provider="heartbeat" id="resource_">
<instance_attributes id="resource__instance_attrs">
<attributes>
<nvpair id="111d0dff-d5ef-4bde-850a-9dd3777f11e6" name="ip" 
value="192.168.10.35"/>
<nvpair name="lvs_support" id="939cb1ef-a28a-4293-98a4-b5ec10d67202" 
value="1"/>
<nvpair name="target_role" id="resource_:1_target_role" value="started"/>
</attributes>
</instance_attributes>
</primitive>
</clone>
<clone id="fre">
<instance_attributes id="fre_instance_attrs">
<attributes>
<nvpair name="clone_max" id="fre_clone_max" value="2"/>
<nvpair id="fre_clone_node_max" name="clone_node_max" value="1"/>
<nvpair id="fre_target_role" name="target_role" value="started"/>
</attributes>
</instance_attributes>
<primitive class="ocf" type="Filesystem" provider="heartbeat" id="dsf">
<instance_attributes id="dsf_instance_attrs">
<attributes>
<nvpair name="target_role" id="dsf_target_role" value="started"/>
<nvpair id="9ef42c69-ed09-4888-b055-9625d9203465" name="device" 
value="/dev/drbd0"/>
<nvpair id="2625db9d-04c2-43b0-b6c5-446b4d6fbc0b" name="directory" 
value="/rep1"/>
<nvpair id="ed745ae7-2203-4174-91e7-92d640e3069c" name="fstype" 
value="ocfs2"/>
</attributes>
</instance_attributes>
</primitive>
</clone>
</resources>
<constraints/>
</configuration>
</cib>

King Regards,
Damian




More information about the drbd-user mailing list