Subject Re: [firebird-support] Page is of wrong type (expected 5, found 0)
Author Ann Harrison
On Sat, Jan 23, 2016 at 9:41 AM, Martin Schwedhelm silo_18@... [firebird-support] <firebird-support@yahoogroups.com> wrote:


I have multiple (8) databases where no connection is possible and gfix prints the above message.

Firebird version: 2.5.2
Operating system: Windows 2003 - Windows 2008 (VmWare)
Size: Varying, ~100MB to ~14GB single file
ODS: 11.1 / 11.2

It looks like the database file is truncated and when resized to the previous size
because all pages starting from a random page till the end of the file are filled with zeros.
In one case only the first 9MB of a 7GB database survived.

Are forced writes enabled? 

Before the corruption all systems involved were restarted (windows-update, etc.).
Could a unsave shut down of the database server explain the behaviour?

Yes, if you're not using forced writes. 

Good luck,

Ann