Re: [firebird-support] Identifying damanged pages
Dne 29.3.2012 18:26, Ann Harrison napsal(a): > 2012/3/29 Josef Kokeš > >> >> Due to hardware malfunction, my database got damaged. GFIX (-v -f -i) >> tells me that a database has 1 "record level error", 9 "data page >> errors", 41 "index page errors" and 322 "database page errors". >> > > IBFirstAid is your friend, as is backup. But before you backup the > database, make a copy, use gfix to set it to read only, and back it > up with gbak, using the -g switch to suppress garbage collection. > > If that works, you're unlikely to have lost data. Backup walks each > table in storage order. The structures are linked, so a lost or damaged > data page will show up. Luckily, the damaged table was one which rarely changes, so I was able to restore it from backup with good results. But I am noting down this suggestion for future reference. THanks for the suggestion! Josef ++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [firebird-support] Identifying damanged pages
2012/3/29 Josef Koke¹ > > Due to hardware malfunction, my database got damaged. GFIX (-v -f -i) > tells me that a database has 1 "record level error", 9 "data page > errors", 41 "index page errors" and 322 "database page errors". > IBFirstAid is your friend, as is backup. But before you backup the database, make a copy, use gfix to set it to read only, and back it up with gbak, using the -g switch to suppress garbage collection. If that works, you're unlikely to have lost data. Backup walks each table in storage order. The structures are linked, so a lost or damaged data page will show up. Good luck, Ann [Non-text portions of this message have been removed] ++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [firebird-support] Identifying damanged pages
Hello Josef, Look into firebird.log - there should be information about corrupted record/table. You can also check your database with FBFirstAID Diagnostician. Regards, Alexey Kovyazin IBSurgeon (www.ib-aid.com) > Hi! > > Due to hardware malfunction, my database got damaged. GFIX (-v -f -i) > tells me that a database has 1 "record level error", 9 "data page > errors", 41 "index page errors" and 322 "database page errors". > > I am not concerned about Index page errors - is seems obvious these will > get fixed by a backup/restore cycle. But I would like to know: > > 1) What do the individual error types mean? > 2) Is there a way to identify which tables were affected? I can live > with damage to many tables, but not all of them. > > Thanks, > > Josef Kokes > > > > > ++ > > Visit http://www.firebirdsql.org and click the Resources item > on the main (top) menu. Try Knowledgebase and FAQ links ! > > Also search the knowledgebases at http://www.ibphoenix.com > > ++ > Yahoo! Groups Links > > > > ++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/