<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>If
you could afford a maintenance downtime, skip the rolling upgrades and do it in
one shot, all together.<o:p></o:p></span></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>-----Original Message-----<br>
From: ocfs2-users-bounces@oss.oracle.com
[mailto:ocfs2-users-bounces@oss.oracle.com] On Behalf Of Kristiansen Morten<br>
Sent: Wednesday, May 05, 2010 1:05 PM<br>
To: Tao Ma<br>
Cc: ocfs2-users@oss.oracle.com<br>
Subject: Re: [Ocfs2-users] Compile error on RedHat EL5</p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>The source is downloaded from
http://oss.oracle.com/projects/ocfs2-tools/files/source/v1.2/<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Forgot to tell you that we are reinstalling one node at a
time, while the other nodes is still in the oraclecluster. So you won't be able
to mount the ocfs2 disks on the newly reinstalled node, while the two other
nodes have mounted the disks with ocfs2-1.2.4. Therefor:<o:p></o:p></p>

<p class=MsoPlainText>&lt;on all nodes&gt;<o:p></o:p></p>

<p class=MsoPlainText>Reinstall with RHEL5<o:p></o:p></p>

<p class=MsoPlainText>Install ocfs2-1.2.9<o:p></o:p></p>

<p class=MsoPlainText>Reinstall oracle with clusterware and submit the cluster<o:p></o:p></p>

<p class=MsoPlainText>&lt;/on all nodes&gt;<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&lt;on all nodes&gt;<o:p></o:p></p>

<p class=MsoPlainText>Upgrade ocfs2 from 1.2.9 to 1.4.7<o:p></o:p></p>

<p class=MsoPlainText>&lt;/on all nodes&gt;<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>It's much faster to upgrade only ocfs2, than reinstall
all.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Morten K<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>-----Opprinnelig melding-----<o:p></o:p></p>

<p class=MsoPlainText>Fra: ocfs2-users-bounces@oss.oracle.com
[mailto:ocfs2-users-bounces@oss.oracle.com] På vegne av Tao Ma<o:p></o:p></p>

<p class=MsoPlainText>Sendt: 5. mai 2010 11:18<o:p></o:p></p>

<p class=MsoPlainText>Til: Kristiansen Morten<o:p></o:p></p>

<p class=MsoPlainText>Kopi: ocfs2-users@oss.oracle.com<o:p></o:p></p>

<p class=MsoPlainText>Emne: Re: [Ocfs2-users] Compile error on RedHat EL5<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Hi Kristiansen,<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>On 05/05/2010 04:34 PM, Kristiansen Morten wrote:<o:p></o:p></p>

<p class=MsoPlainText>&gt; Hi,<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; I'm trying to compile ocfs2-tools 1.2.7 on a RedHat
EL5 kernel 2.6.18-194.el5, but it fails during the make command:<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; make[1]: Entering directory
`/home/oracle/software/ocfs2/build/build_129/ocfs2-tools-1.2.7/debugfs.ocfs2'<o:p></o:p></p>

<p class=MsoPlainText>&gt; gcc -Wall -O2  -o debugfs.ocfs2 main.o commands.o
dump.o utils.o journal.o find_block_inode.o find_inode_paths.o dump_fs_locks.o
-L/usr/local/lib -lglib-2.0   -L../libocfs2 -locfs2 -L../libo2cb -lo2cb
-lcom_err   -lreadline -lncurses<o:p></o:p></p>

<p class=MsoPlainText>&gt; main.o: In function `main':<o:p></o:p></p>

<p class=MsoPlainText>&gt; main.c:(.text+0x4b6): undefined reference to
`ocfs2_get_lock_type_string'<o:p></o:p></p>

<p class=MsoPlainText>&gt; utils.o: In function `read_whole_file':<o:p></o:p></p>

<p class=MsoPlainText>&gt; utils.c:(.text+0x4a8): undefined reference to
`ocfs2_extent_map_init'<o:p></o:p></p>

<p class=MsoPlainText>&gt; utils.o: In function `dump_file':<o:p></o:p></p>

<p class=MsoPlainText>&gt; utils.c:(.text+0x689): undefined reference to
`ocfs2_extent_map_init'<o:p></o:p></p>

<p class=MsoPlainText>&gt; journal.o: In function `read_journal':<o:p></o:p></p>

<p class=MsoPlainText>&gt; journal.c:(.text+0x10a): undefined reference to
`ocfs2_extent_map_init'<o:p></o:p></p>

<p class=MsoPlainText>&gt; collect2: ld returned 1 exit status<o:p></o:p></p>

<p class=MsoPlainText>&gt; make[1]: *** [debugfs.ocfs2] Error 1<o:p></o:p></p>

<p class=MsoPlainText>&gt; make[1]: Leaving directory
`/home/oracle/software/ocfs2/build/build_129/ocfs2-tools-1.2.7/debugfs.ocfs2'<o:p></o:p></p>

<p class=MsoPlainText>&gt; make: *** [debugfs.ocfs2] Error 2<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; Can anybody tell me what's wrong?<o:p></o:p></p>

<p class=MsoPlainText>where do you get the src?<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; The reason to install 1.2.9, is that we are
currently running RHEL4 and ocfs2-1.2.4. Now we want to reinstall the servers
with RHEL5 and ocfs2-1.2.9, install Oracle with clusterware and then upgrade
ocfs2 from 1.2.9 to 1.4.7.<o:p></o:p></p>

<p class=MsoPlainText>I don't get your point of installing 1.2.9. 1.4.7 does
work with a old <o:p></o:p></p>

<p class=MsoPlainText>format volume. that's no problem with it.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Regards,<o:p></o:p></p>

<p class=MsoPlainText>Tao<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>_______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>Ocfs2-users mailing list<o:p></o:p></p>

<p class=MsoPlainText>Ocfs2-users@oss.oracle.com<o:p></o:p></p>

<p class=MsoPlainText>http://oss.oracle.com/mailman/listinfo/ocfs2-users<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>_______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>Ocfs2-users mailing list<o:p></o:p></p>

<p class=MsoPlainText>Ocfs2-users@oss.oracle.com<o:p></o:p></p>

<p class=MsoPlainText>http://oss.oracle.com/mailman/listinfo/ocfs2-users<o:p></o:p></p>

</div>

</body>

</html>