Unix Technical Forum

Deadly problems on an Informix 7.5 - ontape issue

This is a discussion on Deadly problems on an Informix 7.5 - ontape issue within the Informix forums, part of the Database Server Software category; --> I've a problem with an Informix 7.5 on Aix 4.3.3, I've re-initialized the system with an oninit -ivy and ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:01 PM
Laverio
 
Posts: n/a
Default Deadly problems on an Informix 7.5 - ontape issue

I've a problem with an Informix 7.5 on Aix 4.3.3, I've re-initialized the
system with an oninit -ivy and only after I've discovered that no one have
made backups... Now, I'm thinking to recover the state using an old backup
(no data, only dbs definitions) but I've no logs archived.
I'm trying to recover only the rootdbs thru the ontape utility, but it
leaves the db in recovery state, on the manual it's written that it will
remain in that state until a logical restore (I've no logical logs
backup...).

Please help me, what I can do to bring it on line?


P.S: Meanwhile, the db is now in quiescent mode, but only a dbspace seems
available an the onstat -d reports only 53 pages used...

I really need help!




"I told you to make weapons, Taim. Show me just how deadly they are.
Disperse the Shaido. Break them." - Rand Al'Thor, Car'a'carn, The Dragon
Reborn.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:02 PM
Art S. Kagel
 
Posts: n/a
Default Re: Deadly problems on an Informix 7.5 - ontape issue

On Tue, 07 Oct 2003 06:17:38 -0400, Laverio wrote:

Laverio:

If you have a C compiler you can use my dbsup and chunkup utilities to mark the
dbspaces and chunks to online status. HOWEVER, there is no such version as 7.5
and you must know your proper version to successfully run the dbsup utility.
Since you did not post a real address, email me for a copy.

Run either utility without args to see Usage. The last argument is 1 for the
first copy of the main chunk or dbspace page, 2 for the second copy (you have to
do both), 3 for the first copy of the mirror chunk page if any and 4 for the
second copy of the mirror chunk page (there are no mirror dbspace pages). If
the chunk or dbspace table is longer than a single page the header output by
dbsup and/or chunkup will tell you the offset to use to update the next page in
the chain, if that offset is zero then either there are no more pages or the
offset is the next sequential number (know that after the primary page the next
offset is usually 14 or something similar).

The [-5|-6|-7|-73|-92] option to dbsup specifies the IDS version as the format
for the dbspace table has changed from version to version. Use -7 for all 7.xx
releases prior to 7.30, use -73 for all 7.3x releases and for 9.xx releases
prior to 9.20. These utilities have not been updated for 9.4 and so should not
be used.

Each run creates a binary copy of the modified page which you can restore using
dd if needed. Of course you should take a safety archive using ontape or onbar
in general before using an invasive utility like these, and you are on your own
if it does not work. On the other hand you are out of business now, so...

Art S. Kagel

> I've a problem with an Informix 7.5 on Aix 4.3.3, I've re-initialized the
> system with an oninit -ivy and only after I've discovered that no one have
> made backups... Now, I'm thinking to recover the state using an old backup (no
> data, only dbs definitions) but I've no logs archived. I'm trying to recover
> only the rootdbs thru the ontape utility, but it leaves the db in recovery
> state, on the manual it's written that it will remain in that state until a
> logical restore (I've no logical logs backup...).
>
> Please help me, what I can do to bring it on line?
>
>
> P.S: Meanwhile, the db is now in quiescent mode, but only a dbspace seems
> available an the onstat -d reports only 53 pages used...
>
> I really need help!
>
>
>
>
> "I told you to make weapons, Taim. Show me just how deadly they are. Disperse
> the Shaido. Break them." - Rand Al'Thor, Car'a'carn, The Dragon Reborn.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com