Hi,
thanks for your reply! What is the version which you used to downgrade?
Thanks in advance!
Στις Τετ, 10 Οκτ 2018 στις 11:40 π.μ., ο/η Ji-Hyeon Gim <potatogim@xxxxxxxxxxxxx> έγραψε:
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.
On 10/10/18 5:58 PM, Christos Tsalidis wrote:
> 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.
>
>
> [root@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
> [root@workstation ~]# ls /mnt/smbdata/
> file00 file01 file02 file03 file04 file05 file06 file07
> file08 file09 file10
>
> [root@workstation ~]# cat /mnt/smbdata/file00
>
> [root@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
>
>
> [root@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.
>
>
>
> [root@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!
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> 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@xxxxxxxxxxxxx
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 Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users