[Pvfs2-developers] PVFS2 Error on startup

Sam Lang slang at mcs.anl.gov
Wed May 27 17:38:39 EDT 2009


On May 27, 2009, at 4:28 PM, David Metheny wrote:

> We’ve got db4-4.2.52-7.3.el4 installed.
>
> The value of ret after the line 650 call is ‘-30988’.

That's DB_PAGE_NOTFOUND.  You should try to recover the dspace.db file  
using db_recover.

http://www.oracle.com/technology/documentation/berkeley-db/db/utility/db_recover.html

-sam

>
>
> From: Sam Lang [mailto:slang at mcs.anl.gov]
> Sent: Wednesday, May 27, 2009 11:27 AM
> To: david.metheny at gmail.com
> Cc: pvfs2-developers at beowulf-underground.org
> Subject: Re: [Pvfs2-developers] PVFS2 Error on startup
>
>
> That's not a very useful error, but it looks like there might be  
> something wrong with your dspace db.  Can you run it in gdb, set a  
> breakpoint at dbpf-dspace.c:650, step to the next line and print the  
> result of "ret"?  Line 650 should have:
> b dbpf-dspace.c:
>  ret = dbc_p->c_get(dbc_p, &key, &data, DB_MULTIPLE_KEY|DB_NEXT);
>
> The ret value is getting translated to a trove error code, except  
> the BDB error value isn't one that trove recognizes, so it just  
> spits out an error code that says it doesn't know anything about the  
> error code.
>
> What version of berkeley DB are you using?
>
> -sam
>
> On May 27, 2009, at 9:45 AM, David Metheny wrote:
>
>
> I’m getting the following error starting up a PVFS2 server, running  
> both IO and metadata
>
> PVFS2: [D] PVFS2 Server version 2.6.2pre1-2009-05-12-185735 starting.
> PVFS2: [E] c_get failed on iteration 3059
> PVFS2: [E] Warning: non PVFS2 error code (4243):
> PVFS2: [E] dbpf_dspace_iterate_handles_op_svc: Unknown error 4243
> PVFS2: [E] Error adding handle range  
> 805306369-1073741823,2952790009-3221225463 to filesystem pvfs2-fs
> PVFS2: [E] Error: Could not initialize server interfaces; aborting.
> PVFS2: [E] Error: Could not initialize server; aborting.
>
> The server is configured to sync both metadata and data. The  
> server’s connected storage experienced a connection problem, causing  
> a ‘read-only file system’ error. After stopping and starting the  
> server, it throws the above errors each time.
>
> I’m using the base 2.6 release, with many patches applied. Any ideas  
> on how to debug this, or recover from it?
>
> Thanks,
>
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20090527/ba75ffb0/attachment.htm


More information about the Pvfs2-developers mailing list