Bug 990204

Summary: " Kernel oplocks= no" in smb.conf leads to "Not enough space in disk"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Susant Kumar Palai <spalai>
Component: sambaAssignee: Raghavendra Talur <rtalur>
Status: CLOSED ERRATA QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: crh, rtalur, surs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 22:32:16 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: 956495    

Description Susant Kumar Palai 2013-07-30 14:49:26 UTC
Description of problem:

When smb.conf has the option kernel oplocks = no , saving a file on gluster volume from a windows client results in a error with message
"There is not enough space in disk".

How reproducible:
always

Steps to Reproduce:
1.create a Folder 
2.create a new text file in the folder created
3.rename the text file to any other name 
4.open and edit the text file in notepad
5.Hit Ctrl+S for save and you will see the issue

Expected results:
We should be able to save the file.

Comment 2 Christopher R. Hertel 2013-08-07 22:26:18 UTC
Request from Chris:
Please add a comment to indicate what was done to fix the reported problem.

Request from Program Management:

This bug is in the ON_QA state and is still flagged for rhs-future.  I'm assuming that this is addressed in Big Bend.  If so, please fill in the Internal Whiteboard and apply the appropriate flags, and ack accordingly.

Comment 4 Raghavendra Talur 2013-08-08 11:10:44 UTC
Patches 

https://code.engineering.redhat.com/gerrit/#/c/11034/
https://code.engineering.redhat.com/gerrit/#/c/11035/

fix this bug. Patches have been merged downstream on Aug2 2013.

Comment 6 Ujjwala 2013-08-08 12:40:36 UTC
Verified on the build - 
glusterfs 3.4.0.18rhs built on Aug  7 2013 08:02:42
samba-glusterfs-3.6.9-156.2.el6rhs.x86_64

Works fine.

Comment 8 Scott Haines 2013-09-23 22:32:16 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html