On 10/14/2015 10:05 PM, Игорь Бирюлин
wrote:
Thanks for your replay.
If I do listing in mount point (/repo):
# ls /repo/xxx/keyrings/debian-keyring.gpg
ls: cannot access /repo/xxx/keyrings/debian-keyring.gpg:
Input/output error
#
In log /var/log/glusterfs/repo.log I see:
[2015-10-14 16:27:36.006815] W [MSGID: 108008]
[afr-self-heal-name.c:359:afr_selfheal_name_gfid_mismatch_check]
0-repofiles-replicate-0: GFID mismatch for
<gfid:4a99bf9d-7423-47d9-a09d-fabaa333eccf>/debian-keyring.gpg
69aaeee6-624b-400a-aa46-b5c6166c014c on repofiles-client-1 and
b95ad06e-786a-44e5-ba71-af661982071f on repofiles-client-0
So the file has ended up in GFID split-brain (The trusted.gfid value
is different in both bricks as seen in your output below.), which
cannot be handled by the split-brain resolution commands. These
commands can only resolve data and metadata split-brain. I'm afraid
you'll manually need to delete one of the file and the .glusterfs
hardlink from the brick. Not sure why the parent-directory was not
listed in 'gluster v heal VOLNAME info split-brain' output.
[2015-10-14 16:27:36.008996] W
[fuse-bridge.c:451:fuse_entry_cbk] 0-glusterfs-fuse: 65961:
LOOKUP() /xxx/keyrings/debian-keyring.gpg => -1
(Input/output error)
On first node getfattr return:
# getfattr -d -m . -e hex
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
getfattr: Removing leading '/' from absolute path names
# file:
storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
trusted.afr.dirty=0x000000000000000000000000
trusted.afr.repofiles-client-1=0x000000020000000100000000
trusted.bit-rot.version=0x020000000000000055fdf0910003b37b
trusted.gfid=0xb95ad06e786a44e5ba71af661982071f
# ls -l
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
-rw-r--r-- 2 root root 3456271 Oct 13 19:00
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
#
On second node getfattr return:
# getfattr -d -m . -e hex
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
getfattr: Removing leading '/' from absolute path names
# file:
storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
trusted.afr.dirty=0x000000000000000000000000
trusted.afr.repofiles-client-0=0x000000000000000000000000
trusted.bit-rot.version=0x020000000000000055f97b57000dc3c6
trusted.gfid=0x69aaeee6624b400aaa46b5c6166c014c
# ls -l
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
-rw-r--r-- 2 root root 3450346 Oct 9 16:22
/storage/gluster_brick_repofiles/xxx/keyrings/debian-keyring.gpg
#
Best regards,
Igor
|
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users