On 13 April 2011 08:40, Alessandra Forti <[log in to unmask]> wrote:
> Hi Sam,
>>
>> Here you go.
>>
> can you make it more standard (add a help or whatever standard option you
> have) and add it to the tools? I'm sure someone else will find it useful.
>>
I was going to (at the same time I add the dpm-fsck tools for Ewan...
which, yes, Ewan, I've not sent to you yet. By the end of today, I
promise - the first way I tried doing the reverse check turned out to
be horribly inefficient, so I had to recode that.)
>> Invocation is
>> python dpm-sql-dpns-by-replication.py #
>> (or if you set it executable you can execute it as normal)
>> where # is the minimum number of replicas you want to consider reporting.
>
> It'd be good if this was an option.
>
Certainly - my argument for it being an argument was that the purpose
of the tool was to report very replicated files, hence specification
of a minimum replica count was mandatory. (After all, most of the
files in your DPM will have 1 replica only.)
I could make it an option and default it to 2 ?
> I might start to apply changes myself if I find the time. Would there be any
> objection?
>
Of course not.
> thanks
>
> cheers
> alessandra
>
>
|