[Lustre-discuss] How to find a file by object id

Wojciech Turek wjt27 at cam.ac.uk
Wed Oct 21 08:05:12 PDT 2009


Hi Brian,

Thank you for your reply.I am currently on lustre 1.6 thus I am working with
Lustre-1.6 manual. I found the bug you have mentioned (19753) and in fact
there is a saction in the lustre manual titled "Identifying Which Lustre
File an OST Object Belongs To". However this manual update only got into
Lustre-1.8 manual. I guess it didn't make it's way to 1.6 manual because
manual was not updated since May and the bug was resolved in July.

Cheers

Wojciech



2009/10/21 Brian J. Murrell <Brian.Murrell at sun.com>

> On Wed, 2009-10-21 at 11:58 +0100, Wojciech Turek wrote:
> > I apologize if this question was answered earlier but I can not find
> > it in the mailing list.
>
> I'm pretty sure it's been discussed here and even pointed to a bug I
> opened to get this documented in our manual.  It might be there already
> in fact.
>
> > I have an object ID and I would like to find file that this object is
> > part of. I tried to use lfs find but I can not seem to find right
> > combination of options.
>
> As above, there is a bug in bugzilla, the ID of which I don't recall
> offhand I'm afraid.  The bug was to have the manual updated, complete
> with an entire working example.  Shouldn't be too hard to find.
>
> > Also is there a simple way to list all the files and their object
> > IDs?
>
> Keeping in mind of course that there may be many objects for a single
> file.  [lfs] find and lfs getstripe ought to help.  In fact I think
> there is a recursive option to lfs getstripe, the output of which you
> would simply need to reformat.
>
> b.
>
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>
>


-- 
--
Wojciech Turek

Assistant System Manager

High Performance Computing Service
University of Cambridge
Email: wjt27 at cam.ac.uk
Tel: (+)44 1223 763517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20091021/75220ab9/attachment.htm>


More information about the lustre-discuss mailing list