[Lustre-discuss] Problems with lfs find

Andreas Dilger andreas.dilger at oracle.com
Mon Nov 29 22:47:08 PST 2010


On 2010-11-29, at 20:18, Bob Ball wrote:
> I have an odd problem.  I am trying to empty all files from a set of OST 
> as indicated below, by making a list via lfs find and then sending that 
> list to lfs_migrate.  However, I have just gotten this message back from 
> the lfs find:
> 
> llapi_semantic_traverse: Failed to open 
> '/lustre/umt3/data13/daits/p15.6.3.10/prod/W1J_munu216465_simul': No 
> such file or directory (2)
> error: find failed for umt3-OST0021.

This may mean that the file was deleted while "lfs find" was running.

> On the OSS, I see this but not much else:
> LustreError: 5226:0:(ldlm_resource.c:861:ldlm_resource_add()) lvbo_init 
> failed for resource 9101: rc -2
> 
> Can someone give me an idea of what is wrong  here?  And what can be 
> done about it, if anything?

This might mean that the file was deleted at the same time the MDS crashed, and the objects were removed but the MDS file was not.  It is possible to just delete this file using the "unlink" command - it does not contain any data in any case.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.




More information about the lustre-discuss mailing list