473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Crash recovery for LUW on Linux

Running Express-C 9.5 on Suse and I made the gross error of deciding to look
at Vista. Making a long story short, Vista managed to trash the partitions
on the drive containing Linux. I have managed to recover to partiton
containing the DB2 instance I want to resurrect but the root partition is a
lost cause so it's rebuild time - as far from Vista as I can get - but I
would really like to recovery the databases on that trashed drive if
feasible. Is there any way to import the instance info once I re-install
Linux and DB2?

I can recover all but a day's transactions from backups but it would save a
lot of hassle if I could import the apparently intact databases directly
from the old storage location. Any suggestions?

--
Will Honea
wh****@yahoo.com
** Posted from http://www.teranews.com **
Aug 3 '08 #1
4 2061
"Will Honea" <wh****@yahoo.comwrote in message
news:b3******************@news.teranews.com...
Running Express-C 9.5 on Suse and I made the gross error of deciding to
look
at Vista. Making a long story short, Vista managed to trash the
partitions
on the drive containing Linux. I have managed to recover to partiton
containing the DB2 instance I want to resurrect but the root partition is
a
lost cause so it's rebuild time - as far from Vista as I can get - but I
would really like to recovery the databases on that trashed drive if
feasible. Is there any way to import the instance info once I re-install
Linux and DB2?

I can recover all but a day's transactions from backups but it would save
a
lot of hassle if I could import the apparently intact databases directly
from the old storage location. Any suggestions?

--
Will Honea
You should be able reinstall DB2, create a new instance, and catalog the
existing database. You just need to know the path on which the database
resides to specify that path in the catalog database command.
Aug 3 '08 #2
Mark A wrote:
"Will Honea" <wh****@yahoo.comwrote in message
news:b3******************@news.teranews.com...
>Running Express-C 9.5 on Suse and I made the gross error of deciding to
look
at Vista. Making a long story short, Vista managed to trash the
partitions
on the drive containing Linux. I have managed to recover to partiton
containing the DB2 instance I want to resurrect but the root partition is
a
lost cause so it's rebuild time - as far from Vista as I can get - but I
would really like to recovery the databases on that trashed drive if
feasible. Is there any way to import the instance info once I re-install
Linux and DB2?

I can recover all but a day's transactions from backups but it would save
a
lot of hassle if I could import the apparently intact databases directly
from the old storage location. Any suggestions?

--
Will Honea

You should be able reinstall DB2, create a new instance, and catalog the
existing database. You just need to know the path on which the database
resides to specify that path in the catalog database command.
I was concerned about the database manager that served the "lost" instance.
Are you saying that the newly installed DB2 code should be able to pick up
an existing instance which consists of only the old instance directories?
I had hoped that to be the case but Murphy visits here often enough to make
me wary.

Will try this shortly - thanks.

--
Will Honea
wh****@yahoo.com
** Posted from http://www.teranews.com **
Aug 3 '08 #3
"Will Honea" <wh****@yahoo.comwrote in message
news:7d******************@news.teranews.com...
I was concerned about the database manager that served the "lost"
instance.
Are you saying that the newly installed DB2 code should be able to pick up
an existing instance which consists of only the old instance directories?
I had hoped that to be the case but Murphy visits here often enough to
make
me wary.

Will try this shortly - thanks.
--
Will Honea
You cannot (or at least should not) try to recover the instance after you
reinstall DB2. If you DB2 install is hosed, your instance is also hosed.

You should reinstall DB2, create a new instance, and then catalog the
database (which should still be there) to the new instance. You need to
specify the path of the database in the catalog statement (I am assuming you
will at the Command Reference manual for details).

Aug 3 '08 #4
Mark A wrote:
"Will Honea" <wh****@yahoo.comwrote in message
news:7d******************@news.teranews.com...
>I was concerned about the database manager that served the "lost"
instance.
Are you saying that the newly installed DB2 code should be able to pick
up an existing instance which consists of only the old instance
directories? I had hoped that to be the case but Murphy visits here often
enough to make
me wary.

Will try this shortly - thanks.
--
Will Honea

You cannot (or at least should not) try to recover the instance after you
reinstall DB2. If you DB2 install is hosed, your instance is also hosed.

You should reinstall DB2, create a new instance, and then catalog the
database (which should still be there) to the new instance. You need to
specify the path of the database in the catalog statement (I am assuming
you will at the Command Reference manual for details).
OK, that should keep me out of trouble. Thanks for the help - it even gets
me to the point of RTFM.

--
Will Honea
wh****@yahoo.com
** Posted from http://www.teranews.com **
Aug 4 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

48
by: Joseph | last post by:
Hi I'm writing a commercial program which must be reliable. It has to do some basic reading and writing to and from files on the hard disk, and also to a floppy. I have foreseen a potential...
6
by: Burkhard Schultheis | last post by:
As I wrote last week, we have a problem with a DB2 V8 on Linux. Here is what is in db2diag.log during online backup: Starting a full database backup. 2004-04-01-02.33.54.760164 ...
10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
0
by: richardshen | last post by:
Any suggestion about this? DB2 V8.1.5 WorkGroup Edition on Windows Professional 2000. Thanks. Message in DB2Diag.log 2004-07-18-16.54.29.479000 Instance:DB2 Node:000...
5
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with...
1
by: Michel Esber | last post by:
Hello, Linux V8 FP12 with a 64 bit instance. My DBA called me and said our instance crashed and recovery would never end. $ db2 list utilities show detail ID ...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
2
by: Racerx | last post by:
Hi All : I use db2 8.1 fixpack 3 on AIX. I recieved the following message in the diaglog ====================================================== ADM7513W Database manager has started. ...
3
by: subhbhav | last post by:
Hi, Is there any way to get a db2 9.1 Windows UDB database which is in inconsistent state to start without recovery? We were loading data from a source and the database crashed. The Server...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.