Bug 1619108

Summary: [Samba] Unable to create files and directories in the root path of a smb mount in windows client
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: sambaAssignee: Anoop C S <anoopcs>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: amukherj, anoopcs, apaladug, rhs-smb, sankarshan, sheggodu, support
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.7.5-110.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 06:56:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1503137    

Description Vivek Das 2018-08-20 06:21:49 UTC
Description of problem:
After upgrading to glusterfs-3.12.2-16.el7rhgs.x86_64 build, creation of data on the root path of smb mount over a windows client fails with "file too large for the destination file system" error.

Version-Release number of selected component (if applicable):
glusterfs-3.12.2-16.el7rhgs.x86_64
samba-4.7.5-107.el7rhgs.x86_64
Windows 10
Windows 8

How reproducible:
Always

Steps to Reproduce:
1. Upgrade to glusterfs-3.12.2-16.el7rhgs.x86_64
2. Mount smb in windows client using net use command
3. Try to create a directory or file in the root path of the mount
eg: mkdir test | right click New Folder etc

Actual results:
Fails

Expected results:
Should create data successfully

Additional info:

Comment 10 errata-xmlrpc 2018-09-04 06:56:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2613

Comment 11 Gelber 2019-01-18 19:59:48 UTC
Hi I am still experiencing the same issue as referenced by the OP. Here are the packages I have installed.

samba-vfs-glusterfs-4.8.3-4
samba-client-libs-4.8.3-4
samba-winbind-modules-4.8.3-4
samba-client-4.8.3-4
samba-common-4.8.3-4
samba-winbind-clients-4.8.3-4
samba-common-libs-4.8.3-4
samba-common-tools-4.8.3-4
samba-4.8.3-4
samba-libs-4.8.3-4
samba-winbind-4.8.3-4
samba-winbind-krb5-locator-4.8.3-4
glusterfs-server-5.2-1
samba-vfs-glusterfs-4.8.3-4


Trying from windows 10 and cannot make files/folders in the root of the share. Works fines if its in a directory below the root of the share.

Comment 12 Anoop C S 2019-01-21 06:05:25 UTC
(In reply to Gelber from comment #11)
> Hi I am still experiencing the same issue as referenced by the OP. Here are
> the packages I have installed.
> 
> samba-vfs-glusterfs-4.8.3-4
> samba-client-libs-4.8.3-4
> samba-winbind-modules-4.8.3-4
> samba-client-4.8.3-4
> samba-common-4.8.3-4
> samba-winbind-clients-4.8.3-4
> samba-common-libs-4.8.3-4
> samba-common-tools-4.8.3-4
> samba-4.8.3-4
> samba-libs-4.8.3-4
> samba-winbind-4.8.3-4
> samba-winbind-krb5-locator-4.8.3-4
> glusterfs-server-5.2-1
> samba-vfs-glusterfs-4.8.3-4

I hope these versions stem from a CentOS installation.

This is Red Hat Gluster Storage(RHGS) product specific bug report which is maintained separately. GlusterFS and Samba package versions need not match what you receive from CentOS channel and/or mirrors.

Upstream bug is fixed from following versions:
v4-7 - v4.7.11 onwards
v4-8 - v4.8.6 onwards
v4-9 - all versions