<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>To answer my one question and maybe it is helpful for the
      community:</p>
    <p>Due to a different (minor) issue with the posix-permissions, we
      set stat-prefetch to off. <br>
    </p>
    <p>This causes the issue mentioned below, i.e. it had nothing to do
      with the smb.conf setting.</p>
    <p><br>
    </p>
    <p>gluster volume set volname performance.stat-prefetch on <br>
    </p>
    <p><br>
    </p>
    <p>solved that issue.</p>
    <p>Reference:<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://access.redhat.com/solutions/4558341">https://access.redhat.com/solutions/4558341</a></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 20/10/2019 18:26, Felix Kölzow
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:56e7175a-ff71-4fdb-5639-54343ab1d6f2@gmx.de">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">Dear
          Gluster-Users,</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><u><br>
        </u></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><u><span style="color:
            rgb(28, 30, 41); background: transparent; margin-top:0pt;
            margin-bottom:0pt;;" data-preserver-spaces="true">short
            story:</span></u></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><u><span style="color:
            rgb(28, 30, 41); background: transparent; margin-top:0pt;
            margin-bottom:0pt;;" data-preserver-spaces="true"><br>
          </span></u></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">Two volumes
          are exported via smb/cifs with the </span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">(almost) the
          same configuration with respect to smb.conf. The replicated
          volume</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">is easily
          accessible via cifs and fuse. The dispersed volume is
          accessible via fuse, </span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">but not via
          cifs. </span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">Error
          message from windows client:</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">The
          parameter is incorrect</span></p>
      <h2 style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;; font-weight: normal;"><br>
      </h2>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">Maybe the
          error is somehow related to this:</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true"><a
            class="moz-txt-link-freetext"
