[Gluster-users] Troubleshooting: Script to detect files without GFID and Invalid directory symlinks

Aravinda avishwan at redhat.com
Fri Nov 6 05:33:59 UTC 2015


Hi,

Yesterday while debugging in a production setup, found that multiple 
directories having same GFID(Rename and Lookup race) and some files 
without GFID xattr(Brick crash/hard reboot during create).

Wrote a script to detect the same 
https://gist.github.com/aravindavk/29f673f13c2f8963447e

Usage:
     python find_gfid_issues.py <BRICK_DIR>

For example,
     python find_gfid_issues.py /export/brick1/b1

Let me know if this script is useful in detecting gfid/link issues.

-- 
regards
Aravinda



More information about the Gluster-users mailing list