If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL0290N Table space access is not allowed. SQLSTATE=55039

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-09-10, 02:29
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
SQL0290N Table space access is not allowed. SQLSTATE=55039

i am taken offline backup and restored in another db, now i am geeting above error while accessing the tables from ravi db. the commands which i used are

db2 "backup database sample to d:\db2\offlinebackup with 4 buffers buffer 4096 parallelism 2 without prompting"

db2 "restore database sample from d:\db2\offlinebackup taken at 20101209104008 into ravi without prompting"
Reply With Quote
  #2 (permalink)  
Old 12-09-10, 03:00
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Did the restore command complete successfully or generated some warning message (ie. 2563 -> sql2563w)? You may need to redefine tablespace containers during restore. Check db2diag.log for any errors generated during the restore process.
Reply With Quote
  #3 (permalink)  
Old 12-09-10, 04:26
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
restore

Yes ur correct, it generated some warning message ie. 2563, i found in diaglog as"Problem restoring table space VELOCISTSP, Skipping table space VELOCISTSP" , pls give me clear explanation, what i have do now, if possible provide explanation with commands???? my tablespace is in Quiesced Exclusive, its not allowing to set containers...

Last edited by ravichandrapratap; 12-09-10 at 05:03.
Reply With Quote
  #4 (permalink)  
Old 12-09-10, 04:42
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
Hi, Please refer below link which will resolve your problem.

DB2 Basics: Cloning DB2 Databases Using Redirected Restore
__________________
Regards
Pawan Kumar
Reply With Quote
  #5 (permalink)  
Old 12-09-10, 18:47
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
How you redefine tablespace containers during restore depends on whether tablespaces are using automatic storage or not. Check this forum link for some info:
https://www.ibm.com/developerworks/f...ageID=14300006
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On