<div>Hi Pranith,</div><div><br></div><div>I think my problem about rebalance are a FUSE problem...</div><div>I don&#39;t like use FUSE and it was the only reason i didn&#39;t want set up a GlusterFS architecture, but i haven&#39;t the power to choose :)</div>

<div><br></div><div>When i run <font class="Apple-style-span" face="&#39;courier new&#39;, monospace">gluster volume rebalance REP_SVG start</font>, the step1 start (fixing layout) and after maybe 2 days, we have a rebalance failed.</div>

<div>In the log there are just FUSE errors... see my first mail for precision.</div><div><br></div><div>I have downloaded FUSE binary from Gluster website : <a href="http://download.gluster.com/pub/gluster/glusterfs/fuse/fuse-2.7.4glfs11.tar.gz">http://download.gluster.com/pub/gluster/glusterfs/fuse/fuse-2.7.4glfs11.tar.gz</a></div>

<div><br></div><div>Someone have any solution ?</div><div>For now I&#39;m looking for another solution, because we need security for our backups.</div><div><br></div><div>Best regards</div><br clear="all"><b style="color:rgb(0, 0, 153)">Julien Groselle</b><br>

<font class="Apple-style-span" face="Arial"></font>
<br><div class="gmail_quote">2011/8/17 Pranith Kumar K <span dir="ltr">&lt;<a href="mailto:pranithk@gluster.com">pranithk@gluster.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    hi Julien,<br>
         Why did the rebalance operation failed. Could you let us know
    what steps lead to this situation.<br>
    <br>
    Pranith<div><div></div><div class="h5"><br>
    <br>
    On 08/16/2011 12:35 PM, Julien Groselle wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">
      
      <div>Hello,</div>
      <div><br>
      </div>
      <div>I&#39;m back with my replication issues ! :(</div>
      <div>I can&#39;t understand why i replicate 3To but no more...</div>
      <div><br>
      </div>
      <div>We have 2 servers with two storage array, and i installed
        glusterFS to make replication in between this server...</div>
      <div>As far as i understand, there are just one command to use ?</div>
      <div><br>
      </div>
      <div>
        <div><span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace">toomba:~# gluster peer
              status</font></span></div>
        <div><span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace">Number of Peers: 1</font></span></div>
        <div><span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace"><br>
            </font></span></div>
        <div><span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace">Hostname: kaiserstuhl-svg</font></span></div>
        <div>
          <span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace">Uuid:
              5b79b4bc-c8d2-48d4-bd43-37991197ab47</font></span></div>
        <div><span style="background-color:rgb(255, 255, 255)"><font face="&#39;courier new&#39;, monospace">State: Peer in Cluster
              (Connected)</font></span></div>
      </div>
      <div><br>
      </div>
      <div>I have reconfigured default parameters and i try diff
        algorithm for self-heal : </div>
      <div><br>
      </div>
      <div>
        <div><font face="&#39;courier new&#39;,
            monospace">toomba:~# gluster volume info all</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace"><br>
          </font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Volume Name: REP_SVG</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Type: Replicate</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Status: Started</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Number of Bricks: 2</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Transport-type: tcp</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Bricks:</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Brick1: toomba-svg:/storage/backup</font></div>
        <div>
          <font face="&#39;courier new&#39;, monospace">Brick2:
            kaiserstuhl-svg:/storage/backup</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">Options Reconfigured:</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">cluster.self-heal-window-size: 64</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">cluster.data-self-heal-algorithm: diff</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">diagnostics.client-log-level: WARNING</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">performance.write-behind-window-size: 1MB</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">performance.cache-size: 32MB</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">diagnostics.brick-log-level: WARNING</font></div>
      </div>
      <div><br>
      </div>
      <div>And i just use this command : </div>
      <div><font face="&#39;courier new&#39;,
          monospace">gluster volume rebalance REP_SVG start</font></div>
      <div><br>
      </div>
      <div>And after 2 or 3 days of &quot;fix layout&quot;, i always have the same
        message :</div>
      <div>
        <div><font face="&#39;courier new&#39;,
            monospace">toomba:~# gluster volume rebalance REP_SVG status</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">rebalance failed</font></div>
      </div>
      <div><br>
      </div>
      <div>Here are the errors messages :</div>
      <div>
        <div><span style="font-family:&#39;courier new&#39;,monospace">toomba:~# tail
            /var/log/glusterfs/etc-glusterd-mount-REP_SVG.log</span></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.252272] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/diameter" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/diameter</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.252467] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/help" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/help</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.252692] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/radius" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/radius</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.253069] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/wimaxasncp" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/wimaxasncp</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.253255] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/tpncp" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/tpncp</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.253400] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/dtds" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/dtds</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.253758] E
            [afr-self-heal-entry.c:1085:afr_sh_entry_impunge_newfile_cbk]
            0-REP_SVG-replicate-0: creation of /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/init.lua" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/init.lua</a>
            on REP_SVG-client-1 failed (File exists)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.258712] W
            [fuse-bridge.c:2499:fuse_xattr_cbk] 0-glusterfs-fuse:
            235921125: GETXATTR(trusted.distribute.fix.layout)
            /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/diameter" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/diameter</a>
            =&gt; -1 (No such file or directory)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.271186] W
            [fuse-bridge.c:582:fuse_fd_cbk] 0-glusterfs-fuse: 235921126:
            OPENDIR() /Sauvegarde/<a href="http://chaiten.coe.int/usrshare/20110721/wireshark/diameter" target="_blank">chaiten.coe.int/usrshare/20110721/wireshark/diameter</a>
            =&gt; -1 (No such file or directory)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.985683] W
            [glusterfsd.c:712:cleanup_and_exit]
            (--&gt;/lib/libc.so.6(clone+0x6d) [0x7f0abb79d02d]
            (--&gt;/lib/libpthread.so.0(+0x68ba) [0x7f0abba358ba]
            (--&gt;/usr/sbin/glusterfs(glusterfs_sigwaiter+0xdd)
            [0x40536d]))) 0-: received signum (15), shutting down</font></div>
      </div>
      <div><br>
      </div>
      <div>
        <div><font face="&#39;courier new&#39;,
            monospace">toomba:~# tail
            /var/log/glusterfs/bricks/storage-backup.log </font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.255532] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 346366485:
            47275fbe-a755-40a0-af3c-9545ea0361e9</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.257356] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 346366485:
            47275fbe-a755-40a0-af3c-9545ea0361e9</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.257807] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 346366485:
            47275fbe-a755-40a0-af3c-9545ea0361e9</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.258342] E
            [posix.c:3209:posix_getxattr] 0-REP_SVG-posix: listxattr
            failed on /storage/backup/diameter: No such file or
            directory</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:47.271009] E
            [posix.c:957:posix_opendir] 0-REP_SVG-posix: opendir failed
            on /diameter: No such file or directory</font></div>
        <div>
          <font face="&#39;courier new&#39;, monospace">[2011-08-13
            18:36:48.168309] W
            [socket.c:1494:__socket_proto_state_machine]
            0-tcp.REP_SVG-server: reading from socket failed. Error
            (Transport endpoint is not connected), peer (<a href="http://192.168.250.58:1022" target="_blank">192.168.250.58:1022</a>)</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:48.194917] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 431358804:
            8f5a01c3-5d35-4b86-8a93-2957403360b4</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:48.224864] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 371344980:
            c17bbf87-112a-4c45-a481-d923b5780d11</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:48.225068] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 299767723:
            d8fff55d-80ae-4311-9864-d39daa52c2b8</font></div>
        <div><font face="&#39;courier new&#39;,
            monospace">[2011-08-13 18:36:48.225176] W
            [inode.c:1035:inode_path] 0-/storage/backup/inode: no dentry
            for non-root inode 306335003:
            d7d8dcd2-02ab-4d6a-99ec-c20aa481ef6f</font></div>
      </div>
      <div><br>
      </div>
      <div>Please tell me that i missed one option, and you have THE
        solution...</div>
      <div>Because i have try so many parameters, and all the time the
        replication failed...</div>
      <div><br>
      </div>
      <div>Let me know if you need more information.</div>
      <div><br>
      </div>
      <div>Best regards.</div>
      <br clear="all">
      <b style="color:rgb(0, 0, 153)">Julien Groselle</b><br>
      <font face="Arial"><br>
      </font>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br>