[Pvfs2-developers] Trove DBPF error

Kevin Harms harms at alcf.anl.gov
Wed May 27 15:38:01 EDT 2009


   I'm not saying this is sanctioned or a good idea but pvfs2-fsck.c  
uses the PVFS_mgmt_remove_object interface.

PVFS_error PVFS_mgmt_remove_object(
     PVFS_object_ref object_ref,
     PVFS_credentials *credentials,
     PVFS_hint hints)

   Assuming you know the handle, you could write a small code to  
delete it.

kevin

On May 26, 2009, at 1:14 PM, Bart Taylor wrote:

> Hey guys,
>
> We have a particular file on our 12 node file system that is giving  
> us some problems. A /bin/ls and pvfs2-ls both return the correct  
> file listing, but adding a -l option to both of those return with  
> ENOENT "No such file or directory". All of the utilities that do a  
> getattr on the file fail. One of the twelve servers is reporting  
> this error:
>
> PVFS2: [E] TROVE:DBPF:Berkeley DB: DB->get: DB_NOTFOUND: No matching  
> key/data pair found
>
> How do we go about removing this file so that we can recreate it? We  
> cannot run an fsck on the entire file system, so we need a way to  
> remove just this file.
>
>
> Thanks,
> Bart.
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers



More information about the Pvfs2-developers mailing list