[Gluster-users] How to clear split brain info
ravishankar at redhat.com
Mon Sep 21 09:59:38 UTC 2015
On 09/21/2015 03:09 PM, Davy Croonen wrote:
> Thanks for your quick reply.
> I didn’t solve the split-brain on the file because I don’t know to which directory this gfid is referencing (due to the implementation of our application we have multiple directories containing the same files).
<gfid:3138d605-25ec-4aa9-9069-5db2e4202db4>/Doc1_LOUJA.htm - Is in split-brain.
Directories are symlinked inside the .glusterfs folder on the bricks.
You can `cd
get to the file 'Doc1_LOUJA.htm' and then resolve the split-brain.
> Running the command “getfattr -m . -d -e hex <directory>” against every directory which could be the one didn’t show up the mentioned gfid. But there was one result that didn’t fit the picture, see results below:
> root at gfs01a-dcg:/mnt/public/brick1/provil/Timetable# getfattr -m . -d -e hex h9cnBmEx6j26sgidVKLaZhAqh
> # file: h9cnBmEx6j26sgidVKLaZhAqh
> root at gfs01a-dcg:/mnt/public/brick1/provil/Timetable# getfattr -m . -d -e hex h9cnBmEx6j26sgidVKLaZhAqh1442579382189160
> # file: h9cnBmEx6j26sgidVKLaZhAqh1442579382189160
> On the other hand there is also the possibility that the directory doesn’t even exist anymore because every night there are running some cleanup scripts.
> By the way we are running gluster version 3.6.4.
>> On 21 Sep 2015, at 11:16, Ravishankar N <ravishankar at redhat.com> wrote:
>> On 09/21/2015 02:32 PM, Davy Croonen wrote:
>>> Hi all
>>> For, at the moment a unknown reason, the command "gluster volume heal public info” shows a lot of the following entries:
>>> <gfid:3138d605-25ec-4aa9-9069-5db2e4202db4>/Doc1_LOUJA.htm - Is in split-brain.
>>> The part after the / differs but the gfid is always the same, I suppose this gfid is referring to a directory.
>> Correct, it is the parent directory of the file in question.
>>> Now considering the data this isn’t an issue the files can be or are already deleted, but is there a way to clear these split-brain entries?
>> Did you actually resolve the split-brain on the file ? If you do that, then the entry must disappear from the output of the heal info command.
>>> The command for restarting the self heal daemon “gluster v start public force”, didn’t solve the problem. Any other suggestions?
>> What version of gluster are you running?
>>> Thanks in advance.
>>> Kind regards
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
More information about the Gluster-users