Discussion:
[Gluster-users] when write a file using samba client gets 'Permission denied'
Christos Tsalidis
2018-10-10 08:58:50 UTC
Permalink
Hi all,

I am testing the glusterfs 3.12.14 version on CentOS Linux release 7.5.1804
and when I try to write a file using a samba client I get 'Permission
denied'. Below I give the output and my configuration.


[***@workstation ~]# df
Filesystem 1K-blocks Used Available Use%
Mounted on
/dev/mapper/centos-root 6486016 1199008 5287008 19% /
devtmpfs 495892 0 495892 0% /dev
tmpfs 507736 0 507736 0%
/dev/shm
tmpfs 507736 6828 500908 2% /run
tmpfs 507736 0 507736 0%
/sys/fs/cgroup
/dev/sda1 1038336 161940 876396 16% /boot
tmpfs 101548 0 101548 0%
/run/user/1000
//servera.lab.local/gluster-mastervol 2076672 66720 2009952 4%
/mnt/smbdata
[***@workstation ~]# ls /mnt/smbdata/
file00 file01 file02 file03 file04 file05 file06 file07 file08
file09 file10

[***@workstation ~]# cat /mnt/smbdata/file00

[***@workstation ~]# touch /mnt/smbdata/file11
touch: cannot touch ‘/mnt/smbdata/file11’: Permission denied


[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No


[***@servera ~]# systemctl status smb
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor
preset: disabled)
Active: active (running) since Wed 2018-10-10 10:51:42 CEST; 5min ago
Main PID: 3078 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─3078 /usr/sbin/smbd --foreground --no-process-group
├─3080 /usr/sbin/smbd --foreground --no-process-group
├─3081 /usr/sbin/smbd --foreground --no-process-group
├─3082 /usr/sbin/smbd --foreground --no-process-group
└─3096 /usr/sbin/smbd --foreground --no-process-group

Oct 10 10:51:41 servera.lab.local systemd[1]: Starting Samba SMB Daemon...
Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10 10:51:42.014539,
0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 10 10:51:42 servera.lab.local systemd[1]: Started Samba SMB Daemon.
Oct 10 10:51:42 servera.lab.local smbd[3078]: STATUS=daemon 'smbd'
finished starting up and ready to serve connections
Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10 10:52:06.741897,
0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Oct 10 10:52:06 servera.lab.local smbd[3085]: vfs_gluster_connect:
mastervol: Initialized volume from servers localhost
Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10 10:52:09.812596,
0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Oct 10 10:52:09 servera.lab.local smbd[3096]: vfs_gluster_connect:
mastervol: Initialized volume from servers localhost
Hint: Some lines were ellipsized, use -l to show in full.



[***@servera ~]# rpm -qa | egrep -i 'gluster|samba'
glusterfs-client-xlators-3.12.14-1.el7.x86_64
glusterfs-api-3.12.14-1.el7.x86_64
glusterfs-fuse-3.12.14-1.el7.x86_64
glusterfs-server-3.12.14-1.el7.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
centos-release-gluster312-1.0-2.el7.centos.noarch
glusterfs-libs-3.12.14-1.el7.x86_64
glusterfs-3.12.14-1.el7.x86_64
glusterfs-cli-3.12.14-1.el7.x86_64
glusterfs-gnfs-3.12.14-1.el7.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64


Any idea how I can solve this problem?

Thanks in advance!
Ji-Hyeon Gim
2018-10-10 09:47:54 UTC
Permalink
Hello!

When I downgraded samba and samba-vfs-gluster, It worked well.

If you are in a hurry, I recommend you to downgrade these packages.
Post by Christos Tsalidis
Hi all,
I am testing the glusterfs 3.12.14 version on CentOS Linux release
7.5.1804 and when I try to write a file using a samba client I get
'Permission denied'. Below I give the output and my configuration.
Filesystem                            1K-blocks    Used Available Use%
Mounted on
/dev/mapper/centos-root                 6486016 1199008   5287008  19% /
devtmpfs                                 495892       0    495892   0%
/dev
tmpfs                                    507736       0    507736   0%
/dev/shm
tmpfs                                    507736    6828    500908   2%
/run
tmpfs                                    507736       0    507736   0%
/sys/fs/cgroup
/dev/sda1                               1038336  161940    876396  16%
/boot
tmpfs                                    101548       0    101548   0%
/run/user/1000
//servera.lab.local/gluster-mastervol   2076672   66720   2009952   4%
/mnt/smbdata
file00  file01  file02  file03  file04  file05  file06  file07 
file08  file09  file10
touch: cannot touch ‘/mnt/smbdata/file11’: Permission denied
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
● smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled;
vendor preset: disabled)
   Active: active (running) since Wed 2018-10-10 10:51:42 CEST; 5min ago
 Main PID: 3078 (smbd)
   Status: "smbd: ready to serve connections..."
   CGroup: /system.slice/smb.service
           ├─3078 /usr/sbin/smbd --foreground --no-process-group
           ├─3080 /usr/sbin/smbd --foreground --no-process-group
           ├─3081 /usr/sbin/smbd --foreground --no-process-group
           ├─3082 /usr/sbin/smbd --foreground --no-process-group
           └─3096 /usr/sbin/smbd --foreground --no-process-group
Oct 10 10:51:41 servera.lab.local systemd[1]: Starting Samba SMB Daemon...
Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10
10:51:42.014539,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Oct 10 10:51:42 servera.lab.local systemd[1]: Started Samba SMB Daemon.
Oct 10 10:51:42 servera.lab.local smbd[3078]:   STATUS=daemon 'smbd'
finished starting up and ready to serve connections
Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10
10:52:06.741897,  0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
mastervol: Initialized volume from servers localhost
Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10
10:52:09.812596,  0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
mastervol: Initialized volume from servers localhost
Hint: Some lines were ellipsized, use -l to show in full.
glusterfs-client-xlators-3.12.14-1.el7.x86_64
glusterfs-api-3.12.14-1.el7.x86_64
glusterfs-fuse-3.12.14-1.el7.x86_64
glusterfs-server-3.12.14-1.el7.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
centos-release-gluster312-1.0-2.el7.centos.noarch
glusterfs-libs-3.12.14-1.el7.x86_64
glusterfs-3.12.14-1.el7.x86_64
glusterfs-cli-3.12.14-1.el7.x86_64
glusterfs-gnfs-3.12.14-1.el7.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64
Any idea how I can solve this problem?
Thanks in advance!
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Best regards.

--

Ji-Hyeon Gim
Research Engineer, Gluesys

Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
E-Mail. ***@potatogim.net
Website. http://www.potatogim.net/

The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
Christos Tsalidis
2018-10-10 10:20:51 UTC
Permalink
Hi,

