<div dir="ltr"><div>Thanks for help. I&#39;ve tried to mount with localalloc=16 before but that didn&#39;t solve the problem. Remounted with localalloc=4 and will monitor for system&#39;s performance. <br><br></div>As for disk space error - I&#39;m not recieving this error if the target directory is local ext4 partition. That&#39;s why I assume that ocfs2 is the reason. My application resizes images dynamicly creating new sized pictures actually. However I receive out of space error not each time it tries to create new image - only sometimes randomly. <br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-17 3:50 GMT+06:00 Srinivas Eeda <span dir="ltr">&lt;<a href="mailto:srinivas.eeda@oracle.com" target="_blank">srinivas.eeda@oracle.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    then your application shouldn&#39;t get enospc error. I would suggest
    you to look into your application for why it reports &quot;out of disk
    space&quot; error.<br>
    <br>
    As for poor write speed, I guess your file system might be
    fragmented heavily. Umount and remount your file system with mount
    option &quot;-o localalloc=4&quot; If 4 didn&#39;t help then go down to 2 and see
    if that helps.<br>
    <br>
    Thanks,<br>
    --Srini<div><div class="h5"><br>
    <br>
    <br>
    <div>On 07/16/2015 02:46 PM, Sergey Bolbat
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">No, I don&#39;t. I can create files but write speed is
        very poor. <br>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2015-07-17 3:15 GMT+06:00 Srinivas
              Eeda <span dir="ltr">&lt;<a href="mailto:srinivas.eeda@oracle.com" target="_blank">srinivas.eeda@oracle.com</a>&gt;</span>:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000"> Do you get enospc
                  error if you try to create/cp a file directly to the
                  mount ?
                  <div>
                    <div><br>
                      <br>
                      <div>On 07/16/2015 02:03 PM, Sergey Bolbat wrote:<br>
                      </div>
                    </div>
                  </div>
                  <blockquote type="cite">
                    <div>
                      <div>
                        <div dir="ltr">
                          <div>
                            <div>
                              <div>Hi.<br>
                                <br>
                              </div>
                              I&#39;m using ocfs2 device with two nodes of
                              500Gb and I have 350Gb free. Everything
                              works fine. However I always recieve &quot;out
                              of disk space&quot; error in my web application
                              and some performance problems because of
                              that. <br>
                              <br>
                            </div>
                            I know that this can be fixed by turning on
                            <span style="font-family:Courier New">discontig-bg
                              feature but I&#39;ve already done that and it
                              didn&#39;t help. <br>
                            </span></div>
                          <div><span style="font-family:Courier New">Then
                              I saw that this feature is incompatible
                              for my device:<br>
                              <br>
                              <br>
                            </span></div>
                          <span style="font-family:Courier New">root@1:~#
                            debugfs.ocfs2 -n -R &quot;stats&quot; /dev/xvdb1<br>
                                    Revision: 0.90<br>
                                    Mount Count: 0   Max Mount Count: 20<br>
                                    State: 0   Errors: 0<br>
                                    Check Interval: 0   Last Check: Sat
                            Jun  6 19:38:12 2015<br>
                                    Creator OS: 0<br>
                                    Feature Compat: 3 backup-super
                            strict-journal-super<br>
                                    Feature Incompat: 16208 sparse
                            extended-slotmap inline-data metaecc xattr
                            indexed-dirs refcount discontig-bg<br>
                                    Tunefs Incomplete: 0<br>
                                    Feature RO compat: 7 unwritten
                            usrquota grpquota<br>
                                    Root Blknum: 5   System Dir Blknum:
                            6<br>
                                    First Cluster Group Blknum: 3<br>
                                    Block Size Bits: 12   Cluster Size
                            Bits: 12<br>
                                    Max Node Slots: 2<br>
                                    Extended Attributes Inline Size: 256<br>
                                    Label: bnews<br>
                                    UUID:
                            8F1C21BF3B09459FB0C667C58AA0B7CB<br>
                                    Hash: 2948584403 (0xafbfd3d3)<br>
                                    DX Seed[0]: 0x38f8f950<br>
                                    DX Seed[1]: 0x034edae5<br>
                                    DX Seed[2]: 0xea4f0da9<br>
                                    Cluster stack: classic o2cb<br>
                                    Inode: 2   Mode: 00   Generation:
                            1813982380 (0x6c1f2cac)<br>
                                    FS Generation: 1813982380
                            (0x6c1f2cac)<br>
                                    CRC32: 08e81acd   ECC: 01dd<br>
                                    Type: Unknown   Attr: 0x0   Flags:
                            Valid System Superblock<br>
                                    Dynamic Features: (0x0)<br>
                                    User: 0 (root)   Group: 0 (root)  
                            Size: 0<br>
                                    Links: 0   Clusters: 131071744<br>
                                    ctime: 0x5572f7c4 -- Sat Jun  6
                            19:38:12 2015<br>
                                    atime: 0x0 -- Thu Jan  1 06:00:00
                            1970<br>
                                    mtime: 0x5572f7c4 -- Sat Jun  6
                            19:38:12 2015<br>
                                    dtime: 0x0 -- Thu Jan  1 06:00:00
                            1970<br>
                                    ctime_nsec: 0x00000000 -- 0<br>
                                    atime_nsec: 0x00000000 -- 0<br>
                                    mtime_nsec: 0x00000000 -- 0<br>
                                    Refcount Block: 0<br>
                                    Last Extblk: 0   Orphan Slot: 0<br>
                                    Sub Alloc Slot: Global   Sub Alloc
                            Bit: 65535<br>
                            <br>
                          </span>
                          <div><span style="font-family:Courier New">OS:
                              Ubuntu Precise<br>
                              <br>
                            </span></div>
                          <div><span style="font-family:Courier New">~#
                              dpkg -l | grep ocfs<br>
                              ii  ocfs2-tools                        
                              1.6.4-3ubuntu1<br>
                              /dev/xvdb1             
                              /srv/www                ocfs2  
                              _netdev,defaults 0 0<br>
                              <br>
                              <br>
                            </span>
                            <div>
                              <div>
                                <div>Why it can be incompatible and how
                                  to solve this? <br>
                                  <br>
                                </div>
                                <div>Thanks in advance.<br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                      </div>
                    </div>
                    <pre>_______________________________________________
Ocfs2-users mailing list
<a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank">Ocfs2-users@oss.oracle.com</a>
<a href="https://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre>
                  </blockquote>
                  <br>
                </div>
                <br>
                _______________________________________________<br>
                Ocfs2-users mailing list<br>
                <a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank">Ocfs2-users@oss.oracle.com</a><br>
                <a href="https://oss.oracle.com/mailman/listinfo/ocfs2-users" rel="noreferrer" target="_blank">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <br>
            -- <br>
            <div>С уважением,<br>
              Болбат Сергей</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">С уважением,<br>Болбат Сергей</div>
</div>