<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    -F does not run the full fsck. -f does.<br>
    <br>
    But I would not recommend running fsck as this corruption is not<br>
    normal. The inodes in the system directory have been overwritten.<br>
    That typically means a storage issue. The fs does not create/remove<br>
    inodes in sysdir. Only the tools do that.<br>
    <br>
    You may want to shutdown drbd and access the devices directly on<br>
    the two machines. See if they are ok. If so, then select one as the<br>
    master and copy it to the other.<br>
    <br>
    On 09/15/2011 04:20 PM, Mike Reid wrote:
    <blockquote cite="mid:CA97E449.1A694%25mbreid@thepei.com"
      type="cite">
      <title>Re: [Ocfs2-users] Trouble getting node to re-join two node
        cluster (OCFS2/DRBD Primary/Primary)</title>
      <font face="Calibri, Verdana, Helvetica, Arial"><span
          style="font-size: 11pt;">I may have made some progress on my
          OCFS2 error:<br>
          <br>
          See the following output from &#8220;dmesg&#8221;<br>
          <br>
          [88740.345617] OCFS2: ERROR (device drbd0):
          ocfs2_validate_inode_block: Invalid dinode #11: fs_generation
          is 376662488<br>
          [88740.345664] File system is now read-only due to the
          potential of on-disk corruption. Please run fsck.ocfs2 once
          the file system is unmounted.<br>
          [88740.345710]
          (mount.ocfs2,26394,5):ocfs2_read_locked_inode:499 ERROR:
          status = -22<br>
          [88740.345743]
          (mount.ocfs2,26394,5):_ocfs2_get_system_file_inode:120 ERROR:
          status = -116<br>
          [88740.345807]
          (mount.ocfs2,26394,5):ocfs2_init_global_system_inodes:466
          ERROR: status = -22<br>
          [88740.345890]
          (mount.ocfs2,26394,5):ocfs2_init_global_system_inodes:469
          ERROR: Unable to load system inode 4, possibly corrupt fs?<br>
          [88740.345958]
          (mount.ocfs2,26394,5):ocfs2_initialize_super:2261 ERROR:
          status = -22<br>
          [88740.346067] (mount.ocfs2,26394,5):ocfs2_fill_super:1023
          ERROR: status = -22<br>
          [88740.346124] ocfs2: Unmounting device (147,0) on (node 0)<br>
          <br>
          <br>
          I decided to run &#8220;fsck.ocfs2 -F /dev/drbd0&#8221;:<br>
          <br>
          Checking OCFS2 filesystem in /dev/drbd0:<br>
          &nbsp;&nbsp;label: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;NONE&gt;<br>
          &nbsp;&nbsp;uuid: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fe 42 73 e1 f8 66 45 41 bb cf 66 c5 df
          d4 96 d6 <br>
          &nbsp;&nbsp;number of blocks: &nbsp;&nbsp;24999936<br>
          &nbsp;&nbsp;bytes per block: &nbsp;&nbsp;&nbsp;4096<br>
          &nbsp;&nbsp;number of clusters: 24999936<br>
          &nbsp;&nbsp;bytes per cluster: &nbsp;4096<br>
          &nbsp;&nbsp;max slots: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8<br>
          <br>
          /dev/drbd0 wasn't cleanly unmounted by all nodes. &nbsp;Attempting
          to replay the journals for nodes that didn't unmount cleanly<br>
          Checking each slot's journal.<br>
          Replaying slot 0's journal.<br>
          Slot 0's journal replayed successfully.<br>
          Slot 0's local alloc replayed successfully<br>
          /dev/drbd0 is clean. &nbsp;It will be checked after 20 additional
          mounts.<br>
          Slot 0's journal dirty flag removed<br>
          <br>
          <br>
          Unfortunately, I still cannot mount the fs....<br>
          <br>
          &gt; mount -t ocfs2 /dev/drbd/by-res/repdata /data <br>
          <br>
          (see attached strace)</span></font>
    </blockquote>
    <br>
  </body>
</html>