<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    The qs was regarding mkfs not fsck.<br>
    <br>
    On 03/01/2011 11:41 PM, Thomas Lau wrote:
    <blockquote cite="mid:4D6DF49D.8010004@esun.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Does it means OCFS2 don't require to be offline to do fsck ?<br>
      <br>
      On 02/03/2011 2:43 PM, Sunil Mushran wrote:
      <blockquote
        cite="mid:C55758C3-2820-468C-B77E-A95A62D83B03@oracle.com"
        type="cite">
        <div>The real error should be in dmesg. Guessing it was unable
          to connect to all nodes. <br>
          <br>
          On Mar 1, 2011, at 9:23 PM, "Curley, Rob" &lt;<a
            moz-do-not-send="true"
            href="mailto:rob.curley@windriver.com">rob.curley@windriver.com</a>&gt;

          wrote:<br>
          <br>
        </div>
        <blockquote type="cite">
          <div>
            <div><font size="2" face="Arial"><span
                  class="617081205-02032011">When I try and run the
                  mkfs.ocfs2 command after I have updated all of the
                  other nodes in the cluster with the new node
                  information in cluster.conf I am getting the following
                  error:</span></font></div>
            <div><font size="2" face="Arial"><span
                  class="617081205-02032011"></span></font> </div>
            <div><font size="2" face="Arial">mkfs.ocfs2 -b 4k -C 32K -L
                "ocfs2" -N 4 /dev/sdb1<br>
                mkfs.ocfs2 1.4.4<br>
                Cluster stack: classic o2cb<br>
                Overwriting existing ocfs2 partition.<br>
                mkfs.ocfs2: Could not create domain while initializing
                the dlm<br>
                As this is an existing OCFS2 volume, it could be mounted
                on an another node in the cluster.<br>
                However, as mkfs.ocfs2 is unable to initialize the dlm,
                it cannot detect if the volume is in use or not.<br>
                To skip this check, use --force or -F.</font><br>
            </div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">The only other item to note is that when
                  I do the status command, the heartbeat is inactive:</font></span></div>
            <div><span class="617081205-02032011"></span> </div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">/etc/init.d/o2cb status<br>
                  Driver for "configfs": Loaded<br>
                  Filesystem "configfs": Mounted<br>
                  Driver for "ocfs2_dlmfs": Loaded<br>
                  Filesystem "ocfs2_dlmfs": Mounted<br>
                  Checking O2CB cluster ocfs2: Online<br>
                  Heartbeat dead threshold = 31<br>
                    Network idle timeout: 30000<br>
                    Network keepalive delay: 2000<br>
                    Network reconnect delay: 2000<br>
                  Checking O2CB heartbeat: Not active<br>
                </font></span></div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">Version of ocfs2 on this node: 1.4.4
                  (Redhat 5.6 x86_64)</font></span></div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">Version of ocfs2 on all other nodes (5
                  others): 1.4.2-1 (Redhat 5.3 i686)</font></span></div>
            <div><span class="617081205-02032011"></span> </div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">Do I need to shut down all other nodes in
                  the cluster?</font></span></div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial"> </font></span></div>
            <font size="2" face="Arial"> </font>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial">Any help would be greatly appreciated.</font></span></div>
            <div><span class="617081205-02032011"></span> </div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial"> - Thanks</font></span></div>
            <div><span class="617081205-02032011"></span> </div>
            <div><span class="617081205-02032011"><font size="2"
                  face="Arial"> </font></span></div>
            <font size="2" face="Arial"> </font> </div>
        </blockquote>
        <blockquote type="cite">
          <div><span>_______________________________________________</span><br>
            <span>Ocfs2-users mailing list</span><br>
            <span><a moz-do-not-send="true"
                href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a></span><br>
            <span><a moz-do-not-send="true"
                href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></span></div>
        </blockquote>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ocfs2-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Thomas Lau
Infrastructure Delivery Manager
eSun Holdings Limited
Mobile: 852-93239670
Office phone: 29058104


"always I strive to push the boundaries of what we know, and what seems possible to us at this moment in time. The walls between art and engineering exist only in our minds, and few have the imagination to see beyond them."

– Theo Jansen</pre>
    </blockquote>
    <br>
  </body>
</html>