[Gluster-users] Directory Healing not possible

Diego Ercolani diego.ercolani at ssis.sm
Tue Jul 5 08:55:33 UTC 2022


Thank you very much, 
for now I resolved with a controlled "gluster volume replace-brick" of on of 
the two "replica" brick. This seemed have resolved the issue.
In my situation the problem is also that the data structure of the filesystem 
is mostly unknown as is "housekeeped" by oVirt that have a self-unreadable 
data organization...
I'll read the documentation you addressed me hoping in the future would help.
In data lunedì 4 luglio 2022 23:15:00 CEST, hai scritto:
> Hi Diego,
> 
> the first step is to identify the situation.
> 
> 'gluster volume heal VOLUME info' will give you a short overview.
> Obviously , you can check for split-brains (which should not happen) via:
> gluster volume heal VOLUME info split-brain
> 
> Before going forward, I would give a simple "stat
> /rhev/data-center/mnt/glusterSD/<host>:_<VOLUME>/path/to/file/or/dir" and
> check if that will move the things forward.
> 
> Let's assume that the 'stat' didn't helped and no split-brains are observed.
> 
> 
> You will have to map the gfids (if they are not resolved) to the actual
> brick files/dirs. Mount the volume with the aux-gfid-mount option
> (https://docs.gluster.org/en/latest/Troubleshooting/gfid-to-path/#analysis-> of-the-output) and then you can find the real path on the bricks via
> https://docs.gluster.org/en/latest/Troubleshooting/gfid-to-path/#get-file-p
> ath-from-gfid-method-2 .
> 
> A very nice article on the heal Xlator can be found at
> https://ravispeaks.wordpress.com/2019/04/05/glusterfs-afr-the-complete-guid
> e/ . Most probably you will focus on the troubleshooting section (
> https://ravispeaks.wordpress.com/2019/05/14/gluster-afr-the-complete-guide-> part-3/ ).
> 
> Best Regards,
> Strahil Nikolov


-- 
Ing. Diego Ercolani
S.S.I.S. s.p.a.
T. 0549-875910



More information about the Gluster-users mailing list