thanks for your reply! What is the version which you used to downgrade?

Thanks in advance!


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

I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem hasn't
been resolved.
Which is the version that you used to downgrade?

Thanks in advance!

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

yes this package is also downgraded, you can see it here.


[***@servera ~]# rpm -qa | egrep 'samba|vfs'
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64

And here also my smb.conf


[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No

Can you show me your smb.conf? Does it look like the same?

Thanks in advance!

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

Did you try to restart samba again?

If that doesn't work, I suggest re-create volume freshly.

When I met this problem, I guess I've deleted my volume and create it again.
Post by Christos Tsalidis
Hi,
yes this package is also downgraded, you can see it here.
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64
And here also my smb.conf
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
Can you show me your smb.conf? Does it look like the same?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
Oh, Did you downgraded with samba-vfs-glusterfs package?
Post by Christos Tsalidis
Hi,
I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem
hasn't been resolved.
Which is the version that you used to downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos Tsalidis
     Hi,
     thanks for your reply! What is the version which you used to
     downgrade?
     Thanks in advance!
     Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η Ji-Hyeon Gim
         Hello!
         When I downgraded samba and samba-vfs-gluster, It worked
well.
Post by Christos Tsalidis
         If you are in a hurry, I recommend you to downgrade these
         packages.
         > Hi all,
         >
         > I am testing the glusterfs 3.12.14 version on CentOS Linux
         release
         > 7.5.1804 and when I try to write a file using a samba
client
Post by Christos Tsalidis
         I get
         > 'Permission denied'. Below I give the output and my
         configuration.
         >
         >
         > Filesystem                            1K-blocks    Used
         Available Use%
         > Mounted on
         > /dev/mapper/centos-root                 6486016 1199008  
         5287008  19% /
         > devtmpfs                                 495892       0   
         495892   0%
         > /dev
         > tmpfs                                    507736       0   
         507736   0%
         > /dev/shm
         > tmpfs                                    507736    6828   
         500908   2%
         > /run
         > tmpfs                                    507736       0   
         507736   0%
         > /sys/fs/cgroup
         > /dev/sda1                               1038336  161940   
         876396  16%
         > /boot
         > tmpfs                                    101548       0   
         101548   0%
         > /run/user/1000
         > //servera.lab.local/gluster-mastervol   2076672   66720  
         2009952   4%
         > /mnt/smbdata
         > file00  file01  file02  file03  file04  file05 
file06  file07 
Post by Christos Tsalidis
         > file08  file09  file10
         >
         >
         > touch: cannot touch ‘/mnt/smbdata/file11’: Permission
denied
Post by Christos Tsalidis
         >
         >
         > [gluster-mastervol]
         > comment = For samba share of volume mastervol
         > vfs objects = glusterfs
         > glusterfs:volume = mastervol
         > glusterfs:logfile =
/var/log/samba/glusterfs-mastervol.%M.log
Post by Christos Tsalidis
         > glusterfs:loglevel = 7
         > path = /
         > read only = no
         > kernel share modes = No
         >
         >
         > ● smb.service - Samba SMB Daemon
         >    Loaded: loaded
(/usr/lib/systemd/system/smb.service; enabled;
Post by Christos Tsalidis
         > vendor preset: disabled)
         >    Active: active (running) since Wed 2018-10-10 10:51:42
         CEST; 5min ago
         >  Main PID: 3078 (smbd)
         >    Status: "smbd: ready to serve connections..."
         >    CGroup: /system.slice/smb.service
         >            ├─3078 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
         >            ├─3080 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
         >            ├─3081 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
         >            ├─3082 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
         >            └─3096 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
         >
         > Oct 10 10:51:41 servera.lab.local systemd[1]: Starting
Samba
Post by Christos Tsalidis
         SMB Daemon...
         > Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10
         > 10:51:42.014539,  0]
         ../lib/util/become_daemon.c:124(daemon_ready)
         > Oct 10 10:51:42 servera.lab.local systemd[1]: Started
Samba
Post by Christos Tsalidis
         SMB Daemon.
         > Oct 10 10:51:42 servera.lab.local smbd[3078]:  
         STATUS=daemon 'smbd'
         > finished starting up and ready to serve connections
         > Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10
         > 10:52:06.741897,  0]
         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
         > Oct 10 10:52:06 servera.lab.local smbd[3085]:  
         > mastervol: Initialized volume from servers localhost
         > Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10
         > 10:52:09.812596,  0]
         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
         > Oct 10 10:52:09 servera.lab.local smbd[3096]:  
         > mastervol: Initialized volume from servers localhost
         > Hint: Some lines were ellipsized, use -l to show in full.
         >
         >
         >
         > glusterfs-client-xlators-3.12.14-1.el7.x86_64
         > glusterfs-api-3.12.14-1.el7.x86_64
         > glusterfs-fuse-3.12.14-1.el7.x86_64
         > glusterfs-server-3.12.14-1.el7.x86_64
         > samba-common-tools-4.7.1-9.el7_5.x86_64
         > samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
         > samba-winbind-4.7.1-9.el7_5.x86_64
         > centos-release-gluster312-1.0-2.el7.centos.noarch
         > glusterfs-libs-3.12.14-1.el7.x86_64
         > glusterfs-3.12.14-1.el7.x86_64
         > glusterfs-cli-3.12.14-1.el7.x86_64
         > glusterfs-gnfs-3.12.14-1.el7.x86_64
         > samba-common-4.7.1-9.el7_5.noarch
         > samba-common-libs-4.7.1-9.el7_5.x86_64
         > samba-client-libs-4.7.1-9.el7_5.x86_64
         > samba-libs-4.7.1-9.el7_5.x86_64
         > samba-4.7.1-9.el7_5.x86_64
         > samba-winbind-modules-4.7.1-9.el7_5.x86_64
         > samba-winbind-clients-4.7.1-9.el7_5.x86_64
         >
         >
         > Any idea how I can solve this problem?
         >
         > Thanks in advance!
         >
         > _______________________________________________
         > Gluster-users mailing list
         > https://lists.gluster.org/mailman/listinfo/gluster-users
         Best regards.
         --
         Ji-Hyeon Gim
         Research Engineer, Gluesys
         Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Christos Tsalidis
                  Dongan-gu, Anyang-si,
                  Gyeonggi-do, Korea
                  (14055)
         Phone.   +82-70-8787-1053
         Fax.     +82-31-388-3261
         Mobile.  +82-10-7293-8858
         Website. http://www.potatogim.net/
         The time I wasted today is the tomorrow the dead man was
eager
Post by Christos Tsalidis
         to see yesterday.
           - Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
         Dongan-gu, Anyang-si,
         Gyeonggi-do, Korea
         (14055)
