<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I think the problem is that you don't mount the drbd device like
/dev/drbd0 or /dev/drbd1 (as set in drbd.conf).<br>
<br>
You can not mount the real partition, you ever have to use the drbd
device.<br>
<br>
Regards Marc<br>
<br>
<br>
<br>
Am 25.06.2010 09:33, schrieb marc genou:
<blockquote
cite="mid:AANLkTinD9qCQfDTHVjYiUsbizWy0bnW2xSvmGnsySjHr@mail.gmail.com"
type="cite">Hi again.
<div><br>
</div>
<div>This seems weird. I am setting a new cluster (a simpler one) and
having some troubles to mount the ext3 on top of drbd partition:</div>
<div>I get this meesages from the logs:</div>
<div><br>
</div>
<div>/var/log/messages-Jun 24 17:24:43 openvz1 Filesystem[11092]:
INFO: Running start for /dev/mapper/vg0-vzpart on /mnt</div>
<div>/var/log/messages-Jun 24 17:24:43 openvz1 lrmd: [10742]: info:
RA output: (VZFS:start:stderr) mount: /dev/mapper/vg0-vzpart already
mounted or /mnt busy</div>
<div>/var/log/messages:Jun 24 17:24:43 openvz1 Filesystem[11092]:
ERROR: Couldn't mount filesystem /dev/mapper/vg0-vzpart on /mnt</div>
<div> </div>
<div>I dont know if I missed some contrains or something like that</div>
<div>This is the config I am testing:</div>
<div><br>
</div>
<div>
<div>node $id="492edbea-b2e9-40a5-9208-bacb1bbad124" openvz1</div>
<div>primitive ClusterIP ocf:heartbeat:IPaddr2 \</div>
<div> params ip="10.10.12.250" cidr_netmask="16" \</div>
<div> op monitor interval="30s"</div>
<div>primitive VZData ocf:linbit:drbd \</div>
<div> params drbd_resource="vzpart" \</div>
<div> op monitor interval="60s"</div>
<div>primitive VZFS ocf:heartbeat:Filesystem \</div>
<div> params device="/dev/mapper/vg0-vzpart" directory="/mnt"
fstype="ext3"</div>
<div>ms VZDataClone VZData \</div>
<div> meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"</div>
<div>colocation fs_on_drbd inf: VZFS VZDataClone:Master</div>
<div>order VZFS-after-VZData inf: VZDataClone:promote VZFS:start</div>
<div>property $id="cib-bootstrap-options" \</div>
<div>
dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677" \</div>
<div> cluster-infrastructure="Heartbeat" \</div>
<div> stonith-enabled="false" \</div>
<div> no-quorum-policy="ignore" \</div>
<div> default-action-timeout="60s"</div>
</div>
<div><br>
</div>
<div>And the crm_mon for this resource</div>
<div><br>
</div>
<div>
<div>Failed actions:</div>
<div> VZFS_start_0 (node=openvz1, call=12, rc=1, status=complete):
unknown error</div>
</div>
<div><br>
</div>
<div>Any ideas?</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a>
</pre>
</blockquote>
</body>
</html>