also i think you should be able to get better performance if you use
vfs_glusterfs [1]. From what I understand it's similar to samba what
nfs-ganesha does for nfs, it uses the libgfapi directly rather than
sharing a fuse-mount
[1] https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html
on my test machine i did this: (centos 7)
first we need to install |samba-vfs-glusterfs| and of course the samba
server which comes as a dependency:
yum install samba-vfs-glusterfs
gluster volume set vol1 server.allow-insecure on
now stop and start the gluster volume, this will auto-create a
(non-working, how funny is that) configuration in |/etc/samba/smb.conf|
gluster volume stop vol1
gluster volume start vol1
now edit |/etc/samba/smb.conf| and add |kernel share modes = no| and
also |guest ok=yes| to the newly created |[gluster-vol1]| section so
that it finally looks about like this:
[gluster-vol1]
comment = For samba share of volume vol1
vfs objects = glusterfs
glusterfs:volume = vol1
glusterfs:logfile = /var/log/samba/glusterfs-vol1.%M.log
glusterfs:loglevel = 7
path = /
read only = no
guest ok = yes
kernel share modes = no
now restart samba
systemctl restart smb
and now you should be able to mount the samba share
mount.cifs -o guest //gluster1/gluster-vol1 /mnt/cifs
On 05.04.19 13:58, David Spisla wrote:
I forgot the link. Here it is:
https://github.com/gluster/glusterdocs/blob/9f2c979b50517b7cb7bf9fbcfccb033bc7bf5082/docs/Administrator%20Guide/Accessing%20Gluster%20from%20Windows.md
Am Fr., 5. Apr. 2019 um 13:57 Uhr schrieb David Spisla
<[email protected] <mailto:[email protected]>>:
Hello Anoop,
it is a known issue that Gluster+Samba has a poor performance
especially for small files.
May this manual can give you more inspiration how to setup your
Gluster and Samba environment.
Regards
David Spisla
Am Fr., 5. Apr. 2019 um 11:28 Uhr schrieb Anoop C S
<[email protected] <mailto:[email protected]>>:
On Fri, 2019-04-05 at 09:28 +0200, Benedikt Kaleß wrote:
> Hi everyone,
>
> I'm running gluster version 5.5-1 and I'm dealing with a slow
> performance together with samba and start to analyze the issue.
>
> I want to set the options for samba. But when I try
>
> gluster volume set <VOLNAME> group samba
>
> I get the following error message:
>
> Unable to open file '/var/lib/glusterd/groups/samba'.
>
> Do you have any hints for me?
This particular group command is only available from v6.0 (as
of now).
https://bugzilla.redhat.com/show_bug.cgi?id=1656771
> Thank you in advance
>
> Benedikt
>
_______________________________________________
Gluster-users mailing list
[email protected] <mailto:[email protected]>
https://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
https://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
https://lists.gluster.org/mailman/listinfo/gluster-users