Phone.   +82-70-8787-1053
Fax.     +82-31-388-3261
Mobile.  +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
  - Sophocles
Best regards.

--

Ji-Hyeon Gim
Research Engineer, Gluesys

Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
E-Mail. ***@potatogim.net
Website. http://www.potatogim.net/

The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
Christos Tsalidis
2018-10-10 10:57:21 UTC
Permalink
Hi,

I recreated as you said, but problem remains. Any other suggestion to make?

Thanks in advance!

Στις ΀ετ, 10 Οκτ 2018 στις 12:48 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim <
Post by Ji-Hyeon Gim
My configuration is same too :)
Did you try to restart samba again?
If that doesn't work, I suggest re-create volume freshly.
When I met this problem, I guess I've deleted my volume and create it again.
Post by Christos Tsalidis
Hi,
yes this package is also downgraded, you can see it here.
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64
And here also my smb.conf
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
Can you show me your smb.conf? Does it look like the same?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
Oh, Did you downgraded with samba-vfs-glusterfs package?
Post by Christos Tsalidis
Hi,
I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem
hasn't been resolved.
Which is the version that you used to downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos Tsalidis
Hi,
thanks for your reply! What is the version which you used to
downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η Ji-Hyeon Gim
Hello!
When I downgraded samba and samba-vfs-gluster, It worked
well.
Post by Christos Tsalidis
If you are in a hurry, I recommend you to downgrade these
packages.
Post by Christos Tsalidis
Hi all,
I am testing the glusterfs 3.12.14 version on CentOS
Linux
Post by Christos Tsalidis
Post by Christos Tsalidis
release
Post by Christos Tsalidis
7.5.1804 and when I try to write a file using a samba
client
Post by Christos Tsalidis
I get
Post by Christos Tsalidis
'Permission denied'. Below I give the output and my
configuration.
Post by Christos Tsalidis
Filesystem 1K-blocks Used
Available Use%
Post by Christos Tsalidis
Mounted on
/dev/mapper/centos-root 6486016 1199008
5287008 19% /
Post by Christos Tsalidis
devtmpfs 495892
0
Post by Christos Tsalidis
Post by Christos Tsalidis
495892 0%
Post by Christos Tsalidis
/dev
tmpfs 507736
0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/dev/shm
tmpfs 507736
6828
Post by Christos Tsalidis
Post by Christos Tsalidis
500908 2%
Post by Christos Tsalidis
/run
tmpfs 507736
0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/sys/fs/cgroup
/dev/sda1 1038336
161940
Post by Christos Tsalidis
Post by Christos Tsalidis
876396 16%
Post by Christos Tsalidis
/boot
tmpfs 101548
0
Post by Christos Tsalidis
Post by Christos Tsalidis
101548 0%
Post by Christos Tsalidis
/run/user/1000
//servera.lab.local/gluster-mastervol 2076672 66720
2009952 4%
Post by Christos Tsalidis
/mnt/smbdata
file00 file01 file02 file03 file04 file05
file06 file07
Post by Christos Tsalidis
Post by Christos Tsalidis
file08 file09 file10
touch: cannot touch ‘/mnt/smbdata/file11’: Permission
denied
Post by Christos Tsalidis
Post by Christos Tsalidis
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile =
/var/log/samba/glusterfs-mastervol.%M.log
Post by Christos Tsalidis
Post by Christos Tsalidis
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
● smb.service - Samba SMB Daemon
Loaded: loaded
(/usr/lib/systemd/system/smb.service; enabled;
Post by Christos Tsalidis
Post by Christos Tsalidis
vendor preset: disabled)
Active: active (running) since Wed 2018-10-10 10:51:42
CEST; 5min ago
Post by Christos Tsalidis
Main PID: 3078 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─3078 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3080 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3081 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3082 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
└─3096 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
Oct 10 10:51:41 servera.lab.local systemd[1]: Starting
Samba
Post by Christos Tsalidis
SMB Daemon...
Post by Christos Tsalidis
Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10
10:51:42.014539, 0]
../lib/util/become_daemon.c:124(daemon_ready)
Post by Christos Tsalidis
Oct 10 10:51:42 servera.lab.local systemd[1]: Started
Samba
Post by Christos Tsalidis
SMB Daemon.
STATUS=daemon 'smbd'
Post by Christos Tsalidis
finished starting up and ready to serve connections
Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10
10:52:06.741897, 0]
../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Christos Tsalidis
mastervol: Initialized volume from servers localhost
Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10
10:52:09.812596, 0]
../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Christos Tsalidis
mastervol: Initialized volume from servers localhost
Hint: Some lines were ellipsized, use -l to show in full.
glusterfs-client-xlators-3.12.14-1.el7.x86_64
glusterfs-api-3.12.14-1.el7.x86_64
glusterfs-fuse-3.12.14-1.el7.x86_64
glusterfs-server-3.12.14-1.el7.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
centos-release-gluster312-1.0-2.el7.centos.noarch
glusterfs-libs-3.12.14-1.el7.x86_64
glusterfs-3.12.14-1.el7.x86_64
glusterfs-cli-3.12.14-1.el7.x86_64
glusterfs-gnfs-3.12.14-1.el7.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64
Any idea how I can solve this problem?
Thanks in advance!
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Christos Tsalidis
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was
eager
Post by Christos Tsalidis
to see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to
see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
Diego Remolina
2018-10-10 11:02:36 UTC
Permalink
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.

Is the machine tied to a domain or standalone samba server?

