[Gluster-users] problems with heal.

Alvin Starr alvin at netvel.net
Mon Oct 19 13:48:27 UTC 2020


On 10/19/20 6:02 AM, Łukasz Michalski wrote:
> On 10/19/20 7:29 AM, Ashish Pandey wrote:
>> Hi Alvin,
>>
>> As Yaniv also pointed out, you are running a very old version which 
>> is difficult to debug and support.
>> So,  you should upgrade gluster version if you want to have better 
>> performance and less bug and also good community support.
>>
>> Having said that, I would suggest to use 
>> https://github.com/gluster/glusterfs/blob/devel/tools/gfind_missing_files/gfid_to_path.sh 
>>
>> to find out the real path of all the files/dir coming up in heal info 
>> list  and then accordingly check your data and get it healed.
>>
>> Once your system is back to normal, please upgrade it to latest version.
>>
>> ---
>> Ashish
>>
> I had similar problem with heal of one directory and subdirectories.
>
> The script above did not work for 3.10, I had to use this one:
>
> https://gist.github.com/louiszuckerman/4392640
>
> and execute
>
> find . |xargs stat
>
> on listed top directories in mount point. See:
> https://lists.gluster.org/pipermail/gluster-users/2016-January/024789.html
>
> Regards,
> Łukasz
>
>
Thank you. That seems to work.
The find really should be

"find some_path -print0 | xargs -0 stat"

to get all those pesky files with spaces in their names


-- 
Alvin Starr                   ||   land:  (647)478-6285
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20201019/09e08505/attachment.html>


More information about the Gluster-users mailing list