Bug 1371811 - Failing to create the directory in the fuse mount
Summary: Failing to create the directory in the fuse mount
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: fuse
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Csaba Henk
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 07:47 UTC by Byreddy
Modified: 2018-04-16 18:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 18:17:38 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Byreddy 2016-08-31 07:47:40 UTC
Description of problem:
=======================
When i tried to recreate the deleted directory, it's failing with the below error message using the reproducing steps mentioned 

[root@ mnt]# ls
[root@ mnt]# 
[root@ mnt]# mkdir abc
mkdir: cannot create directory ‘abc’: File exists
[root@dhcp41-229 mnt]# 


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.9-12.el7rhgs.x86_64


How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Have one or two nodes cluster and two fuse clients
2. Create two distribute volumes ( vol1 and vol2) and start it.
3. fuse mount the vol1  on client1 using "/mnt" moint point ( v1 -> /mnt ) 
4. Create a "abc" directory inside the fuse mount point (/mnt ) -> /mnt/abc
5. fuse mount the "vol2" on client1 using "/mnt/abc" mount point
6. Again fuse mount the "vol1" on client2 using "/mnt" mount point ( v1 -> /mnt )
5. Now on client2, delete the "abc" directory inside the /mnt 
6. Now on client1, try to recreate the "abc" directory inside /mnt  // it will fail

Actual results:
===============
Failing to create directory in the fuse mount


Expected results:
=================
-


Additional info:
================
deleted directory "abc" does not present in the "vol1" bricks"

Comment 3 Byreddy 2016-08-31 07:59:50 UTC
This scenario is  based on  - https://www.gluster.org/pipermail/gluster-users/2016-August/028196.html


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