<!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> </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> </DIV>
<DIV><FONT size=2>(I saw manual, how to instal OCFSv2 on DRBD.)</FONT></DIV>
<DIV><FONT size=2></FONT> </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>> ocfs2 requires a shared disk.
As in, all nodes must be able to concurrently<BR>> read/write to the
device.<BR>> So your second node can't see "/dev/hda9" of your first node.
That is<BR>> the problem.<BR>><BR>> Milind Dumbare
wrote:<BR>><BR>> >HI all,<BR>> > I have
two nodes in cluster, my /etc/ocfs2/cluster.conf as follows<BR>>
>==============================================<BR>>
> cluster:<BR>> >
node_count = 2<BR>>
> name =
mili<BR>> > node:<BR>>
> ip_port =
7777<BR>> >
ip_address = 192.168.1.23<BR>> >
number = 7<BR>> >
name = panini<BR>>
> cluster =
mili<BR>> > node:<BR>>
> ip_port =
7777<BR>> >
ip_address = 192.168.1.22<BR>> >
number = 6<BR>> >
name = xenon<BR>>
> cluster =
mili<BR>> >===============================================<BR>> >I
did<BR>> > #/etc/init.d/o2cb load<BR>>
>
&<BR>> > #/etc/init.d/o2cb start
mili<BR>> ><BR>> >on both nodes it was successful.<BR>>
><BR>> >Then I did<BR>> > # mkfs.ocfs2
-b 4k -C 32K -L "drbd" -N 2 /dev/hda9<BR>> >on panini it was successful
too<BR>> >then<BR>> > #mount -vt ocfs2 -L
"test" /mnt/store/<BR>> >on panini, success again.<BR>> ><BR>>
>now when I try to mount "test" on xenon (other node) its saying<BR>>
> "no
such partition"<BR>> ><BR>> >Please help me out.<BR>>
><BR>> > <BR>>
><BR>><BR>><BR>><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>