Bug 1260479 - DHT:While removing the brick, rebalance is trying to migrate files to the brick which doesn't have space due to this migration is failing
DHT:While removing the brick, rebalance is trying to migrate files to the bri...
Status: NEW
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute (Show other bugs)
3.1
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nithya Balachandran
storage-qa-internal@redhat.com
dht-rebalance-usability, dht-brick-fu...
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-07 00:35 EDT by RajeshReddy
Modified: 2017-08-08 04:53 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description RajeshReddy 2015-09-07 00:35:15 EDT
Description of problem:
=========================
While removing the brick, Rebalance is trying to migrate files from decommissioned brick to the brick which doesn't have enough space and due to this migration is failing  

Version-Release number of selected component (if applicable):
==========================
glusterfs-server-3.7.1-13


Steps to Reproduce:
=====================
1. Create distributed volume with three bricks such that one brick has has less space and another two has more (say 10 G, 200G & 200G)
2. Once the brick is full, link files will be created on brick which has less space and data file will be on brick which has more space
3. Now remove the brick which has data files and as par of this re-balance is trying to migrate the files to the brick which has less space and due to this migration is failing 

Actual results:
================
While migrating the files to other bricks it is good to select target brick based on available space 

Notes:
============

[root@rhs-client9 ~]# gluster vol status dht10
Status of volume: dht10
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick rhs-client9.lab.eng.blr.redhat.com:/r
hs/brick1/dht10                             49181     0          Y       8840 
Brick rhs-client39.lab.eng.blr.redhat.com:/
rhs/brick10/dht10                           49173     0          Y       9645 
Brick rhs-client39.lab.eng.blr.redhat.com:/
rhs/brick1/dht10                            49174     0          Y       9663 
NFS Server on localhost                     2049      0          Y       32216
NFS Server on rhs-client39.lab.eng.blr.redh
at.com                                      2049      0          Y       18874
 
Task Status of Volume dht10
------------------------------------------------------------------------------
Task                 : Remove brick        
ID                   : 5908c287-47df-4662-8f56-a93ed7241f41
Removed bricks:     
rhs-client9.lab.eng.blr.redhat.com:/rhs/brick1/dht10
Status               : completed

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