Subject | RE: [firebird-support] "database file appears corrupt" how to fix? |
---|---|
Author | Yusuf Celik |
Post date | 2007-06-29T07:52:33Z |
Thanks Ann,
Sounds like no way apart from FBFirsAidDiagnostic or IBPhoenix people.
No backup at all.
After the hard crash, I did nothing just try to connect to the db.
And I got that message.
Would "Force Writes on" help not occuring again?
Thanks again
With kindest reagards
yc
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann W. Harrison
Sent: Thursday, June 28, 2007 6:58 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] "database file appears corrupt" how to
fix?
Yusuf Celik wrote:
after the hard crash?
Here's what that message means. Page 4522 was supposed to be
a transaction inventory page, and so identified by a byte in
the page header. That byte is zero. Normally when the page
type byte is zero, the whole page is zeroed. Firebird keeps
the state of transactions (active, committed, rolled back,
limbo) on transaction inventory pages. With that page gone,
there's probably no way to bring the data back in a consistent
form.
If you have a backup and can reconstruct the changes since
the backup was made, that's your best hope. IBPhoenix has
people and tools that can (probably) get much of the remaining
data out of the database. My guess is that if one page is
zeroed, there will be others. A transaction page would be
one of the first pages accessed on startup.
Regards,
Ann
[Non-text portions of this message have been removed]
Sounds like no way apart from FBFirsAidDiagnostic or IBPhoenix people.
No backup at all.
After the hard crash, I did nothing just try to connect to the db.
And I got that message.
Would "Force Writes on" help not occuring again?
Thanks again
With kindest reagards
yc
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann W. Harrison
Sent: Thursday, June 28, 2007 6:58 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] "database file appears corrupt" how to
fix?
Yusuf Celik wrote:
>That's not good at all. What did you do to reconstruct the disk
> -wrong page type
> -page 4522 is of wrong type (expected 3, found 0)
>
after the hard crash?
Here's what that message means. Page 4522 was supposed to be
a transaction inventory page, and so identified by a byte in
the page header. That byte is zero. Normally when the page
type byte is zero, the whole page is zeroed. Firebird keeps
the state of transactions (active, committed, rolled back,
limbo) on transaction inventory pages. With that page gone,
there's probably no way to bring the data back in a consistent
form.
If you have a backup and can reconstruct the changes since
the backup was made, that's your best hope. IBPhoenix has
people and tools that can (probably) get much of the remaining
data out of the database. My guess is that if one page is
zeroed, there will be others. A transaction page would be
one of the first pages accessed on startup.
Regards,
Ann
[Non-text portions of this message have been removed]