<div dir="auto">Create a non-gluster share in a local drive. Make sure you can access that share to confirm whether or not the problem is gluster and the vfs plugin or actually a samba authentication problem.<div dir="auto"><br></div><div dir="auto">Is the machine tied to a domain or standalone samba server?</div><div dir="auto"><br></div><div dir="auto">Diego</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018, 06:57 Christos Tsalidis <<a href="mailto:chtsalid@gmail.com">chtsalid@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I recreated as you said, but problem remains. Any other suggestion to make? <br></div><div><br></div><div>Thanks in advance!<br></div></div><br><div class="gmail_quote"><div dir="ltr">Στις Τετ, 10 Οκτ 2018 στις 12:48 μ.μ., ο/η Ji-Hyeon Gim <<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My configuration is same too :)<br>
<br>
Did you try to restart samba again?<br>
<br>
If that doesn't work, I suggest re-create volume freshly.<br>
<br>
When I met this problem, I guess I've deleted my volume and create it again.<br>
<br>
<br>
On 10/10/18 7:41 PM, Christos Tsalidis wrote:<br>
> Hi,<br>
><br>
> yes this package is also downgraded, you can see it here.<br>
><br>
><br>
> [root@servera ~]# rpm -qa | egrep 'samba|vfs'<br>
> samba-common-libs-4.7.1-6.el7.x86_64<br>
> samba-client-libs-4.7.1-6.el7.x86_64<br>
> samba-common-tools-4.7.1-6.el7.x86_64<br>
> samba-vfs-glusterfs-4.7.1-6.el7.x86_64<br>
> samba-common-4.7.1-6.el7.noarch<br>
> samba-libs-4.7.1-6.el7.x86_64<br>
> samba-4.7.1-6.el7.x86_64<br>
><br>
> And here also my smb.conf<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>
> Can you show me your smb.conf? Does it look like the same?<br>
><br>
> Thanks in advance!<br>
><br>
> Στις Τετ, 10 Οκτ 2018 στις 12:38 μ.μ., ο/η Ji-Hyeon Gim<br>
> <<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>>> έγραψε:<br>
><br>
> Oh, Did you downgraded with samba-vfs-glusterfs package?<br>
><br>
> On 10/10/18 7:34 PM, Christos Tsalidis wrote:<br>
> > Hi,<br>
> ><br>
> > I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem<br>
> > hasn't been resolved.<br>
> > Which is the version that you used to downgrade?<br>
> ><br>
> > Thanks in advance!<br>
> ><br>
> > Στις Τετ, 10 Οκτ 2018 στις 12:20 μ.μ., ο/η Christos Tsalidis<br>
> > <<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a> <mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a>><br>
> <mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a> <mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a>>>> έγραψε:<br>
> ><br>
> > Hi,<br>
> ><br>
> > thanks for your reply! What is the version which you used to<br>
> > downgrade?<br>
> ><br>
> > Thanks in advance!<br>
> ><br>
> ><br>
> > Στις Τετ, 10 Οκτ 2018 στις 11:40 π.μ., ο/η Ji-Hyeon Gim<br>
> > <<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>><br>
> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>>>><br>
> έγραψε:<br>
> ><br>
> > Hello!<br>
> ><br>
> > When I downgraded samba and samba-vfs-gluster, It worked<br>
> well.<br>
> ><br>
> > If you are in a hurry, I recommend you to downgrade these<br>
> > 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<br>
> > release<br>
> > > 7.5.1804 and when I try to write a file using a samba<br>
> client<br>
> > I get<br>
> > > 'Permission denied'. Below I give the output and my<br>
> > configuration.<br>
> > ><br>
> > ><br>
> > > [root@workstation ~]# df<br>
> > > Filesystem 1K-blocks Used<br>
> > Available Use%<br>
> > > Mounted on<br>
> > > /dev/mapper/centos-root 6486016 1199008 <br>
> > 5287008 19% /<br>
> > > devtmpfs 495892 0 <br>
> > 495892 0%<br>
> > > /dev<br>
> > > tmpfs 507736 0 <br>
> > 507736 0%<br>
> > > /dev/shm<br>
> > > tmpfs 507736 6828 <br>
> > 500908 2%<br>
> > > /run<br>
> > > tmpfs 507736 0 <br>
> > 507736 0%<br>
> > > /sys/fs/cgroup<br>
> > > /dev/sda1 1038336 161940 <br>
> > 876396 16%<br>
> > > /boot<br>
> > > tmpfs 101548 0 <br>
> > 101548 0%<br>
> > > /run/user/1000<br>
> > > //servera.lab.local/gluster-mastervol 2076672 66720 <br>
> > 2009952 4%<br>
> > > /mnt/smbdata<br>
> > > [root@workstation ~]# ls /mnt/smbdata/<br>
> > > file00 file01 file02 file03 file04 file05 <br>
> 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<br>
> 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 =<br>
> /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<br>
> (/usr/lib/systemd/system/smb.service; enabled;<br>
> > > vendor preset: disabled)<br>
> > > Active: active (running) since Wed 2018-10-10 10:51:42<br>
> > 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<br>
> --no-process-group<br>
> > > ├─3080 /usr/sbin/smbd --foreground<br>
> --no-process-group<br>
> > > ├─3081 /usr/sbin/smbd --foreground<br>
> --no-process-group<br>
> > > ├─3082 /usr/sbin/smbd --foreground<br>
> --no-process-group<br>
> > > └─3096 /usr/sbin/smbd --foreground<br>
> --no-process-group<br>
> > ><br>
> > > Oct 10 10:51:41 servera.lab.local systemd[1]: Starting<br>
> Samba<br>
> > SMB Daemon...<br>
> > > Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10<br>
> > > 10:51:42.014539, 0]<br>
> > ../lib/util/become_daemon.c:124(daemon_ready)<br>
> > > Oct 10 10:51:42 servera.lab.local systemd[1]: Started<br>
> Samba<br>
> > SMB Daemon.<br>
> > > Oct 10 10:51:42 servera.lab.local smbd[3078]: <br>
> > 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]<br>
> > ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
> > > Oct 10 10:52:06 servera.lab.local smbd[3085]: <br>
> > 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]<br>
> > ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
> > > Oct 10 10:52:09 servera.lab.local smbd[3096]: <br>
> > 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" rel="noreferrer">Gluster-users@gluster.org</a><br>
> <mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a>><br>
> <mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a> <mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a>>><br>
> > > <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer 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<br>
> 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" rel="noreferrer">potatogim@potatogim.net</a><br>
> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a><br>
> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>>><br>
> > Website. <a href="http://www.potatogim.net/" rel="noreferrer noreferrer" target="_blank">http://www.potatogim.net/</a><br>
> ><br>
> > The time I wasted today is the tomorrow the dead man was<br>
> eager<br>
> > to see yesterday.<br>
> > - Sophocles<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" rel="noreferrer">potatogim@potatogim.net</a> <mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>><br>
> Website. <a href="http://www.potatogim.net/" rel="noreferrer noreferrer" target="_blank">http://www.potatogim.net/</a><br>
><br>
> The time I wasted today is the tomorrow the dead man was eager to<br>
> see yesterday.<br>
> - Sophocles<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" rel="noreferrer">potatogim@potatogim.net</a><br>
Website. <a href="http://www.potatogim.net/" rel="noreferrer 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>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>