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 > SQL1277N - How do I resolve this Re-directed restore problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-07, 21:49
pagwu pagwu is offline
Registered User
 
Join Date: Mar 2007
Posts: 70
SQL1277N - How do I resolve this Re-directed restore problem

This restore is meant to create a brand new database in an existing system test instance. While restoring at the target instance, I received two messages, one of which was:

SQL1277N Restore has detected that one or more table space containers are
inaccessible, or has set their state to 'storage must be defined'.

The second, the informational DB20000I-The RESTORE DATABASE command completed successfully. I guess I could continue on with the rest of the restore but some tablespace will not be availble. I will like to correct those before I continue...

How do I go about correcting the tablespace issue?

Thanks

Okonita
Reply With Quote
  #2 (permalink)  
Old 10-02-07, 22:53
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You get the SQL1277N error before the containers are defined with your set statements, which is why one of the explanations is "or has set their state to 'storage must be defined'". This is normal behavior.

After you finish the restore and rollforward (if applicable), connect to the database. The make sure the state of each tablespace is 0x0000.

db2 list tablespaces show detail | grep State
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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