473,624 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2 restoration problem

3 New Member
hi everyone

I m restorimg a database , during which i m facing the peoblem
Here is the details description the problem.




RESTORE DATABASE NSWD FROM "C:\db2_backups " TAKEN AT 20080429211406 TO "C:" INTO NSWD WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING;

SQL0294N The container is already in use.

Explanation:

Table space containers may not be shared. The possible causes of
this error include the following.

o A CREATE TABLESPACE or ALTER TABLESPACE statement included a
container that is already in use by another table space.

o A CREATE TABLESPACE or ALTER TABLESPACE statement included a
container from a table space that has been dropped but the
drop statement has not been committed.

o An ALTER NODEGROUP statement used to add a node used the
containers of a LIKE node that is on the same physical node.
These containers would therefore already be in use.

o A CREATE TABLESPACE or ALTER TABLESPACE statement is
attempting to use the same container on more than one logical
node on a single physical node. The same containers cannot
be used for more than one node on the same physical node.

o An ADD NODE command or API used the containers from the
system temporary table spaces of a LIKE node that is on the
same physical node. These containers would therefore already
be in use.

o A CREATE TABLESPACE or ALTER TABLESPACE statement included a
DMS container from another database that no longer exists but
was not dropped properly. The container is not actually in
use but it is tagged as being in use. Therefore, DB2 will
not allow it to be used until it is untagged. However, it is
very important to verify that the container is not in use by
the same database or another database when untagging it. If
the container is in use when you untag it, the database(s)
involved will be corrupted.



User Response:

Ensure the containers are unique.

o For the CREATE or ALTER TABLESPACE statement, specify a
different container for the table space.

o For the CREATE or ALTER TABLESPACE statement including a
container from a dropped table space, try again after the
drop statement is committed or specify a different
container.

o For the ALTER NODEGROUP statement, reissue the statement
using the WITHOUT TABLESPACES clause, and then use the ALTER
TABLESPACE statement to create unique containers for the new
node.

o For CREATE or ALTER TABLESPACE statements where the
environment includes more than one logical node on a physical
node, ensure that the same containers are not specified for
such logical nodes.

o For an ADD NODE command or API, reissue the statement using
the WITHOUT TABLESPACES clause, and then use the ALTER
TABLESPACE statement to create unique containers at the new
node for the system temporary table spaces.

o If you are trying to use a DMS container that belonged to a
database that no longer exists but was not dropped properly,
then the db2untag utility can be used to remove the DB2
container tag from it. When this tag is removed DB2
considers the container to be free and the container can be
used in a CREATE TABLESPACE or ALTER TABLESPACE statement.

NOTE: Use extreme caution with db2untag. If you issue a
db2untag command against a container that is still in use by
a database, then both the database that originally used the
container and the database that is now using the container
will be corrupted.



sqlcode : -294

sqlstate : 42730


can you please anyone tell me entire process how to resolve that.
Jun 6 '08 #1
0 1574

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1430
by: Adam Smith | last post by:
Hello, I did a server upgrade and at the same time did a mysql update from 4.0.12 to Ver 12.22 Distrib 4.0.16. Essentially, moving from one machine to another. The dump consists of a cluster of databases, not just one and a few Tables. Now I'd like to restore the Database(s) ===>
3
2408
by: Tommy.Vincent | last post by:
Hi, its newbie question. I have one production server(A) ,one backup server(B),additional server(C). my database backup are moved from A to C in regular basis. My problem is that when ever I have to restore my database in Backup
0
1257
by: Richard | last post by:
hi, I am using SQL SERVER 2000. My query is, Can I restore my 60 transactional log file backup in one sql statement,giving condition where it is suppose to start and end.
1
2081
by: Tommy.Vincent | last post by:
Hi, When i use to work on Windows 2000 advance server and Sql 2000 I was able to do network restoration by using a mapped drive where my backup use to be lying.What i did was I assigned administrator rights to my login and in Services (mssqlserver)i added my login. Then I was able to access any mapped drive from my network in Sql server 2000.
1
1199
by: Thyagu | last post by:
Hi, Does a database restoration perform any update-statistics/defragmentation by default. We observed a marked improvement in performance when we restored the a database from an high end machine to a low machine. Could someone shed some light on this. Regards,
2
1919
by: bharadwaj | last post by:
any automated restoration script is available in sql server2000. I want to do the restoration for 10 databases(full backup,latest differential backup) in other server. Pls do the needful.
0
961
by: bharadwaj | last post by:
Hi, I am trying to do restoration for n databases using automated script.The script is given below. it is not giving errors while job execution ,but restoration is not happening.(no record is in msdb.restorehistory). any advice from you. I have doubt on my dynamic sql part. CREATE procedure test_restore as DECLARE @backup_set_id_Full INT --DECLARE @Full_Backup_Set_Date datetime DECLARE @backup_set_id_Diff INT
0
1087
by: bharadwaj | last post by:
hi, i am trying to do master restoration using the following steps. 1.net stop MSSQLServer 2.sqlservr -m 3.use MASTER go RESTORE DATABASE master FROM disk='master.BAK' replace, MOVE 'master' to 'E:\Program Files\Microsoft SQL Server\Data\master.mdf',
1
1871
Ali Rizwan
by: Ali Rizwan | last post by:
Hi all, I want to disable auto restoration of windows. Suppose if i delete a file say explorer.exe after a while it will create again by windows. If i change any registery it will restore automatically. I have checked it. I have changed the registery but it has been restore it. Thanx
0
1223
by: Now You Know | last post by:
Water Damage Restoration 24 hour open 7 Days Phone 1 877 364 5264 When disaster strikes such as a washing machine overflow, bath overflow, burst pipe, rainwater from balcony etc, water damage restoration procedures must be followed. It is not as simple as just sucking up the water and cleaning the carpet and letting the area dry naturally. It is not the wet carpet that is the problem it is the underlay and the wood or concrete floor...
0
8240
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8482
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2610
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.