path: root/tools/gfind_missing_files/
Commit message (Collapse)AuthorAgeFilesLines
* NetBSD build fixesEmmanuel Dreyfus2020-06-301-1/+1
| | | | | | | | | | | | | - Make sure -largp is used at link time - PTHREAD_MUTEX_ADAPTIVE_NP is not available, use PTHREAD_MUTEX_DEFAULT instead - Avoid non POSIX [[ ]] in scripts - Do not check of lock.spinlock is NULL since it is not a pointer (it is not a pointer on Linux either) Change-Id: I5e04a7c552d24f8a473c2b837828d1bddfa7e128 Fixes: #1347 Type: Bug Signed-off-by: Emmanuel Dreyfus <>
* scripts: bash-isms in scriptsKaleb S KEITHLEY2016-05-181-6/+6
| | | | | | | | | | | | | Change-Id: I05f8718fb73c16dbb37c1f7460bb7b55cc0ffe97 BUG: 1336853 Reported-by: Patrick Matthäi <> Signed-off-by: Kaleb S KEITHLEY <> Reviewed-on: NetBSD-regression: NetBSD Build System <> Reviewed-by: Niels de Vos <> Smoke: Gluster Build System <> Reviewed-by: Kotresh HR <> CentOS-regression: Gluster Build System <>
* tools: Finds missing files in gluster volume given backend brickpathKotresh HR2015-03-151-0/+119
The tool finds the missing files in a geo-replication slave volume. The tool crawls backend .glusterfs of the brickpath, which is passed as a parameter and stats each entry on slave volume mount to check the presence of file. The mount used is aux-gfid-mount, hence no path conversion is required and is fast. The tool needs to be run on every node in cluster for each brickpath of geo-rep master volume to find missing files on slave volume. The tool is generic enough and can be used in non geo-replication context as well. Most of the crawler code is leverged from Avati's xfind and is modified to crawl only .glusterfs ( Thanks Aravinda for scripts to convert gfid to path. Change-Id: I84deaaaf638f7c571ff1319b67a3440fe27da810 BUG: 1187140 Signed-off-by: Aravinda VK <> Signed-off-by: Kotresh HR <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>