[lustre-discuss] lfs find

Vitaly Fertman c17818 at cray.com
Fri Apr 26 08:35:54 PDT 2019


Hi

during a discussion of a bug in lfs find, an improvement idea appeared, it is well
described by Andreas below, and this thread is to discuss which options may need this
functionality.


> On 26 Apr 2019, at 03:41, Andreas Dilger <adilger at whamcloud.com> wrote:
> 
>  lfs find ! --pool HDD ...
> 
> should IMHO find files that do not have any instantiated components in pool HDD, rather than files that have any component not on HDD. 
> 
> That said, I could imagine that we may need to make some parameters more flexible, like adding "--pool =<poolname>"  to allow specifying all components on the specified pool, and possibly + to specify "at least one component" (which would be the same as without "+" but may be more clear to some users)?  
> 
> A similar situation arose with "-mode" for regular find (any vs. all bits) that took a while to sort out, so we should learn from what they did and get it right. 

—
Vitaly Fertman


More information about the lustre-discuss mailing list