<div dir="ltr"><div>Hi,</div><div><br></div><div>thanks for your reply! What is the version which you used to downgrade?</div><div><br></div><div>Thanks in advance!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Στις Τετ, 10 Οκτ 2018 στις 11:40 π.μ., ο/η Ji-Hyeon Gim <<a href="mailto:potatogim@potatogim.net">potatogim@potatogim.net</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
When I downgraded samba and samba-vfs-gluster, It worked well.<br>
<br>
If you are in a hurry, I recommend you to downgrade these packages.<br>
<br>
<br>
On 10/10/18 5:58 PM, Christos Tsalidis wrote:<br>
> Hi all,<br>
><br>
> I am testing the glusterfs 3.12.14 version on CentOS Linux release<br>
> 7.5.1804 and when I try to write a file using a samba client I get<br>
> 'Permission denied'. Below I give the output and my configuration.<br>
><br>
><br>
> [root@workstation ~]# df<br>
> Filesystem 1K-blocks Used Available Use%<br>
> Mounted on<br>
> /dev/mapper/centos-root 6486016 1199008 5287008 19% /<br>
> devtmpfs 495892 0 495892 0%<br>
> /dev<br>
> tmpfs 507736 0 507736 0%<br>
> /dev/shm<br>
> tmpfs 507736 6828 500908 2%<br>
> /run<br>
> tmpfs 507736 0 507736 0%<br>
> /sys/fs/cgroup<br>
> /dev/sda1 1038336 161940 876396 16%<br>
> /boot<br>
> tmpfs 101548 0 101548 0%<br>
> /run/user/1000<br>
> //servera.lab.local/gluster-mastervol 2076672 66720 2009952 4%<br>
> /mnt/smbdata<br>
> [root@workstation ~]# ls /mnt/smbdata/<br>
> file00 file01 file02 file03 file04 file05 file06 file07 <br>
> file08 file09 file10<br>
><br>
> [root@workstation ~]# cat /mnt/smbdata/file00<br>
><br>
> [root@workstation ~]# touch /mnt/smbdata/file11<br>
> touch: cannot touch ‘/mnt/smbdata/file11’: Permission denied<br>
><br>
><br>
> [gluster-mastervol]<br>
> comment = For samba share of volume mastervol<br>
> vfs objects = glusterfs<br>
> glusterfs:volume = mastervol<br>
> glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log<br>
> glusterfs:loglevel = 7<br>
> path = /<br>
> read only = no<br>
> kernel share modes = No<br>
><br>
><br>
> [root@servera ~]# systemctl status smb<br>
> ● smb.service - Samba SMB Daemon<br>
> Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled;<br>
> vendor preset: disabled)<br>
> Active: active (running) since Wed 2018-10-10 10:51:42 CEST; 5min ago<br>
> Main PID: 3078 (smbd)<br>
> Status: "smbd: ready to serve connections..."<br>
> CGroup: /system.slice/smb.service<br>
> ├─3078 /usr/sbin/smbd --foreground --no-process-group<br>
> ├─3080 /usr/sbin/smbd --foreground --no-process-group<br>
> ├─3081 /usr/sbin/smbd --foreground --no-process-group<br>
> ├─3082 /usr/sbin/smbd --foreground --no-process-group<br>
> └─3096 /usr/sbin/smbd --foreground --no-process-group<br>
><br>
> Oct 10 10:51:41 servera.lab.local systemd[1]: Starting Samba SMB Daemon...<br>
> Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10<br>
> 10:51:42.014539, 0] ../lib/util/become_daemon.c:124(daemon_ready)<br>
> Oct 10 10:51:42 servera.lab.local systemd[1]: Started Samba SMB Daemon.<br>
> Oct 10 10:51:42 servera.lab.local smbd[3078]: STATUS=daemon 'smbd'<br>
> finished starting up and ready to serve connections<br>
> Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10<br>
> 10:52:06.741897, 0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
> Oct 10 10:52:06 servera.lab.local smbd[3085]: vfs_gluster_connect:<br>
> mastervol: Initialized volume from servers localhost<br>
> Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10<br>
> 10:52:09.812596, 0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
> Oct 10 10:52:09 servera.lab.local smbd[3096]: vfs_gluster_connect:<br>
> mastervol: Initialized volume from servers localhost<br>
> Hint: Some lines were ellipsized, use -l to show in full.<br>
><br>
><br>
><br>
> [root@servera ~]# rpm -qa | egrep -i 'gluster|samba'<br>
> glusterfs-client-xlators-3.12.14-1.el7.x86_64<br>
> glusterfs-api-3.12.14-1.el7.x86_64<br>
> glusterfs-fuse-3.12.14-1.el7.x86_64<br>
> glusterfs-server-3.12.14-1.el7.x86_64<br>
> samba-common-tools-4.7.1-9.el7_5.x86_64<br>
> samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64<br>
> samba-winbind-4.7.1-9.el7_5.x86_64<br>
> centos-release-gluster312-1.0-2.el7.centos.noarch<br>
> glusterfs-libs-3.12.14-1.el7.x86_64<br>
> glusterfs-3.12.14-1.el7.x86_64<br>
> glusterfs-cli-3.12.14-1.el7.x86_64<br>
> glusterfs-gnfs-3.12.14-1.el7.x86_64<br>
> samba-common-4.7.1-9.el7_5.noarch<br>
> samba-common-libs-4.7.1-9.el7_5.x86_64<br>
> samba-client-libs-4.7.1-9.el7_5.x86_64<br>
> samba-libs-4.7.1-9.el7_5.x86_64<br>
> samba-4.7.1-9.el7_5.x86_64<br>
> samba-winbind-modules-4.7.1-9.el7_5.x86_64<br>
> samba-winbind-clients-4.7.1-9.el7_5.x86_64<br>
><br>
><br>
> Any idea how I can solve this problem?<br>
><br>
> Thanks in advance!<br>
><br>
> _______________________________________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
> <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
Best regards.<br>
<br>
--<br>
<br>
Ji-Hyeon Gim<br>
Research Engineer, Gluesys<br>
<br>
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,<br>
Dongan-gu, Anyang-si,<br>
Gyeonggi-do, Korea<br>
(14055)<br>
Phone. +82-70-8787-1053<br>
Fax. +82-31-388-3261<br>
Mobile. +82-10-7293-8858<br>
E-Mail. <a href="mailto:potatogim@potatogim.net" target="_blank">potatogim@potatogim.net</a><br>
Website. <a href="http://www.potatogim.net/" rel="noreferrer" target="_blank">http://www.potatogim.net/</a><br>
<br>
The time I wasted today is the tomorrow the dead man was eager to see yesterday.<br>
- Sophocles<br>
<br>
</blockquote></div>