<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: [Ocfs2-users] Can not mount</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I don't understand the point on having an OCFS2 volume that can be mounted rw on only one node. In that case, save yourself all the fuzz and hassle and install OCFS2 on just one node.<BR>
<BR>
Regards,<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Alexei_Roudnev [<A HREF="mailto:Alexei_Roudnev@exigengroup.com">mailto:Alexei_Roudnev@exigengroup.com</A>]<BR>
Sent: Fri 8/11/2006 8:21 PM<BR>
To: Robinson Maureira Castillo; Milind Dumbare; tao.ma<BR>
Cc: ocfs2-users@oss.oracle.com<BR>
Subject: Re: [Ocfs2-users] Can not mount<BR>
<BR>
RE: [Ocfs2-users] Can not mountNo, you CAN run OCFSv2 on DRBD. DRBD [rovides you _shared_ storage_.<BR>
<BR>
But, you will have numerous time constrains and I dont think tat such combination can be used for anything except<BR>
learning.<BR>
<BR>
(I saw manual, how to instal OCFSv2 on DRBD.)<BR>
<BR>
&nbsp; ----- Original Message -----<BR>
&nbsp; From: Robinson Maureira Castillo<BR>
&nbsp; To: Milind Dumbare ; tao.ma<BR>
&nbsp; Cc: ocfs2-users@oss.oracle.com<BR>
&nbsp; Sent: Friday, August 11, 2006 2:56 PM<BR>
&nbsp; Subject: RE: [Ocfs2-users] Can not mount<BR>
<BR>
<BR>
&nbsp; I guess you can't combine DRBD and OCFS2.<BR>
<BR>
&nbsp; DRBD works in the following way, you create a local partition on both nodes, configure DRBD, when you do that it<BR>
creates a special device /dev/drbdX or /dev/nbdX, when you start DRBD on the nodes, one becomes the master and the other<BR>
becomes slave. You write to the master block device (/dev/drbdX) then the data is copied over the slave, and both write<BR>
it to their undelying local storage (/dev/hda9 in your case)<BR>
<BR>
&nbsp; OCFS2 provides access to all nodes concurrently, so it's possible to format an DRBD block device as OCFS2 volume, but<BR>
just one node can write to it, the master, in that case (just one node can write to the device) OCFS2 is pointless.<BR>
<BR>
&nbsp; If you want to try OCFS2, you need a shared storage, like shared SCSI bus, access to an SAN volume, iSCSI, etc. that<BR>
can be seen as local storage on all nodes.<BR>
<BR>
&nbsp; Regards,<BR>
<BR>
&nbsp; -----Original Message-----<BR>
&nbsp; From: ocfs2-users-bounces@oss.oracle.com on behalf of Milind Dumbare<BR>
&nbsp; Sent: Fri 8/11/2006 4:21 AM<BR>
&nbsp; To: tao.ma<BR>
&nbsp; Cc: ocfs2-users@oss.oracle.com<BR>
&nbsp; Subject: Re: [Ocfs2-users] Can not mount<BR>
<BR>
&nbsp; Ohh, Do you have any idea how DRBD will work here?<BR>
<BR>
&nbsp; On Fri, 2006-08-11 at 16:11 +0800, tao.ma wrote:<BR>
&nbsp; &gt; ocfs2 requires a shared disk. As in, all nodes must be able to concurrently<BR>
&nbsp; &gt; read/write to the device.<BR>
&nbsp; &gt; So your second node can't see &quot;/dev/hda9&quot; of your first node. That is<BR>
&nbsp; &gt; the problem.<BR>
&nbsp; &gt;<BR>
&nbsp; &gt; Milind Dumbare wrote:<BR>
&nbsp; &gt;<BR>
&nbsp; &gt; &gt;HI all,<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I have two nodes in cluster, my /etc/ocfs2/cluster.conf as follows<BR>
&nbsp; &gt; &gt;==============================================<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; cluster:<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_count = 2<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = mili<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; node:<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 7777<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_address = 192.168.1.23<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 7<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = panini<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = mili<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; node:<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 7777<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_address = 192.168.1.22<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 6<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = xenon<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = mili<BR>
&nbsp; &gt; &gt;===============================================<BR>
&nbsp; &gt; &gt;I did<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #/etc/init.d/o2cb load<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #/etc/init.d/o2cb start mili<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;on both nodes it was successful.<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;Then I did<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; # mkfs.ocfs2 -b 4k -C 32K -L &quot;drbd&quot; -N 2 /dev/hda9<BR>
&nbsp; &gt; &gt;on panini it was successful too<BR>
&nbsp; &gt; &gt;then<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #mount -vt ocfs2 -L &quot;test&quot; /mnt/store/<BR>
&nbsp; &gt; &gt;on panini, success again.<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;now when I try to mount &quot;test&quot; on xenon (other node) its saying<BR>
&nbsp; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;no such partition&quot;<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;Please help me out.<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt; &gt;<BR>
&nbsp; &gt;<BR>
&nbsp; &gt;<BR>
&nbsp; &gt;<BR>
&nbsp; --<BR>
&nbsp; -Milind<BR>
&nbsp; &quot;There is no place like 127.0.0.1&quot;<BR>
<BR>
<BR>
&nbsp; _______________________________________________<BR>
&nbsp; Ocfs2-users mailing list<BR>
&nbsp; Ocfs2-users@oss.oracle.com<BR>
&nbsp; <A HREF="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
------------------------------------------------------------------------------<BR>
<BR>
<BR>
&nbsp; _______________________________________________<BR>
&nbsp; Ocfs2-users mailing list<BR>
&nbsp; Ocfs2-users@oss.oracle.com<BR>
&nbsp; <A HREF="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>