Bug 987327
Summary: | Rebalance : Files missing on mount point after rebalance on Distribute -Replicate volume | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik | |
Component: | distribute | Assignee: | Raghavendra G <rgowdapp> | |
Status: | CLOSED DEFERRED | QA Contact: | Anoop <annair> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 2.1 | CC: | nsathyan, rhs-bugs, rwheeler, spalai, ssaha, surs, vagarwal, vbellur | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1286093 (view as bug list) | Environment: | ||
Last Closed: | 2015-11-27 10:43:24 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1093043, 1286093, 1286585 |
Description
senaik
2013-07-23 09:09:31 UTC
This works as expected in a pure distribute volume. Bug 976755 is tracking the distribute only bug Could you please provide the dump of all the xattrs(all the bricks) of the files that are missing from the mount? [root@jay brick1]# ls -l */files113 ---------T. 2 root root 0 Jul 23 13:54 E2/files113 file: E2/files113 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0xd34689a687f94f46ab0c67957dc7c038 trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ============================================================ [root@jay brick1]# ls -l */files143 ---------T. 2 root root 0 Jul 23 13:54 E2/files143 # file: E2/files143 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x472a391ef9dd4ae68b9d90035317832b trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ===================================================================== [root@jay brick1]# ls -l */files178 ---------T. 2 root root 0 Jul 23 13:54 E2/files178 file: E2/files178 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0xf3138df26a354cb3975a54bc0a9a29a2 trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ==================================================================== [root@jay brick1]# ls -l */files201 ---------T. 2 root root 0 Jul 23 13:54 E2/files201 file: E2/files201 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x6c557eb4152c459681c375a058d7ce7b trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ====================================================================== [root@jay brick1]# ls -l */files259 ---------T. 2 root root 0 Jul 23 13:54 E2/files259 file: E2/files259 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x42599c8016f74f468b6424dcf89c831d trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ====================================================================== [root@jay brick1]# ls -l */files288 ---------T. 2 root root 0 Jul 23 13:54 E2/files288 file: E2/files288 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x6a6d3190d364416faa9761034b9d3ae8 trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ================================================================= [root@jay brick1]# ls -l */files344 ---------T. 2 root root 0 Jul 23 13:54 E2/files344 # file: E2/files344 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x1b22588b535a46ec96d7bdd348b6722d trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ================================================================ [root@jay brick1]# ls -l */files386 ---------T. 2 root root 0 Jul 23 13:54 E2/files386 file: E2/files386 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x1077737010084bdbad3edeeb614cf361 trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ================================================================== [root@jay brick1]# ls -l */files79 ---------T. 2 root root 0 Jul 23 13:53 E2/files79 file: E2/files79 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0x839665ddf0f74b38880fbd351ec5c876 trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 ===================================================================== [root@jay brick1]# ls -l */files86 ---------T. 2 root root 0 Jul 23 13:54 E2/files86 file: E2/files86 security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.Vol4-client-0=0x000000000000000000000000 trusted.afr.Vol4-client-1=0x000000000000000000000000 trusted.gfid=0xd0156f0d1ec84e8bb3688cecb114355b trusted.glusterfs.dht.linkto=0x566f6c342d7265706c69636174652d3200 Please dump the linkto xattrs as text. dht.linkto value is same across all the missing files Below is the text format : trusted.glusterfs.dht.linkto=Vol4-replicate-2 Would a unmount and remount make the files visible again? Shishir , I tried to unmount and remount the volume , files were still not visible . With rebalance (or remove-brick start) operation in progress and one doing a 'rename' (ie, mv command) operations on the files getting rebalanced, we have certain race conditions which are causing this particular bug. This bug existed from day0 of rebalance process, and is not a regression. Development needs time to find out the root cause of this, and then take appropriate action. Hence requesting to take down the 'blocker' flag (please set it back if this comment is not sufficient to agree). Question: How to stop the re-balance process totally. Ans: [Raghavendra G] Currently we start rebalance process automatically only on execution of remove-brick. Otherwise it has to be started manually. So, we don't have to do anything explicitly to "stop" rebalance process if we've not started it ourselves. If there is a rebalance process already running, we can use: # gluster volume rebalance <VOLNAME> [force] stop And the usage format for rebalance command is: [root@unused src]# gluster volume rebalance Usage: volume rebalance <VOLNAME> {{fix-layout start} | {start [force]|stop|status}} |