Troubleshooting: Script to detect files without GFID and Invalid directory symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux