Aravinda
2015-Nov-06 05:33 UTC
[Gluster-users] Troubleshooting: Script to detect files without GFID and Invalid directory symlinks
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