Bug 1030827 - Remove-brick : link files seen on the mount point after remove-brick operation on a volume
Summary: Remove-brick : link files seen on the mount point after remove-brick operatio...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1286194
TreeView+ depends on / blocked
 
Reported: 2013-11-15 09:18 UTC by Shruti Sampat
Modified: 2015-11-27 12:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1286194 (view as bug list)
Environment:
Last Closed: 2015-11-27 12:22:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Shruti Sampat 2013-11-15 09:18:07 UTC
Description of problem:
------------------------
After performing remove-brick operation on a distribute volume, while data was being written on the mount point, link files were seen at the mount point.

Version-Release number of selected component (if applicable):
glusterfs 3.4.0.42.1u2rhs

How reproducible:
Frequently

Steps to Reproduce:
1. Had a distribute volume with 4 bricks, and fuse mounted it on the client.

[root@rhs ~]# mount | grep /mnt/dis_vol
10.70.37.77:/dis_vol on /mnt/dis_vol type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)

2. Started creating data on the mount point. While data creation was in progress, started removing a brick from the volume - 

# gluster volume remove-brick dis_vol 10.70.37.77:/rhs/brick1/b1 start

3. After data migration was completed, checked the mount point - 

[root@rhs ~]# ls -lh /mnt/dis_vol/
total 30G
-rw-r--r--. 1 root root 1000M Nov 15 05:03 1
-rw-r--r--. 1 root root 1000M Nov 15 05:20 10
-rw-r--r--. 1 root root 1000M Nov 15 05:22 11
-rw-r--r--. 1 root root 1000M Nov 15 05:24 12
-rw-r--r--. 1 root root 1000M Nov 15 05:26 13
-rw-r--r--. 1 root root 1000M Nov 15 05:27 14
-rw-r--r--. 1 root root 1000M Nov 15 05:29 15
-rw-r--r--. 1 root root 1000M Nov 15 05:31 16
-rw-r--r--. 1 root root 1000M Nov 15 05:33 17
-rw-r--r--. 1 root root 1000M Nov 15 05:35 18
---------T. 1 root root     0 Nov 15 05:45 18
-rw-r--r--. 1 root root 1000M Nov 15 05:37 19
---------T. 1 root root     0 Nov 15 05:45 19
-rw-r--r--. 1 root root 1000M Nov 15 05:05 2
-rw-r--r--. 1 root root 1000M Nov 15 05:39 20
-rw-r--r--. 1 root root 1000M Nov 15 05:44 21
-rw-r--r--. 1 root root 1000M Nov 15 05:45 22
-rw-r--r--. 1 root root 1000M Nov 15 05:47 23
-rw-r--r--. 1 root root 1000M Nov 15 05:49 24
-rw-r--r--. 1 root root 1000M Nov 15 05:51 25
-rw-r--r--. 1 root root 1000M Nov 15 05:53 26
-rw-r--r--. 1 root root 1000M Nov 15 05:55 27
-rw-r--r--. 1 root root 1000M Nov 15 05:57 28
-rw-r--r--. 1 root root 1000M Nov 15 05:59 29
-rw-r--r--. 1 root root 1000M Nov 15 05:07 3
-rw-r--r--. 1 root root 1000M Nov 15 06:01 30
-rw-r--r--. 1 root root 1000M Nov 15 05:08 4
---------T. 1 root root     0 Nov 15 05:45 4
-rw-r--r--. 1 root root 1000M Nov 15 05:10 5
-rw-r--r--. 1 root root 1000M Nov 15 05:12 6
-rw-r--r--. 1 root root 1000M Nov 15 05:14 7
---------T. 1 root root     0 Nov 15 05:45 7
-rw-r--r--. 1 root root 1000M Nov 15 05:16 8
-rw-r--r--. 1 root root 1000M Nov 15 05:18 9


Actual results:
Saw link files on the mount point.

Expected results:
Link files should not be seen on the mount point.

Additional info:

Comment 3 Susant Kumar Palai 2015-11-27 12:22:22 UTC
Cloning this to 3.1. To be fixed in future release.


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