Hi,

So after some investigation, it seems that even simple FileClass's fail to
match on our build of 3.0:

Product:         robinhood
Version:         3.0-0.alpha1
Build:           2016-03-09 09:19:35

Compilation switches:
    Lustre filesystems
    Lustre Version: 2.5
    Address entries by FID
    MDT Changelogs supported

Database binding: MySQL


Here are the two class definitions which don't match anything:

#### fileclass definitions ####
FileClass test_files {
        Definition {
                type == file and path == "/mnt/lustre/testdata"
       }
}

FileClass empty_files {
        Definition {
                type == file and size == 0
        }
}



/mnt/lustre/testdata does exist, and we do have zero byte files on the file
system. We're investigating why this isn't working now and will post more
once we find a solution.

-cf




On Tue, May 10, 2016 at 1:13 PM, Colin Faber <[email protected]> wrote:

> Okay, so regardless as to -F or not on robinhood cli, my empty_files
> policy should be functional?
>
> On Tue, May 10, 2016 at 12:57 PM, Thomas LEIBOVICI (mail perso) <
> [email protected]> wrote:
>
>> Hi Colin,
>>
>> Here is the description of "-F" option in v3:
>>
>>        -F, --force
>>               Force applying policies even if no full scan has never been
>> done (partial DB contents).
>>
>> In v2.x, robinhood was preventing to apply policies when robinhood was
>> not aware of the whole filesystem contents (if no full scan has been done).
>> "-F" option overrides this check, and allow applying policies even if no
>> full scan has been done.
>> There is no relationship with fileclasses.
>>
>> Regards,
>> Thomas
>>
>>
>> On 09/05/2016 21:29, Colin Faber wrote:
>>
>> Hi Thomas,
>>
>> Yes, sorry robinhood itself, not any of the sub functions.
>>
>> -cf
>>
>> On Mon, May 9, 2016 at 1:27 PM, Thomas LEIBOVICI (mail perso) <
>> <[email protected]>[email protected]> wrote:
>>
>>> Hi Colin,
>>>
>>> About -F option: can you please precise what command you talk about:
>>> robinhood, rbh-report, rbh-find, rbh-du, ... ?
>>>
>>> Thanks
>>> Thomas
>>>
>>>
>>> 09/05/2016 19:08, Colin Faber wrote:
>>>
>>> With 3.0, should a file class be matched and executed on if -F is
>>> present?
>>>
>>>
>>> FileClass empty_files {
>>>         Definition {
>>>                 type == file and size == 0
>>>        }
>>> }
>>>
>>>
>>>
>>> Shouldn't this match any files that are zero bytes? Shouldn't this hit
>>> and be actionable with -F present?
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications Manager
>>> Applications Manager provides deep performance insights into multiple tiers 
>>> of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free 
>>> trial!https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>>
>>>
>>>
>>> _______________________________________________
>>> robinhood-support mailing 
>>> [email protected]https://lists.sourceforge.net/lists/listinfo/robinhood-support
>>>
>>>
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>  Garanti
>>> sans virus. www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>
>>
>>
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>  Garanti
>> sans virus. www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>
>
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to