Documentation is available in patch:
A tool which helps to get list of modified files or list of all files in
GlusterFS Volume using Changelog or find command.
glusterfind create --help
The tool creates status file $GLUSTERD_WORKDIR/SESSION/VOLUME/status
and records current timestamp to initiate the session. This timestamp
will be used as start time for next runs.
As part of create also generates ssh key and distributes to all peers.
and enables build.pgfid and changelog using volume set command.
glusterfind pre --help
This command is used to generate the list of files modified after session
creation time or after last run. To get list of all files/dirs in Volume,
run pre command with `--full` argument.
The tool gets all nodes details using gluster volume info and runs node
agent for each brick in respective nodes via ssh command. Once these node
agents generate the output file, tool copies to local using scp. Merges all
the output files to generate the final output file.
glusterfind post --help
After consuming the list, this sub command is called to update the session
time based on pre command status file.
glusterfind list --help
To view all the sessions
glusterfind delete --help
1. Deleted files will not get listed, since we can't convert GFID to
Path if file/dir is deleted.
2. Only new name will get listed if Renamed.
3. All hardlinks will get listed.
Signed-off-by: Aravinda VK <email@example.com>
Tested-by: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Venky Shankar <email@example.com>
Reviewed-by: Prashanth Pai <firstname.lastname@example.org>
Reviewed-by: Kotresh HR <email@example.com>
Reviewed-by: Vijay Bellur <firstname.lastname@example.org>