Diego
Post by Christos Tsalidis
Hi,
I recreated as you said, but problem remains. Any other suggestion to make?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:48 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim <
Post by Ji-Hyeon Gim
My configuration is same too :)
Did you try to restart samba again?
If that doesn't work, I suggest re-create volume freshly.
When I met this problem, I guess I've deleted my volume and create it again.
Post by Christos Tsalidis
Hi,
yes this package is also downgraded, you can see it here.
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64
And here also my smb.conf
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
Can you show me your smb.conf? Does it look like the same?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
Oh, Did you downgraded with samba-vfs-glusterfs package?
Post by Christos Tsalidis
Hi,
I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem
hasn't been resolved.
Which is the version that you used to downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos Tsalidis
Hi,
thanks for your reply! What is the version which you used to
downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η Ji-Hyeon Gim
Hello!
When I downgraded samba and samba-vfs-gluster, It worked
well.
Post by Christos Tsalidis
If you are in a hurry, I recommend you to downgrade these
packages.
Post by Christos Tsalidis
Hi all,
I am testing the glusterfs 3.12.14 version on CentOS
Linux
Post by Christos Tsalidis
Post by Christos Tsalidis
release
Post by Christos Tsalidis
7.5.1804 and when I try to write a file using a samba
client
Post by Christos Tsalidis
I get
Post by Christos Tsalidis
'Permission denied'. Below I give the output and my
configuration.
Post by Christos Tsalidis
Filesystem 1K-blocks Used
Available Use%
Post by Christos Tsalidis
Mounted on
/dev/mapper/centos-root 6486016
1199008
Post by Christos Tsalidis
Post by Christos Tsalidis
5287008 19% /
Post by Christos Tsalidis
devtmpfs 495892
0
Post by Christos Tsalidis
Post by Christos Tsalidis
495892 0%
Post by Christos Tsalidis
/dev
tmpfs 507736
0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/dev/shm
tmpfs 507736
6828
Post by Christos Tsalidis
Post by Christos Tsalidis
500908 2%
Post by Christos Tsalidis
/run
tmpfs 507736
0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/sys/fs/cgroup
/dev/sda1 1038336
161940
Post by Christos Tsalidis
Post by Christos Tsalidis
876396 16%
Post by Christos Tsalidis
/boot
tmpfs 101548
0
Post by Christos Tsalidis
Post by Christos Tsalidis
101548 0%
Post by Christos Tsalidis
/run/user/1000
//servera.lab.local/gluster-mastervol 2076672
66720
Post by Christos Tsalidis
Post by Christos Tsalidis
2009952 4%
Post by Christos Tsalidis
/mnt/smbdata
file00 file01 file02 file03 file04 file05
file06 file07
Post by Christos Tsalidis
Post by Christos Tsalidis
file08 file09 file10
touch: cannot touch ‘/mnt/smbdata/file11’: Permission
denied
Post by Christos Tsalidis
Post by Christos Tsalidis
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile =
/var/log/samba/glusterfs-mastervol.%M.log
Post by Christos Tsalidis
Post by Christos Tsalidis
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
● smb.service - Samba SMB Daemon
Loaded: loaded
(/usr/lib/systemd/system/smb.service; enabled;
Post by Christos Tsalidis
Post by Christos Tsalidis
vendor preset: disabled)
Active: active (running) since Wed 2018-10-10
10:51:42
Post by Christos Tsalidis
Post by Christos Tsalidis
CEST; 5min ago
Post by Christos Tsalidis
Main PID: 3078 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─3078 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3080 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3081 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3082 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
└─3096 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
Oct 10 10:51:41 servera.lab.local systemd[1]: Starting
Samba
Post by Christos Tsalidis
SMB Daemon...
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:51:42.014539, 0]
../lib/util/become_daemon.c:124(daemon_ready)
Post by Christos Tsalidis
Oct 10 10:51:42 servera.lab.local systemd[1]: Started
Samba
Post by Christos Tsalidis
SMB Daemon.
STATUS=daemon 'smbd'
Post by Christos Tsalidis
finished starting up and ready to serve connections
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:52:06.741897, 0]
../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Christos Tsalidis
mastervol: Initialized volume from servers localhost
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:52:09.812596, 0]
../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Christos Tsalidis
mastervol: Initialized volume from servers localhost
Hint: Some lines were ellipsized, use -l to show in
full.
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
glusterfs-client-xlators-3.12.14-1.el7.x86_64
glusterfs-api-3.12.14-1.el7.x86_64
glusterfs-fuse-3.12.14-1.el7.x86_64
glusterfs-server-3.12.14-1.el7.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
centos-release-gluster312-1.0-2.el7.centos.noarch
glusterfs-libs-3.12.14-1.el7.x86_64
glusterfs-3.12.14-1.el7.x86_64
glusterfs-cli-3.12.14-1.el7.x86_64
glusterfs-gnfs-3.12.14-1.el7.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64
Any idea how I can solve this problem?
Thanks in advance!
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Post by Christos Tsalidis
Post by Christos Tsalidis
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Christos Tsalidis
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was
eager
Post by Christos Tsalidis
to see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to
see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Ji-Hyeon Gim
2018-10-10 11:11:30 UTC
Permalink
AFAIR, I finally downgraded glusterfs to a previous version(3.12.11).

I'm sorry I could not have been of much help.
Post by Christos Tsalidis
Hi,
I recreated as you said, but problem remains. Any other suggestion to make?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:48 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
My configuration is same too :)
Did you try to restart samba again?
If that doesn't work, I suggest re-create volume freshly.
When I met this problem, I guess I've deleted my volume and create it again.
Post by Christos Tsalidis
Hi,
yes this package is also downgraded, you can see it here.
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64
And here also my smb.conf
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
Can you show me your smb.conf? Does it look like the same?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
     Oh, Did you downgraded with samba-vfs-glusterfs package?
     > Hi,
     >
     > I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still
problem
Post by Christos Tsalidis
     > hasn't been resolved.
     > Which is the version that you used to downgrade?
     >
     > Thanks in advance!
     >
     > Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos Tsalidis
     >
     >     Hi,
     >
     >     thanks for your reply! What is the version which you
used to
Post by Christos Tsalidis
     >     downgrade?
     >
     >     Thanks in advance!
     >
     >
     >     Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η Ji-Hyeon Gim
     >
     >         Hello!
     >
     >         When I downgraded samba and samba-vfs-gluster, It
worked
Post by Christos Tsalidis
     well.
     >
     >         If you are in a hurry, I recommend you to
downgrade these
Post by Christos Tsalidis
     >         packages.
     >
     >
     >         > Hi all,
     >         >
     >         > I am testing the glusterfs 3.12.14 version on
CentOS Linux
Post by Christos Tsalidis
     >         release
     >         > 7.5.1804 and when I try to write a file using a
samba
Post by Christos Tsalidis
     client
     >         I get
     >         > 'Permission denied'. Below I give the output and my
     >         configuration.
     >         >
     >         >
     >         > Filesystem                           
1K-blocks    Used
Post by Christos Tsalidis
     >         Available Use%
     >         > Mounted on
     >         > /dev/mapper/centos-root                 6486016
1199008  
Post by Christos Tsalidis
     >         5287008  19% /
     >         > devtmpfs                                
495892       0   
Post by Christos Tsalidis
     >         495892   0%
     >         > /dev
     >         > tmpfs                                   
507736       0   
Post by Christos Tsalidis
     >         507736   0%
     >         > /dev/shm
     >         > tmpfs                                   
507736    6828   
Post by Christos Tsalidis
     >         500908   2%
     >         > /run
     >         > tmpfs                                   
507736       0   
Post by Christos Tsalidis
     >         507736   0%
     >         > /sys/fs/cgroup
     >         > /dev/sda1                               1038336 
161940   
Post by Christos Tsalidis
     >         876396  16%
     >         > /boot
     >         > tmpfs                                   
