Description of problem: layout is missing when add-brick is done,new created files only locate on old bricks Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.create a new volume and touch a few files at client. 2.do add-brick to add some bricks 3.stat the creaeted files and touch some new files. Actual results: no dht-link found on the new brick, and the new created files only located on old bricks. use getfattr to check the bricks path,layout is still missing without fixed. Expected results: we could use the new created bricks immediately when add-brick is done. Additional info:
This is the expected behaviour with Distribute volumes 1. When you add a new brick to the distribute volume, you need to do "fix-layout", to make use of newly added brick. (i.e) gluster volume rebalance <vol-name> fix-layout start The above command fixes the layout and new brick will be used for consumption 2. If you trigger rebalance, that triggers the fix-layout and then migrates the old files also (i.e) gluster volume rebalance <vol-name> start Considering the above, moving this bug as NOT-A-BUG