Bug 1140660
Summary: | DHT + rename + rebalance :- after rename and rebalance is completed many Directories and data inside it is not accessible from mount | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachana Patel <racpatel> | ||||
Component: | distribute | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | amainkar | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rhgs-3.0 | CC: | nsathyan, rgowdapp, ssaha, ssamanta | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-20 06:19:15 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: | |||||||
Attachments: |
|
Description
Rachana Patel
2014-09-11 12:59:14 UTC
Created attachment 936537 [details]
gfid_of_dir
This is a good catch but as this is intermittent and more of a data unavailability rather than a data loss we'll target this for 3.0.2. This seems to be the same problem of lookup healing the src and dest of a rename. From the ls output we see dir101, dir36 and dir37 on root. This is most likely because of src being healed during mv. As far as the observation that dir36 and dir37 having different gfid goes, the comparision should be b/w 1. /dir36 and /dir101/dir100/dir99/.../dir38/dir37 2. /dir37 and /dir101/dir100/dir99/.../dir39/dir38 From data attached with this bug, we don't have gfids for /dir36 and /dir37. Do we still have that data? Also from the gfids attached we can find: lrwxrwxrwx 1 root root 54 Sep 10 20:48 /brick0/n13/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir36 lrwxrwxrwx 1 root root 54 Sep 10 20:48 /brick0/n14/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir36 lrwxrwxrwx 1 root root 54 Sep 10 21:07 /brick0/n15/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir36 lrwxrwxrwx 1 root root 54 Sep 10 21:07 /brick0/n16/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir36 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/n3/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344/dir36 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/n8/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344/dir36 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/screw3/.glusterfs/bc/03/bc0357fd-89c2-451e-bb3b-5f64ce30cdf6 -> ../../01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344/dir36 As can be seen, as per gfid namespace, dir36 is having two different parents root and /dir101/dir99/.../dir38/dir37 on different bricks. This is most likely a heal during mv 36 /dir101/.../dir37 Another similar case is dir37 which also has parents root and /dir101/dir99/.../dir38 as can be seen below: lrwxrwxrwx 1 root root 54 Sep 10 20:48 /brick0/n13/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir37 lrwxrwxrwx 1 root root 54 Sep 10 20:48 /brick0/n14/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir37 lrwxrwxrwx 1 root root 54 Sep 10 21:05 /brick0/n15/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir37 lrwxrwxrwx 1 root root 54 Sep 10 21:05 /brick0/n16/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../00/00/00000000-0000-0000-0000-000000000001/dir37 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/n3/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../59/1e/591e6ab3-5832-4a8b-aa2f-1e576bf16415/dir37 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/n8/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../59/1e/591e6ab3-5832-4a8b-aa2f-1e576bf16415/dir37 lrwxrwxrwx 1 root root 54 Sep 10 20:31 /brick0/screw3/.glusterfs/01/cf/01cf21d8-e12e-41e0-a968-d2389f1aa344 -> ../../59/1e/591e6ab3-5832-4a8b-aa2f-1e576bf16415/dir37 *** Bug 1140167 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1139676 *** |