101548       0   
Post by Christos Tsalidis
     >         101548   0%
     >         > /run/user/1000
     >         > //servera.lab.local/gluster-mastervol  
2076672   66720  
Post by Christos Tsalidis
     >         2009952   4%
     >         > /mnt/smbdata
     >         > file00  file01  file02  file03  file04  file05 
     file06  file07 
     >         > file08  file09  file10
     >         >
     >         >
Permission
Post by Christos Tsalidis
     denied
     >         >
     >         >
     >         > [gluster-mastervol]
     >         > comment = For samba share of volume mastervol
     >         > vfs objects = glusterfs
     >         > glusterfs:volume = mastervol
     >         > glusterfs:logfile =
     /var/log/samba/glusterfs-mastervol.%M.log
     >         > glusterfs:loglevel = 7
     >         > path = /
     >         > read only = no
     >         > kernel share modes = No
     >         >
     >         >
     >         > ● smb.service - Samba SMB Daemon
     >         >    Loaded: loaded
     (/usr/lib/systemd/system/smb.service; enabled;
     >         > vendor preset: disabled)
     >         >    Active: active (running) since Wed 2018-10-10
10:51:42
Post by Christos Tsalidis
     >         CEST; 5min ago
     >         >  Main PID: 3078 (smbd)
     >         >    Status: "smbd: ready to serve connections..."
     >         >    CGroup: /system.slice/smb.service
     >         >            ├─3078 /usr/sbin/smbd --foreground
     --no-process-group
     >         >            ├─3080 /usr/sbin/smbd --foreground
     --no-process-group
     >         >            ├─3081 /usr/sbin/smbd --foreground
     --no-process-group
     >         >            ├─3082 /usr/sbin/smbd --foreground
     --no-process-group
     >         >            └─3096 /usr/sbin/smbd --foreground
     --no-process-group
     >         >
Starting
Post by Christos Tsalidis
     Samba
     >         SMB Daemon...
[2018/10/10
Post by Christos Tsalidis
     >         > 10:51:42.014539,  0]
     >         ../lib/util/become_daemon.c:124(daemon_ready)
Started
Post by Christos Tsalidis
     Samba
     >         SMB Daemon.
     >         > Oct 10 10:51:42 servera.lab.local smbd[3078]:  
     >         STATUS=daemon 'smbd'
     >         > finished starting up and ready to serve connections
[2018/10/10
Post by Christos Tsalidis
     >         > 10:52:06.741897,  0]
     >         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
     >         > Oct 10 10:52:06 servera.lab.local smbd[3085]:  
     >         > mastervol: Initialized volume from servers localhost
[2018/10/10
Post by Christos Tsalidis
     >         > 10:52:09.812596,  0]
     >         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
     >         > Oct 10 10:52:09 servera.lab.local smbd[3096]:  
     >         > mastervol: Initialized volume from servers localhost
     >         > Hint: Some lines were ellipsized, use -l to show
in full.
Post by Christos Tsalidis
     >         >
     >         >
     >         >
     >         > glusterfs-client-xlators-3.12.14-1.el7.x86_64
     >         > glusterfs-api-3.12.14-1.el7.x86_64
     >         > glusterfs-fuse-3.12.14-1.el7.x86_64
     >         > glusterfs-server-3.12.14-1.el7.x86_64
     >         > samba-common-tools-4.7.1-9.el7_5.x86_64
     >         > samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
     >         > samba-winbind-4.7.1-9.el7_5.x86_64
     >         > centos-release-gluster312-1.0-2.el7.centos.noarch
     >         > glusterfs-libs-3.12.14-1.el7.x86_64
     >         > glusterfs-3.12.14-1.el7.x86_64
     >         > glusterfs-cli-3.12.14-1.el7.x86_64
     >         > glusterfs-gnfs-3.12.14-1.el7.x86_64
     >         > samba-common-4.7.1-9.el7_5.noarch
     >         > samba-common-libs-4.7.1-9.el7_5.x86_64
     >         > samba-client-libs-4.7.1-9.el7_5.x86_64
     >         > samba-libs-4.7.1-9.el7_5.x86_64
     >         > samba-4.7.1-9.el7_5.x86_64
     >         > samba-winbind-modules-4.7.1-9.el7_5.x86_64
     >         > samba-winbind-clients-4.7.1-9.el7_5.x86_64
     >         >
     >         >
     >         > Any idea how I can solve this problem?
     >         >
     >         > Thanks in advance!
     >         >
     >         > _______________________________________________
     >         > Gluster-users mailing list
     >         >
https://lists.gluster.org/mailman/listinfo/gluster-users
Post by Christos Tsalidis
     >
     >         Best regards.
     >
     >         --
     >
     >         Ji-Hyeon Gim
     >         Research Engineer, Gluesys
     >
     >         Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
     327beon-gil,
     >                  Dongan-gu, Anyang-si,
     >                  Gyeonggi-do, Korea
     >                  (14055)
     >         Phone.   +82-70-8787-1053
     >         Fax.     +82-31-388-3261
     >         Mobile.  +82-10-7293-8858
     >         Website. http://www.potatogim.net/
     >
     >         The time I wasted today is the tomorrow the dead
man was
Post by Christos Tsalidis
     eager
     >         to see yesterday.
     >           - Sophocles
     >
     Best regards.
     --
     Ji-Hyeon Gim
     Research Engineer, Gluesys
     Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
              Dongan-gu, Anyang-si,
              Gyeonggi-do, Korea
              (14055)
     Phone.   +82-70-8787-1053
     Fax.     +82-31-388-3261
     Mobile.  +82-10-7293-8858
     Website. http://www.potatogim.net/
     The time I wasted today is the tomorrow the dead man was
eager to
Post by Christos Tsalidis
     see yesterday.
       - Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
         Dongan-gu, Anyang-si,
         Gyeonggi-do, Korea
         (14055)
Phone.   +82-70-8787-1053
Fax.     +82-31-388-3261
Mobile.  +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
  - Sophocles
Best regards.

--

Ji-Hyeon Gim
Research Engineer, Gluesys

Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
E-Mail. ***@potatogim.net
Website. http://www.potatogim.net/

The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
Christos Tsalidis
2018-10-11 18:08:37 UTC
Permalink
Hi,

thanks a lot for your help. I didn't have time to continue my
investigation, but I will try to do it at some point. If I find something I
will let you know.

BR