href="https://gluster-users.gluster.narkive.com/g35gmGj6/vfs-gluster-broken"
            moz-do-not-send="true">https://gluster-users.gluster.narkive.com/g35gmGj6/vfs-gluster-broken</a></span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><br>
      </p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><u><span style="color:
            rgb(28, 30, 41); background: transparent; margin-top:0pt;
            margin-bottom:0pt;;" data-preserver-spaces="true">more
            information:<br>
          </span></u></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true"><br>
        </span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">We have
          created a gluster setup that consists of three servers, and
          each server</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">provides two
          bricks. Two volumes are created on these bricks and are going
          to exported via</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">smb/cifs.</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true"><br>
        </span></p>
      <ul style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;">
        <li style="color: rgb(28, 30, 41); background: transparent;
          margin-top:0pt; margin-bottom:0pt;; list-style-type:disc"><span
            style="color: rgb(28, 30, 41); background: transparent;
            margin-top:0pt; margin-bottom:0pt;;"
            data-preserver-spaces="true">replicated distributed </span></li>
        <li style="color: rgb(28, 30, 41); background: transparent;
          margin-top:0pt; margin-bottom:0pt;; list-style-type:disc"><span
            style="color: rgb(28, 30, 41); background: transparent;
            margin-top:0pt; margin-bottom:0pt;;"
            data-preserver-spaces="true">dispersed</span></li>
      </ul>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><br>
      </p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true">The volume
          settings are given here:</span></p>
      <p style="color: rgb(28, 30, 41); background: transparent;
        margin-top:0pt; margin-bottom:0pt;"><span style="color: rgb(28,
          30, 41); background: transparent; margin-top:0pt;
          margin-bottom:0pt;;" data-preserver-spaces="true"><br>
        </span></p>
      <p><tt>[root@node1 ~]# gluster volume info replicated_cifs </tt><tt><br>
        </tt><tt> </tt><tt><br>
        </tt><tt>Volume Name: replicated_cifs</tt><tt><br>
        </tt><tt>Type: Distributed-Replicate</tt><tt><br>
        </tt><tt>Volume ID: 51bb4440-3b8e-48be-a84c-5ea9e1ddd38e</tt><tt><br>
        </tt><tt>Status: Started</tt><tt><br>
        </tt><tt>Snapshot Count: 0</tt><tt><br>
        </tt><tt>Number of Bricks: 2 x 3 = 6</tt><tt><br>
        </tt><tt>Transport-type: tcp</tt><tt><br>
        </tt><tt>Bricks:</tt><tt><br>
        </tt><tt>Brick1: node1:/gluster/vg00/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Brick2: node2:/gluster/vg00/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Brick3: node3:/gluster/vg00/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Brick4: node1:/gluster/vg01/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Brick5: node2:/gluster/vg01/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Brick6: node3:/gluster/vg01/replicated_cifs/brick</tt><tt><br>
        </tt><tt>Options Reconfigured:</tt><tt><br>
        </tt><tt>features.show-snapshot-directory: on</tt><tt><br>
        </tt><tt>features.uss: enable</tt><tt><br>
        </tt><tt>features.barrier: disable</tt><tt><br>
        </tt><tt>changelog.changelog: on</tt><tt><br>
        </tt><tt>geo-replication.ignore-pid-check: on</tt><tt><br>
        </tt><tt>geo-replication.indexing: on</tt><tt><br>
        </tt><tt>transport.address-family: inet</tt><tt><br>
        </tt><tt>nfs.disable: on</tt><tt><br>
        </tt><tt>performance.client-io-threads: off</tt><tt><br>
        </tt><tt>diagnostics.latency-measurement: on</tt><tt><br>
        </tt><tt>diagnostics.count-fop-hits: on</tt><tt><br>
        </tt><tt>user.cifs: enable</tt><tt><br>
        </tt><tt>features.cache-invalidation: on</tt><tt><br>
        </tt><tt>features.cache-invalidation-timeout: 600</tt><tt><br>
        </tt><tt>performance.cache-samba-metadata: on</tt><tt><br>
        </tt><tt>performance.stat-prefetch: disable</tt><tt><br>
        </tt><tt>performance.cache-invalidation: on</tt><tt><br>
        </tt><tt>performance.md-cache-timeout: 600</tt><tt><br>
        </tt><tt>network.inode-lru-limit: 200000</tt><tt><br>
        </tt><tt>performance.nl-cache: on</tt><tt><br>
        </tt><tt>performance.nl-cache-timeout: 600</tt><tt><br>
        </tt><tt>performance.readdir-ahead: on</tt><tt><br>
        </tt><tt>performance.parallel-readdir: on</tt><tt><br>
        </tt><tt>client.event-threads: 4</tt><tt><br>
        </tt><tt>server.event-threads: 4</tt><tt><br>
        </tt><tt>server.root-squash: off</tt><tt><br>
        </tt><tt>cluster.lookup-optimize: on</tt><tt><br>
        </tt><tt>features.quota: on</tt><tt><br>
        </tt><tt>features.inode-quota: on</tt><tt><br>
        </tt><tt>features.quota-deem-statfs: on</tt><tt><br>
        </tt><tt>performance.cache-size: 10GB</tt><tt><br>
        </tt><tt>cluster.server-quorum-ratio: 51%</tt><tt><br>
        </tt><tt>cluster.enable-shared-storage: enable</tt><br>
      </p>
      <p><br>
      </p>
      <p><tt>[root@node1 ~]# gluster volume info dispersed_cifs</tt><br>
      </p>
      <p><tt>Volume Name: dispersed_cifs</tt><tt><br>
        </tt><tt>Type: Disperse</tt><tt><br>
        </tt><tt>Volume ID: 0a291429-1875-41c8-96ff-bce0054ed309</tt><tt><br>
        </tt><tt>Status: Started</tt><tt><br>
        </tt><tt>Snapshot Count: 0</tt><tt><br>
        </tt><tt>Number of Bricks: 1 x (4 + 2) = 6</tt><tt><br>
        </tt><tt>Transport-type: tcp</tt><tt><br>
        </tt><tt>Bricks:</tt><tt><br>
        </tt><tt>Brick1: node1:/gluster/vg00/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Brick2: node2:/gluster/vg00/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Brick3: node3:/gluster/vg00/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Brick4: node1:/gluster/vg01/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Brick5: node2:/gluster/vg01/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Brick6: node3:/gluster/vg01/dispersed_cifs/brick</tt><tt><br>
        </tt><tt>Options Reconfigured:</tt><tt><br>
        </tt><tt>changelog.changelog: on</tt><tt><br>
        </tt><tt>geo-replication.ignore-pid-check: on</tt><tt><br>
        </tt><tt>geo-replication.indexing: on</tt><tt><br>
        </tt><tt>transport.address-family: inet</tt><tt><br>
        </tt><tt>nfs.disable: on</tt><tt><br>
        </tt><tt>diagnostics.latency-measurement: on</tt><tt><br>
        </tt><tt>diagnostics.count-fop-hits: on</tt><tt><br>
        </tt><tt>user.cifs: enable</tt><tt><br>
        </tt><tt>features.cache-invalidation: on</tt><tt><br>
        </tt><tt>features.cache-invalidation-timeout: 600</tt><tt><br>
        </tt><tt>performance.cache-samba-metadata: on</tt><tt><br>
        </tt><tt>performance.stat-prefetch: disable</tt><tt><br>
        </tt><tt>performance.cache-invalidation: on</tt><tt><br>
        </tt><tt>performance.md-cache-timeout: 600</tt><tt><br>
        </tt><tt>network.inode-lru-limit: 200000</tt><tt><br>
        </tt><tt>performance.nl-cache: on</tt><tt><br>
        </tt><tt>performance.nl-cache-timeout: 600</tt><tt><br>
        </tt><tt>performance.readdir-ahead: on</tt><tt><br>
        </tt><tt>performance.parallel-readdir: on</tt><tt><br>
        </tt><tt>server.event-threads: 4</tt><tt><br>
        </tt><tt>client.event-threads: 4</tt><tt><br>
        </tt><tt>server.root-squash: off</tt><tt><br>
        </tt><tt>cluster.lookup-optimize: on</tt><tt><br>
        </tt><tt>features.quota: on</tt><tt><br>
        </tt><tt>features.inode-quota: on</tt><tt><br>
        </tt><tt>features.quota-deem-statfs: on</tt><tt><br>
        </tt><tt>performance.cache-size: 10GB</tt><tt><br>
        </tt><tt>cluster.server-quorum-ratio: 51%</tt><tt><br>
        </tt><tt>cluster.enable-shared-storage: enable</tt><br>
      </p>
      <p><br>
      </p>
      <p>The export via cifs looks:</p>
      <p><u>distributed replicated:</u></p>
      <p><tt>[gluster-replicated_cifs]</tt><tt><br>
        </tt><tt>vfs objects = fruit acl_xattr glusterfs</tt><tt><br>
        </tt><tt>acl_xattr:ignore system acls = yes</tt><tt><br>
        </tt><tt>acl_xattr:default acl style = windows</tt><tt><br>
        </tt><tt>glusterfs:volume = replicated_cifs</tt><tt><br>
        </tt><tt>glusterfs:logfile =
          /var/log/samba/glusterfs-replicated_cifs.%M.log</tt><tt><br>
        </tt><tt>glusterfs:loglevel = 7</tt><tt><br>
        </tt><tt>kernel share modes = no</tt><tt><br>
        </tt><tt>path = /</tt><tt><br>
        </tt><tt>read only = no</tt><tt><br>
        </tt><tt>guest ok = no</tt><tt><br>
        </tt><tt>browseable = no</tt></p>
      <p><tt>[replicated_data]</tt><tt><br>
        </tt><tt>vfs objects = fruit acl_xattr shadow_copy2 glusterfs</tt><tt><br>
        </tt><tt>acl_xattr:ignore system acls = yes</tt><tt><br>
        </tt><tt>acl_xattr:default acl style = windows</tt><tt><br>
        </tt><tt>glusterfs:volume = replicated_cifs</tt><tt><br>
        </tt><tt>glusterfs:logfile =
          /var/log/samba/glusterfs-replicated_data.%M.log</tt><tt><br>
        </tt><tt>glusterfs:loglevel = 7</tt><tt><br>
        </tt><tt>kernel share modes = no</tt><tt><br>
        </tt><tt>path = /replicated_data</tt><tt><br>
        </tt><tt>read only = no</tt><tt><br>
        </tt><tt>guest ok = no</tt><tt><br>
        </tt><tt>create mask = 0660</tt><tt><br>
        </tt><tt>directory mask = 0770</tt><tt><br>
        </tt><tt>map acl inherit = yes</tt><tt><br>
        </tt><tt>inherit permissions = yes</tt><tt><br>
        </tt><tt>inherit acls = true</tt><tt><br>
        </tt><tt>store dos attributes = yes</tt><tt><br>
        </tt><tt>shadow:snapdir = /.snaps</tt><tt><br>
        </tt><tt>shadow:basedir = /</tt><tt><br>
        </tt><tt>shadow:sort = desc</tt><tt><br>
        </tt><tt>shadow:snapprefix = snap_replicated_cifs</tt><tt><br>
        </tt><tt>shadow:format = _GMT-%Y.%m.%d-%H.%M.%S</tt><br>
      </p>
      <p><br>
      </p>
      <p><u>dispersed volume:</u></p>
      <p><tt>[gluster-dispersed_cifs]</tt><tt><br>
        </tt><tt>vfs objects = fruit acl_xattr glusterfs</tt><tt><br>
        </tt><tt>acl_xattr:ignore system acls = yes</tt><tt><br>
        </tt><tt>acl_xattr:default acl style = windows</tt><tt><br>
        </tt><tt>glusterfs:volume = dispersed_cifs</tt><tt><br>
        </tt><tt>glusterfs:logfile =
          /var/log/samba/glusterfs-dispersed_cifs.%M.log</tt><tt><br>
        </tt><tt>glusterfs:loglevel = 7</tt><tt><br>
        </tt><tt>kernel share modes = no</tt><tt><br>
        </tt><tt>path = /</tt><tt><br>
        </tt><tt>read only = no</tt><tt><br>
        </tt><tt>guest ok = no</tt><tt><br>
        </tt><tt>browseable = no</tt><tt><br>
        </tt><tt><br>
        </tt></p>
      <p><tt>[dispersed_data]</tt><tt><br>
        </tt><tt>vfs objects = fruit acl_xattr shadow_copy2 glusterfs</tt><tt><br>
        </tt><tt>acl_xattr:ignore system acls = yes</tt><tt><br>
        </tt><tt>acl_xattr:default acl style = windows</tt><tt><br>
        </tt><tt>glusterfs:volume = dispersed_cifs</tt><tt><br>
        </tt><tt>glusterfs:logfile =
          /var/log/samba/glusterfs-dispersed_data.%M.log</tt><tt><br>
        </tt><tt>glusterfs:loglevel = 7</tt><tt><br>
        </tt><tt>kernel share modes = no</tt><tt><br>
        </tt><tt>path = /dispersed_data</tt><tt><br>
        </tt><tt>read only = no</tt><tt><br>
        </tt><tt>guest ok = no</tt><tt><br>
        </tt><tt>create mask = 0660</tt><tt><br>
        </tt><tt>directory mask = 0770</tt><tt><br>
        </tt><tt>map acl inherit = yes</tt><tt><br>
        </tt><tt>inherit permissions = yes</tt><tt><br>
        </tt><tt>inherit acls = true</tt><tt><br>
        </tt><tt>store dos attributes = yes</tt><tt><br>
        </tt><tt>shadow:snapdir = /.snaps</tt><tt><br>
        </tt><tt>shadow:basedir = /</tt><tt><br>
        </tt><tt>shadow:sort = desc</tt><tt><br>
        </tt><tt>shadow:snapprefix = snap_dispersed_cifs</tt><tt><br>
        </tt><tt>shadow:format = _GMT-%Y.%m.%d-%H.%M.%S</tt><br>
        <br>
      </p>
      <p>Any help or hints are appreciated to resolve that issue. <br>
      </p>
      <p>Thanks in advance.</p>
      <p>Felix<br>
      </p>
      <p><br>
      </p>
      <p><br>
      </p>
      <p><br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/118564314">https://bluejeans.com/118564314</a>

NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/118564314">https://bluejeans.com/118564314</a>

Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
  </body>
</html>