Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
Jeremy Allison
jra at samba.org
Tue Sep 1 17:20:06 UTC 2020
On Tue, Sep 01, 2020 at 08:32:47AM -0500, Mahesh Taluru via samba-technical wrote:
> Hi Team,
>
>
>
> I am trying to setup a samba CTDB cluster to export gluster volme as samba
> share. While CTDB cluster works well, I ran into an issue with creating
> subdirectories and also creating files/directories within subdictories when
> accessing the share from both linux and windows servers.
>
>
>
> Setup details :
>
>
>
> We have a three node cluster with nodes snode1, snode2 and snode3. I have a
> gluster volume named smbshare32 exported as samba share using vfs objects =
> glusterfs (libgfapi). When I mount the share on linux, I am able to create
> files/directories in the root of the mount point i.e under /smbshare32.
>
>
>
> [root at sclient1 /]# df -h /smbshare32
>
> Filesystem Size Used Avail Use% Mounted on
>
> //10.4.0.31/gluster-smbshare32 600G 6.1G 594G 2% /smbshare32
>
> [root at sclient1 /]#
>
>
>
> [root at sclient1 /]# cd /smbshare32
>
> [root at sclient1 smbshare32]# ls
>
> [root at sclient1 smbshare32]# mkdir subdir1
>
> [root at sclient1 smbshare32]# touch a
>
> [root at sclient1 smbshare32]# ls
>
> *a* *subdir1*
>
> [root at sclient1 smbshare32]#
>
>
>
> When I switch to subdir1, I cannot create files or directories. Same issue
> happens on windows , but I get a different error message it says “the file
> ‘ ‘ is too large for the destination file system.
Get a debug level 10 log from the connected smbd. That should
make it very clear what is going wrong.
More information about the samba-technical
mailing list