Στις ΠέΌπτη, 11 Οκτωβρίου 2018, ο χρήστης Ji-Hyeon Gim <
Post by Ji-Hyeon Gim
Hello!
How are your problem?
If I can help you, I want to help you! :)
Post by Ji-Hyeon Gim
AFAIR, I finally downgraded glusterfs to a previous version(3.12.11).
I'm sorry I could not have been of much help.
Post by Christos Tsalidis
Hi,
I recreated as you said, but problem remains. Any other suggestion to make?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:48 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
My configuration is same too :)
Did you try to restart samba again?
If that doesn't work, I suggest re-create volume freshly.
When I met this problem, I guess I've deleted my volume and create it again.
Post by Christos Tsalidis
Hi,
yes this package is also downgraded, you can see it here.
samba-common-libs-4.7.1-6.el7.x86_64
samba-client-libs-4.7.1-6.el7.x86_64
samba-common-tools-4.7.1-6.el7.x86_64
samba-vfs-glusterfs-4.7.1-6.el7.x86_64
samba-common-4.7.1-6.el7.noarch
samba-libs-4.7.1-6.el7.x86_64
samba-4.7.1-6.el7.x86_64
And here also my smb.conf
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
Can you show me your smb.conf? Does it look like the same?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
Oh, Did you downgraded with samba-vfs-glusterfs package?
Post by Christos Tsalidis
Hi,
I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still
problem
Post by Christos Tsalidis
Post by Christos Tsalidis
hasn't been resolved.
Which is the version that you used to downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos Tsalidis
Hi,
thanks for your reply! What is the version which you
used to
Post by Christos Tsalidis
Post by Christos Tsalidis
downgrade?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η Ji-Hyeon Gim
Hello!
When I downgraded samba and samba-vfs-gluster, It
worked
Post by Christos Tsalidis
well.
Post by Christos Tsalidis
If you are in a hurry, I recommend you to
downgrade these
Post by Christos Tsalidis
Post by Christos Tsalidis
packages.
Post by Christos Tsalidis
Hi all,
I am testing the glusterfs 3.12.14 version on
CentOS Linux
Post by Christos Tsalidis
Post by Christos Tsalidis
release
Post by Christos Tsalidis
7.5.1804 and when I try to write a file using a
samba
Post by Christos Tsalidis
client
Post by Christos Tsalidis
I get
Post by Christos Tsalidis
'Permission denied'. Below I give the output and
my
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
configuration.
Post by Christos Tsalidis
Filesystem
1K-blocks Used
Post by Christos Tsalidis
Post by Christos Tsalidis
Available Use%
Post by Christos Tsalidis
Mounted on
/dev/mapper/centos-root 6486016
1199008
Post by Christos Tsalidis
Post by Christos Tsalidis
5287008 19% /
Post by Christos Tsalidis
devtmpfs
495892 0
Post by Christos Tsalidis
Post by Christos Tsalidis
495892 0%
Post by Christos Tsalidis
/dev
tmpfs
507736 0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/dev/shm
tmpfs
507736 6828
Post by Christos Tsalidis
Post by Christos Tsalidis
500908 2%
Post by Christos Tsalidis
/run
tmpfs
507736 0
Post by Christos Tsalidis
Post by Christos Tsalidis
507736 0%
Post by Christos Tsalidis
/sys/fs/cgroup
/dev/sda1 1038336
161940
Post by Christos Tsalidis
Post by Christos Tsalidis
876396 16%
Post by Christos Tsalidis
/boot
tmpfs
101548 0
Post by Christos Tsalidis
Post by Christos Tsalidis
101548 0%
Post by Christos Tsalidis
/run/user/1000
//servera.lab.local/gluster-mastervol
2076672 66720
Post by Christos Tsalidis
Post by Christos Tsalidis
2009952 4%
Post by Christos Tsalidis
/mnt/smbdata
file00 file01 file02 file03 file04 file05
file06 file07
Post by Christos Tsalidis
Post by Christos Tsalidis
file08 file09 file10
Permission
Post by Christos Tsalidis
denied
Post by Christos Tsalidis
Post by Christos Tsalidis
[gluster-mastervol]
comment = For samba share of volume mastervol
vfs objects = glusterfs
glusterfs:volume = mastervol
glusterfs:logfile =
/var/log/samba/glusterfs-mastervol.%M.log
Post by Christos Tsalidis
Post by Christos Tsalidis
glusterfs:loglevel = 7
path = /
read only = no
kernel share modes = No
● smb.service - Samba SMB Daemon
Loaded: loaded
(/usr/lib/systemd/system/smb.service; enabled;
Post by Christos Tsalidis
Post by Christos Tsalidis
vendor preset: disabled)
Active: active (running) since Wed 2018-10-10
10:51:42
Post by Christos Tsalidis
Post by Christos Tsalidis
CEST; 5min ago
Post by Christos Tsalidis
Main PID: 3078 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─3078 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3080 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3081 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
├─3082 /usr/sbin/smbd --foreground
--no-process-group
Post by Christos Tsalidis
Post by Christos Tsalidis
└─3096 /usr/sbin/smbd --foreground
--no-process-group
Starting
Post by Christos Tsalidis
Samba
Post by Christos Tsalidis
SMB Daemon...
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:51:42.014539, 0]
../lib/util/become_daemon.c:124(daemon_ready)
Started
Post by Christos Tsalidis
Samba
Post by Christos Tsalidis
SMB Daemon.
STATUS=daemon 'smbd'
Post by Christos Tsalidis
finished starting up and ready to serve
connections
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:52:06.741897, 0]
../source3/modules/vfs_
glusterfs.c:371(vfs_...nnect)
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
mastervol: Initialized volume from servers
localhost
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
[2018/10/10
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
10:52:09.812596, 0]
../source3/modules/vfs_
glusterfs.c:371(vfs_...nnect)
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
mastervol: Initialized volume from servers
localhost
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
Hint: Some lines were ellipsized, use -l to show
in full.
'gluster|samba'
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
Post by Christos Tsalidis
glusterfs-client-xlators-3.12.14-1.el7.x86_64
glusterfs-api-3.12.14-1.el7.x86_64
glusterfs-fuse-3.12.14-1.el7.x86_64
glusterfs-server-3.12.14-1.el7.x86_64
samba-common-tools-4.7.1-9.el7_5.x86_64
samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
samba-winbind-4.7.1-9.el7_5.x86_64
centos-release-gluster312-1.0-2.el7.centos.noarch
glusterfs-libs-3.12.14-1.el7.x86_64
glusterfs-3.12.14-1.el7.x86_64
glusterfs-cli-3.12.14-1.el7.x86_64
glusterfs-gnfs-3.12.14-1.el7.x86_64
samba-common-4.7.1-9.el7_5.noarch
samba-common-libs-4.7.1-9.el7_5.x86_64
samba-client-libs-4.7.1-9.el7_5.x86_64
samba-libs-4.7.1-9.el7_5.x86_64
samba-4.7.1-9.el7_5.x86_64
samba-winbind-modules-4.7.1-9.el7_5.x86_64
samba-winbind-clients-4.7.1-9.el7_5.x86_64
Any idea how I can solve this problem?
Thanks in advance!
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Post by Christos Tsalidis
Post by Christos Tsalidis
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Christos Tsalidis
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead
man was
Post by Christos Tsalidis
eager
Post by Christos Tsalidis
to see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
Post by Christos Tsalidis
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was
eager to
Post by Christos Tsalidis
see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to
see yesterday.
- Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see
yesterday.
Post by Ji-Hyeon Gim
- Sophocles
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles
Ji-Hyeon Gim
2018-10-11 18:33:30 UTC
Permalink
Yep!

