Re: major problems with Samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the past there have been problems with using  vfs = glusterfs in samba, specifically failed writes when windows clients try to write to samba shares that are accessing gluster directly using that vfs plugin. Have you tried exporting the samba share from a FUSE mount? If that has no write problems, then likely there is an issue or regression with the samba vfs glusterfs plugin.

https://bugzilla.redhat.com/show_bug.cgi?id=1659533

HTH,

Diego


On Wed, Oct 9, 2019 at 5:43 AM Anoop C S <anoopcs@xxxxxxxxxxxxx> wrote:
On Mon, 2019-10-07 at 11:52 +0100, lejeczek wrote:
> hi everyone,
>
> I do not suppose it is a matter of tweaking Gluster(or Samba) as
> these
> problems I think started appearing after upgrade of Samba
> (samba-4.9.1-6.el7.x86_64) and/or Gluster(glusterfs-6.5-1.el7.x86_64)

Can you paste the output of `testparm -s`?

> How it manifests it that Samba operations that a user performs are
> incredibly slow. To create a new file(via right-click in Windows)
> takes more then dozen of seconds, sometimes fails, the same with
> renaming files, etc.
>
> At the same time I samba's part of glusterfs log I see:
>
> [2019-10-07 10:42:02.252880] D [logging.c:2006:_gf_msg_internal]
> 0-logging-infra: Buffer overflow of a buffer whose size limit is 5.
> About to flush least recently used log message to disk
> The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied]
> 0-md-cache: xattr key glusterfs.parent-entrylk doesn't satisfy
> caching
> requirements" repeated 4 times between [2019-10-07 10:42:02.252788]
> and
> [2019-10-07 10:42:02.252874]
> [2019-10-07 10:42:02.252878] T [MSGID: 0]
> [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key
> trusted.glusterfs.dht doesn't satisfy caching requirements
> [2019-10-07 10:42:02.252981] D [logging.c:2006:_gf_msg_internal]
> 0-logging-infra: Buffer overflow of a buffer whose size limit is 5.
> About to flush least recently used log message to disk
> The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied]
> 0-md-cache: xattr key trusted.glusterfs.dht doesn't satisfy caching
> requirements" repeated 4 times between [2019-10-07 10:42:02.252878]
> and
> [2019-10-07 10:42:02.252974]
> [2019-10-07 10:42:02.252978] T [MSGID: 0]
> [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key
> trusted.afr.GROUP_WORK-client-3 doesn't satisfy caching requirements
> [2019-10-07 10:42:02.253059] D [logging.c:2006:_gf_msg_internal]
> 0-logging-infra: Buffer overflow of a buffer whose size limit is 5.
> About to flush least recently used log message to disk
> The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied]
> 0-md-cache: xattr key trusted.afr.GROUP_WORK-client-3 doesn't satisfy
> caching requirements" repeated 4 times between [2019-10-07
> 10:42:02.252978] and [2019-10-07 10:42:02.253052]
> [2019-10-07 10:42:02.253056] T [MSGID: 0]
> [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key link-
> count
> doesn't satisfy caching requirements
> [2019-10-07 10:42:02.253140] D [logging.c:2006:_gf_msg_internal]
> 0-logging-infra: Buffer overflow of a buffer whose size limit is 5.
> About to flush least recently used log message to disk
> The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied]
> 0-md-cache: xattr key link-count doesn't satisfy caching
> requirements"
> repeated 4 times between [2019-10-07 10:42:02.253056] and [2019-10-07
> 10:42:02.253131]
> [2019-10-07 10:42:02.253138] T [MSGID: 0]
> [md-cache.c:792:mdc_inode_xatt_set] 0-md-cache: xatt cache set for
> (00000000-0000-0000-0000-000000000001) time:1570444922

I don't see any ERROR log entries but just TRACE and DEBUG messages.
Please provide the output of `gluster volume info <VOLNAME>`.

________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: https://bluejeans.com/118564314

NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: https://bluejeans.com/118564314

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: https://bluejeans.com/118564314

NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: https://bluejeans.com/118564314

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux