[Gluster-users] heal info report a gfid
Jesper Led Lauridsen TS Infra server
JLY at dr.dk
Thu May 19 09:19:33 UTC 2016
Hi,
I have a replicated volume where "gluster volume heal <volume> info" reports a GFID only on one of the bricks.
The GFID referees to this file, but I can't locate the file on the brick located on glustertst01 or on a mounted volume
File = /bricks/brick1/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task
How do I solve this?
# gluster volume info glu_rhevtst_dr2_data_01
Brick5: glustoretst01.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01
Brick6: glustoretst02.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01
# gluster volume heal glu_rhevtst_dr2_data_01 info split-brain
Brick glustoretst01.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01
Number of entries: 0
Brick glustoretst02.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01
Number of entries: 0
# gluster volume heal glu_rhevtst_dr2_data_01 info
Brick glustertst01.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01/
Number of entries: 0
Brick glustertst02.net.dr.dk:/bricks/brick1/glu_rhevtst_dr2_data_01/
<gfid:325ccd9f-a7f1-4ad0-bfc8-6d4b73930b9f>
Number of entries: 1
# stat /var/run/gluster/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task
stat: cannot stat `/var/run/gluster/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task': No such file or directory
glustertst02 ~]# getfattr -d -m . -e hex /bricks/brick1/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task
getfattr: Removing leading '/' from absolute path names
# file: bricks/brick1/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task
security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000
trusted.afr.glu_rhevtst_dr2_data_01-client-4=0x000000010000000200000000
trusted.afr.glu_rhevtst_dr2_data_01-client-5=0x000000000000000000000000
trusted.gfid=0x325ccd9fa7f14ad0bfc86d4b73930b9f
trusted.glusterfs.dht.linkto=0x676c755f726865767473745f6472325f646174615f30312d7265706c69636174652d3300
trusted.glusterfs.quota.bf0a8e25-e918-4ae3-a947-7971b7b8a372.contri=0x0000000000000000
glustertst01 ~]# getfattr -n "trusted.gfid" -e hex /bricks/brick1/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task
getfattr: /bricks/brick1/glu_rhevtst_dr2_data_01/6bdc67d1-4ae5-47e3-86c3-ef0916996862/master/tasks/ad75ad79-d90f-483d-8061-0ca640ad93d8/ad75ad79-d90f-483d-8061-0ca640ad93d8.task: No such file or directory
Any help appreciated
Thanks
Jesper
More information about the Gluster-users
mailing list