I, too, had the same problem and I hope to help for you.

If you continue to resolve this problem, just let me know.

Thanks!
Post by Christos Tsalidis
Hi,
thanks a lot for your help. I didn't have time to continue my
investigation, but I will try to do it at some point. If I find
something I will let you know.
BR
Στις ΠέΌπτη, 11 Οκτωβρίου 2018, ο χρήστης Ji-Hyeon Gim
Hello!
How are your problem?
If I can help you, I want to help you! :)
Post by Ji-Hyeon Gim
AFAIR, I finally downgraded glusterfs to a previous
version(3.12.11).
Post by Ji-Hyeon Gim
I'm sorry I could not have been of much help.
Post by Christos Tsalidis
Hi,
I recreated as you said, but problem remains. Any other
suggestion to
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
make?
Thanks in advance!
Στις ΀ετ, 10 Οκτ 2018 στις 12:48 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
     My configuration is same too :)
     Did you try to restart samba again?
     If that doesn't work, I suggest re-create volume freshly.
     When I met this problem, I guess I've deleted my volume and
create
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     it again.
     > Hi,
     >
     > yes this package is also downgraded, you can see it here.
     >
     >
     > samba-common-libs-4.7.1-6.el7.x86_64
     > samba-client-libs-4.7.1-6.el7.x86_64
     > samba-common-tools-4.7.1-6.el7.x86_64
     > samba-vfs-glusterfs-4.7.1-6.el7.x86_64
     > samba-common-4.7.1-6.el7.noarch
     > samba-libs-4.7.1-6.el7.x86_64
     > samba-4.7.1-6.el7.x86_64
     >
     > And here also my smb.conf
     >
     >
     > [gluster-mastervol]
     > comment = For samba share of volume mastervol
     > vfs objects = glusterfs
     > glusterfs:volume = mastervol
     > glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log
     > glusterfs:loglevel = 7
     > path = /
     > read only = no
     > kernel share modes = No
     >
     > Can you show me your smb.conf? Does it look like the same?
     >
     > Thanks in advance!
     >
     > Στις ΀ετ, 10 Οκτ 2018 στις 12:38 ÎŒ.ÎŒ., ο/η Ji-Hyeon Gim
     >
     >     Oh, Did you downgraded with samba-vfs-glusterfs package?
     >
     >     > Hi,
     >     >
     >     > I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and
still
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     problem
     >     > hasn't been resolved.
     >     > Which is the version that you used to downgrade?
     >     >
     >     > Thanks in advance!
     >     >
     >     > Στις ΀ετ, 10 Οκτ 2018 στις 12:20 ÎŒ.ÎŒ., ο/η Christos
Tsalidis
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >
     >     >     Hi,
     >     >
     >     >     thanks for your reply! What is the version
which you
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     used to
     >     >     downgrade?
     >     >
     >     >     Thanks in advance!
     >     >
     >     >
     >     >     Στις ΀ετ, 10 Οκτ 2018 στις 11:40 π.ÎŒ., ο/η
Ji-Hyeon Gim
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >
     >     >         Hello!
     >     >
     >     >         When I downgraded samba and
samba-vfs-gluster, It
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     worked
     >     well.
     >     >
     >     >         If you are in a hurry, I recommend you to
     downgrade these
     >     >         packages.
     >     >
     >     >
     >     >         > Hi all,
     >     >         >
     >     >         > I am testing the glusterfs 3.12.14 version on
     CentOS Linux
     >     >         release
     >     >         > 7.5.1804 and when I try to write a file
using a
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     samba
     >     client
     >     >         I get
     >     >         > 'Permission denied'. Below I give the
output and my
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         configuration.
     >     >         >
     >     >         >
     >     >         > Filesystem                           
     1K-blocks    Used
     >     >         Available Use%
     >     >         > Mounted on
     >     >         > /dev/mapper/centos-root                
6486016
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     1199008  
     >     >         5287008  19% /
     >     >         > devtmpfs                                
     495892       0   
     >     >         495892   0%
     >     >         > /dev
     >     >         > tmpfs                                   
     507736       0   
     >     >         507736   0%
     >     >         > /dev/shm
     >     >         > tmpfs                                   
     507736    6828   
     >     >         500908   2%
     >     >         > /run
     >     >         > tmpfs                                   
     507736       0   
     >     >         507736   0%
     >     >         > /sys/fs/cgroup
     >     >         > /dev/sda1                              
1038336 
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     161940   
     >     >         876396  16%
     >     >         > /boot
     >     >         > tmpfs                                   
     101548       0   
     >     >         101548   0%
     >     >         > /run/user/1000
     >     >         > //servera.lab.local/gluster-mastervol  
     2076672   66720  
     >     >         2009952   4%
     >     >         > /mnt/smbdata
     >     >         > file00  file01  file02  file03  file04 
file05 
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     file06  file07 
     >     >         > file08  file09  file10
     >     >         >
     >     >         >
/mnt/smbdata/file11
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     Permission
     >     denied
     >     >         >
     >     >         >
     >     >         > [gluster-mastervol]
     >     >         > comment = For samba share of volume mastervol
     >     >         > vfs objects = glusterfs
     >     >         > glusterfs:volume = mastervol
     >     >         > glusterfs:logfile =
     >     /var/log/samba/glusterfs-mastervol.%M.log
     >     >         > glusterfs:loglevel = 7
     >     >         > path = /
     >     >         > read only = no
     >     >         > kernel share modes = No
     >     >         >
     >     >         >
     >     >         > ● smb.service - Samba SMB Daemon
     >     >         >    Loaded: loaded
     >     (/usr/lib/systemd/system/smb.service; enabled;
     >     >         > vendor preset: disabled)
     >     >         >    Active: active (running) since Wed
2018-10-10
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     10:51:42
     >     >         CEST; 5min ago
     >     >         >  Main PID: 3078 (smbd)
     >     >         >    Status: "smbd: ready to serve
