[Bugs] [Bug 1187140] [RFE]: geo-rep: Tool to find missing files in slave volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 16 04:20:23 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1187140



--- Comment #13 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9503 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 7a9a66cc5fb7f06118fab1fc2ae1c43cfbb1178f
Author: Kotresh HR <khiremat at redhat.com>
Date:   Thu Jan 29 15:53:19 2015 +0530

    tools: Finds missing files in gluster volume given backend brickpath

    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 (https://github.com/avati/xsync)

    Thanks Aravinda for scripts to convert gfid to path.

    Change-Id: I84deaaaf638f7c571ff1319b67a3440fe27da810
    BUG: 1187140
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Signed-off-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-on: http://review.gluster.org/9503
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=cUKrENsNyV&a=cc_unsubscribe


More information about the Bugs mailing list