Bug 984447 - Dir rename fails on smb mount
Summary: Dir rename fails on smb mount
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Raghavendra Talur
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks: 956495
TreeView+ depends on / blocked
 
Reported: 2013-07-15 09:26 UTC by Ujjwala
Modified: 2013-09-23 22:32 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0.12rhs.beta5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 22:32:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Ujjwala 2013-07-15 09:26:36 UTC
Description of problem:
Dir rename fails on smb mount on both windows and Linux client. The issue is seen on all volume types - distribute, replicate and dis-rep

Version-Release number of selected component (if applicable):
glusterfs 3.4.0.12rhs.beta3 built on Jul  6 2013 14:35:17


How reproducible:
Always

Steps to Reproduce:
1. Create a volume of any type.
2. SMB mount it on both Linux and Windows client.
3. On linux client, create a dir and try to rename it. It fails with the error, file exists.
root@RHEL6 [Jul-15-2013- 5:09:23] >mkdir test
root@RHEL6 [Jul-15-2013- 5:09:33] >ls test
root@RHEL6 [Jul-15-2013- 5:09:37] >mv test abc
mv: cannot move `test' to `abc': File exists
root@RHEL6 [Jul-15-2013- 5:09:44] >echo $?
1

4. On windows explorer, right click and select new folder. A folder named "New Folder" will be created. Try to rename it. IT errors out with the message: The file or folder does not exist.

Actual results:
The rename operation fails.

Expected results:
Rename should pass.

Additional info:

Comment 3 Christopher R. Hertel 2013-07-21 09:03:48 UTC
Is this related to Bug 981318?

Comment 4 Raghavendra Talur 2013-07-22 11:30:02 UTC
No Chris, it is a different bug.

Comment 5 Ujjwala 2013-07-24 10:25:53 UTC
Verified it on build glusterfs 3.4.0.12rhs.beta5 built on Jul 18 2013 07:00:38
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


Note You need to log in before you can comment on or make changes to this bug.