On Mon, Apr 29, 2019 at 3:56 PM João Baúto <joao.bauto@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,I have an 8 brick distributed volume where Windows and Linux clients mount the volume via samba and headless compute servers using gluster native fuse. With parallel-readdir on, if a Windows client creates a new folder, the folder is indeed created but invisible to the Windows client. Accessing the same samba share in a Linux client, the folder is again visible and with normal behavior. The same folder is also visible when mounting via gluster native fuse.The Windows client can list existing directories and rename them while, for files, everything seems to be working fine.Gluster servers: CentOS 7.5 with Gluster 5.3 and Samba 4.8.3-4.el7.0.1 from @fasttrackClients tested: Windows 10, Ubuntu 18.10, CentOS 7.5
Thanks for the bug report. Will look into this, and get back.
Last I knew, we recommended to avoid fuse and samba shares on same volume (Mainly as we couldn't spend a lot of effort on testing the configuration). Anyways, we would treat the behavior as bug for sure. One possible path looking at below volume info is to disable 'stat-prefetch' option and see if it helps. Next option I would try is to disable readdir-ahead.
Regards,
Amar
_______________________________________________Volume Name: tankType: DistributeVolume ID: 9582685f-07fa-41fd-b9fc-ebab3a6989cfStatus: StartedSnapshot Count: 0Number of Bricks: 8Transport-type: tcpBricks:Brick1: swp-gluster-01:/tank/volume1/brickBrick2: swp-gluster-02:/tank/volume1/brickBrick3: swp-gluster-03:/tank/volume1/brickBrick4: swp-gluster-04:/tank/volume1/brickBrick5: swp-gluster-01:/tank/volume2/brickBrick6: swp-gluster-02:/tank/volume2/brickBrick7: swp-gluster-03:/tank/volume2/brickBrick8: swp-gluster-04:/tank/volume2/brickOptions Reconfigured:performance.parallel-readdir: onperformance.readdir-ahead: onperformance.cache-invalidation: onperformance.md-cache-timeout: 600storage.batch-fsync-delay-usec: 0performance.write-behind-window-size: 32MBperformance.stat-prefetch: onperformance.read-ahead: onperformance.read-ahead-page-count: 16performance.rda-request-size: 131072performance.quick-read: onperformance.open-behind: onperformance.nl-cache-timeout: 600performance.nl-cache: onperformance.io-thread-count: 64performance.io-cache: offperformance.flush-behind: onperformance.client-io-threads: offperformance.write-behind: offperformance.cache-samba-metadata: onnetwork.inode-lru-limit: 0features.cache-invalidation-timeout: 600features.cache-invalidation: oncluster.readdir-optimize: oncluster.lookup-optimize: onclient.event-threads: 4server.event-threads: 16features.quota-deem-statfs: onnfs.disable: onfeatures.quota: onfeatures.inode-quota: oncluster.enable-shared-storage: disableCheers,João Baúto
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
Amar Tumballi (amarts)
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users