Hi Thomas,
Your suggestion is always helpful, Thank you very much!
I just find that problem, -F parameter will remove the entries scanned
before, and I'm trying to modify the source code. Now, there is no need to do
this.
Best regards,
Lucas
At 2014-01-15 16:14:42,"LEIBOVICI Thomas" <[email protected]> wrote:
Hi Lucas,
Actually, the option you use for by-part scanning is not the good one.
This would result in wrong or partial DB contents.
With robinhood 2.4.x, the option is:
robinhood --partial-scan=/A/B --once -f myconf -L stdout
With robinhood 2.5, the option is:
robinhood --scan=/A/B --once -f myconf -L stdout
Optionally, you can add the --no-gc option to speed up the scan,
if you don't care about cleaning removed entries from DB,
or if you don't expect to have entries deleted in your FS.
-F is useless and leads to such mistakes, I should drop it.
Regards,
Thomas
On 01/14/14 08:09, Lucas wrote:
Hello,
I have a thought in my mind that running robinhood in multiple nodes to
scan the file system. first step is to split the file system into many
sub-filesystem(I have find a way to implement it ), then run robinhood in many
other nodes and update the ENTRIES table of MySQL database.
I tested the -F parameter, here we surpose the structure of the database
is:
/A
|-- B
|-- C
|-- D
And there are three nodes using robinhood to scan the the file system:
Node1: robinhood --scan --once -f myconf -L stdout -F /A/B
Node1: robinhood --scan --once -f myconf -L stdout -F /A/C
Node1: robinhood --scan --once -f myconf -L stdout -F /A/D
Apparently it is not works, but what if modified the source codes of list_mgr
and only update the ENTRIES table ?
Is that a good idea?
Best regards,
Lucas
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-devel mailing list
[email protected]https://lists.sourceforge.net/lists/listinfo/robinhood-devel
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support