[Pvfs2-developers] db tools

Murali Vilayannur murali.vilayannur at gmail.com
Tue Feb 20 02:18:25 EST 2007


Hey Sam,
These are defly useful tools. I had something similar although it
wasnt anywhere as featureful as this one. Can we also MPIize so that
we could run it in parallel across all the dataspaces or something?
Just a thought,
Thanks,
Murali

On 2/8/07, Sam Lang <slang at mcs.anl.gov> wrote:
>
> I've attached three tools that might be useful for debugging metadata
> corruption.  They're probably fairly raw, I've only used them for my
> own purposes mostly, so they haven't gotten much testing.  Let me
> know what you think.  These work directly on the storage space.
> pvfs2-cleanup runs through each dspace entry, checks its type,
> verifies that it has appropriate attributes, and that its associated
> keyval entries in the keyval db are valid.  It only runs on one local
> storage space though, so it doesn't check validity of directory
> entries (as the pvfs2-validate does).  pvfs2-dump-all iterates
> through each dspace entry and prints the attrs and keyvals associated
> with each handle.  Its rather verbose, but helpful in finding
> corruption in the db somewhere.  pvfs2-dump-object dumps the handle
> specified on the command line.   All of these tools operate directly
> on the dbs, so they don't require a PVFS install.  Updates to dbpf
> with different storage formats or changes to the DB interfaces will
> have to be fixed individually in these tools as well.  In CVS, we
> have a showcoll and migrate-collection as tools in apps/admin/ that
> work directly on the storage spaces.  If these other tools seem
> useful we could have a separate directory that works on storage
> spaces, to keep stuff independent from the client tools.
>
> -sam
>
>
> _______________________________________________
> 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