You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Martin C." <ma...@gmx.at> on 2011/12/01 13:25:54 UTC

Recover KahDB from missing db.free?

Hi,

one of our installations suffered a power-outage that seems to have
corrupted parts of the filesystem. I am missing the db.free file from
the KahaDB directory, which now prevents startup. Is there a way from
recovering from this missing file?

The situation is in this case not particularly a problem, as we can
deal with removing the message store, but I'd like to know how to
handle the situation in case I wouldn't be that relaxed on removing
the data store in a future event. Are there any docs on how to
disaster-recover from a KahaDB store?

Thanks!

Best regards,
Martin

Re: Recover KahDB from missing db.free?

Posted by Gary Tully <ga...@gmail.com>.
the index will need to be created, there is currently no way to
recreate just the free list.
remove the index data (db.data) in this case and it will get recreated
from the journal
during startup recovery.

On 1 December 2011 12:25, Martin C. <ma...@gmx.at> wrote:
> Hi,
>
> one of our installations suffered a power-outage that seems to have
> corrupted parts of the filesystem. I am missing the db.free file from
> the KahaDB directory, which now prevents startup. Is there a way from
> recovering from this missing file?
>
> The situation is in this case not particularly a problem, as we can
> deal with removing the message store, but I'd like to know how to
> handle the situation in case I wouldn't be that relaxed on removing
> the data store in a future event. Are there any docs on how to
> disaster-recover from a KahaDB store?
>
> Thanks!
>
> Best regards,
> Martin



-- 
http://fusesource.com
http://blog.garytully.com