connections..."
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         >    CGroup: /system.slice/smb.service
     >     >         >            ├─3078 /usr/sbin/smbd --foreground
     >     --no-process-group
     >     >         >            ├─3080 /usr/sbin/smbd --foreground
     >     --no-process-group
     >     >         >            ├─3081 /usr/sbin/smbd --foreground
     >     --no-process-group
     >     >         >            ├─3082 /usr/sbin/smbd --foreground
     >     --no-process-group
     >     >         >            └─3096 /usr/sbin/smbd --foreground
     >     --no-process-group
     >     >         >
     Starting
     >     Samba
     >     >         SMB Daemon...
     [2018/10/10
     >     >         > 10:51:42.014539,  0]
     >     >         ../lib/util/become_daemon.c:124(daemon_ready)
     Started
     >     Samba
     >     >         SMB Daemon.
     >     >         > Oct 10 10:51:42 servera.lab.local
smbd[3078]:  
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         STATUS=daemon 'smbd'
     >     >         > finished starting up and ready to serve
connections
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     [2018/10/10
     >     >         > 10:52:06.741897,  0]
     >     >       
 ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > Oct 10 10:52:06 servera.lab.local
smbd[3085]:  
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > mastervol: Initialized volume from
servers localhost
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     [2018/10/10
     >     >         > 10:52:09.812596,  0]
     >     >       
 ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > Oct 10 10:52:09 servera.lab.local
smbd[3096]:  
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > mastervol: Initialized volume from
servers localhost
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > Hint: Some lines were ellipsized, use -l
to show
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     in full.
     >     >         >
     >     >         >
     >     >         >
'gluster|samba'
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > glusterfs-client-xlators-3.12.14-1.el7.x86_64
     >     >         > glusterfs-api-3.12.14-1.el7.x86_64
     >     >         > glusterfs-fuse-3.12.14-1.el7.x86_64
     >     >         > glusterfs-server-3.12.14-1.el7.x86_64
     >     >         > samba-common-tools-4.7.1-9.el7_5.x86_64
     >     >         > samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64
     >     >         > samba-winbind-4.7.1-9.el7_5.x86_64
     >     >         >
centos-release-gluster312-1.0-2.el7.centos.noarch
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > glusterfs-libs-3.12.14-1.el7.x86_64
     >     >         > glusterfs-3.12.14-1.el7.x86_64
     >     >         > glusterfs-cli-3.12.14-1.el7.x86_64
     >     >         > glusterfs-gnfs-3.12.14-1.el7.x86_64
     >     >         > samba-common-4.7.1-9.el7_5.noarch
     >     >         > samba-common-libs-4.7.1-9.el7_5.x86_64
     >     >         > samba-client-libs-4.7.1-9.el7_5.x86_64
     >     >         > samba-libs-4.7.1-9.el7_5.x86_64
     >     >         > samba-4.7.1-9.el7_5.x86_64
     >     >         > samba-winbind-modules-4.7.1-9.el7_5.x86_64
     >     >         > samba-winbind-clients-4.7.1-9.el7_5.x86_64
     >     >         >
     >     >         >
     >     >         > Any idea how I can solve this problem?
     >     >         >
     >     >         > Thanks in advance!
     >     >         >
     >     >         >
_______________________________________________
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >         > Gluster-users mailing list
     >     >         >
     https://lists.gluster.org/mailman/listinfo/gluster-users
<https://lists.gluster.org/mailman/listinfo/gluster-users>
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     >
     >     >         Best regards.
     >     >
     >     >         --
     >     >
     >     >         Ji-Hyeon Gim
     >     >         Research Engineer, Gluesys
     >     >
     >     >         Address. Gluesys R&D Center, 5F, 11-31,
Simin-daero
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >     327beon-gil,
     >     >                  Dongan-gu, Anyang-si,
     >     >                  Gyeonggi-do, Korea
     >     >                  (14055)
     >     >         Phone.   +82-70-8787-1053
     >     >         Fax.     +82-31-388-3261
     >     >         Mobile.  +82-10-7293-8858
     >     >         Website. http://www.potatogim.net/
     >     >
     >     >         The time I wasted today is the tomorrow the
dead
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     man was
     >     eager
     >     >         to see yesterday.
     >     >           - Sophocles
     >     >
     >     Best regards.
     >
     >     --
     >
     >     Ji-Hyeon Gim
     >     Research Engineer, Gluesys
     >
     >     Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     >              Dongan-gu, Anyang-si,
     >              Gyeonggi-do, Korea
     >              (14055)
     >     Phone.   +82-70-8787-1053
     >     Fax.     +82-31-388-3261
     >     Mobile.  +82-10-7293-8858
     >     Website. http://www.potatogim.net/
     >
     >     The time I wasted today is the tomorrow the dead man was
     eager to
     >     see yesterday.
     >       - Sophocles
     >
     Best regards.
     --
     Ji-Hyeon Gim
     Research Engineer, Gluesys
     Address. Gluesys R&D Center, 5F, 11-31, Simin-daero
327beon-gil,
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
              Dongan-gu, Anyang-si,
              Gyeonggi-do, Korea
              (14055)
     Phone.   +82-70-8787-1053
     Fax.     +82-31-388-3261
     Mobile.  +82-10-7293-8858
     Website. http://www.potatogim.net/
     The time I wasted today is the tomorrow the dead man was
eager to
Post by Ji-Hyeon Gim
Post by Christos Tsalidis
     see yesterday.
       - Sophocles
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
          Dongan-gu, Anyang-si,
          Gyeonggi-do, Korea
          (14055)
Phone.   +82-70-8787-1053
Fax.     +82-31-388-3261
Mobile.  +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager
to see yesterday.
Post by Ji-Hyeon Gim
   - Sophocles
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
<https://lists.gluster.org/mailman/listinfo/gluster-users>
Best regards.
--
Ji-Hyeon Gim
Research Engineer, Gluesys
Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
         Dongan-gu, Anyang-si,
         Gyeonggi-do, Korea
         (14055)
Phone.   +82-70-8787-1053
Fax.     +82-31-388-3261
Mobile.  +82-10-7293-8858
Website. http://www.potatogim.net/
The time I wasted today is the tomorrow the dead man was eager to see yesterday.
  - Sophocles
Best regards.

--

Ji-Hyeon Gim
Research Engineer, Gluesys

Address. Gluesys R&D Center, 5F, 11-31, Simin-daero 327beon-gil,
Dongan-gu, Anyang-si,
Gyeonggi-do, Korea
(14055)
Phone. +82-70-8787-1053
Fax. +82-31-388-3261
Mobile. +82-10-7293-8858
E-Mail. ***@potatogim.net
Website. http://www.potatogim.net/

The time I wasted today is the tomorrow the dead man was eager to see yesterday.
- Sophocles

Loading...