<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [Ocfs2-users] Can not mount</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>No, you CAN run OCFSv2 on DRBD. DRBD [rovides you _shared_ 
storage_.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>But, you will have numerous time constrains and I dont think 
tat such combination can be used for anything except learning.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>(I saw manual, how to instal OCFSv2 on DRBD.)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rmaureira@solint.cl href="mailto:rmaureira@solint.cl">Robinson 
  Maureira Castillo</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=milind@linsyssoft.com 
  href="mailto:milind@linsyssoft.com">Milind Dumbare</A> ; <A 
  title=tao.ma@oracle.com href="mailto:tao.ma@oracle.com">tao.ma</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=ocfs2-users@oss.oracle.com 
  href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, August 11, 2006 2:56 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Ocfs2-users] Can not 
  mount</DIV>
  <DIV><BR></DIV><!-- Converted from text/plain format -->
  <P><FONT size=2>I guess you can't combine DRBD and OCFS2.<BR><BR>DRBD works in 
  the following way, you create a local partition on both nodes, configure DRBD, 
  when you do that it creates a special device /dev/drbdX or /dev/nbdX, when you 
  start DRBD on the nodes, one becomes the master and the other becomes slave. 
  You write to the master block device (/dev/drbdX) then the data is copied over 
  the slave, and both write it to their undelying local storage (/dev/hda9 in 
  your case)<BR><BR>OCFS2 provides access to all nodes concurrently, so it's 
  possible to format an DRBD block device as OCFS2 volume, but 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>If you want to try OCFS2, you need a shared 
  storage, like shared SCSI bus, access to an SAN volume, iSCSI, etc. that can 
  be seen as local storage on all nodes.<BR><BR>Regards,<BR><BR>-----Original 
  Message-----<BR>From: ocfs2-users-bounces@oss.oracle.com on behalf of Milind 
  Dumbare<BR>Sent: Fri 8/11/2006 4:21 AM<BR>To: tao.ma<BR>Cc: 
  ocfs2-users@oss.oracle.com<BR>Subject: Re: [Ocfs2-users] Can not 
  mount<BR><BR>Ohh, Do you have any idea how DRBD will work here?<BR><BR>On Fri, 
  2006-08-11 at 16:11 +0800, tao.ma wrote:<BR>&gt; ocfs2 requires a shared disk. 
  As in, all nodes must be able to concurrently<BR>&gt; read/write to the 
  device.<BR>&gt; So your second node can't see "/dev/hda9" of your first node. 
  That is<BR>&gt; the problem.<BR>&gt;<BR>&gt; Milind Dumbare 
  wrote:<BR>&gt;<BR>&gt; &gt;HI all,<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I have 
  two nodes in cluster, my /etc/ocfs2/cluster.conf as follows<BR>&gt; 
  &gt;==============================================<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; cluster:<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_count = 2<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = 
  mili<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; node:<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 
  7777<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ip_address = 192.168.1.23<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 7<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = panini<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = 
  mili<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; node:<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 
  7777<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ip_address = 192.168.1.22<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 6<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = xenon<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = 
  mili<BR>&gt; &gt;===============================================<BR>&gt; &gt;I 
  did<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #/etc/init.d/o2cb load<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &amp;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #/etc/init.d/o2cb start 
  mili<BR>&gt; &gt;<BR>&gt; &gt;on both nodes it was successful.<BR>&gt; 
  &gt;<BR>&gt; &gt;Then I did<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; # mkfs.ocfs2 
  -b 4k -C 32K -L "drbd" -N 2 /dev/hda9<BR>&gt; &gt;on panini it was successful 
  too<BR>&gt; &gt;then<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; #mount -vt ocfs2 -L 
  "test" /mnt/store/<BR>&gt; &gt;on panini, success again.<BR>&gt; &gt;<BR>&gt; 
  &gt;now when I try to mount "test" on xenon (other node) its saying<BR>&gt; 
  &gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "no 
  such partition"<BR>&gt; &gt;<BR>&gt; &gt;Please help me out.<BR>&gt; 
  &gt;<BR>&gt; &gt;&nbsp;<BR>&gt; 
  &gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>--<BR>-Milind<BR>"There is no place like 
  127.0.0.1"<BR><BR><BR>_______________________________________________<BR>Ocfs2-users 
  mailing list<BR>Ocfs2-users@oss.oracle.com<BR><A 
  href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR><BR></FONT></P>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Ocfs2-users mailing 
  list<BR>Ocfs2-users@oss.oracle.com<BR>http://oss.oracle.com/mailman/listinfo/ocfs2-users<BR></BLOCKQUOTE></BODY></HTML>