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 > restore db to new attached drive

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-02-09, 15:27
bic bic is offline
Registered User
 
Join Date: Feb 2007
Posts: 42
restore db to new attached drive

I finally got fiber card adding 900 gigs of disk installed on Windows 2003 box using DB2 8.2 FP 12. DB2 data directory is on d: drive. New fiber drives are on e:.

I'd like to restore a database to d:. I tried specifying "TO e:" on restore database command, but it appears to be doing it on D, which of course runs out of disk where I then get the db2 message that it's out of disk space.
Reply With Quote
  #2 (permalink)  
Old 09-02-09, 15:45
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Search for "redirected restore" or the db2relocatedb command in the manuals.
Reply With Quote
  #3 (permalink)  
Old 09-02-09, 15:47
bic bic is offline
Registered User
 
Join Date: Feb 2007
Posts: 42
Found a typo in one of the SET TABLESPACE CONTAINERS. It was going to E instead of F.
Reply With Quote
  #4 (permalink)  
Old 09-03-09, 04:01
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
When you have DMS tablespaces you can move your data without database downtime, the SMS tablespaces need a redirected restore so the database has to come down.
described earlier Move DMS Container from one dir to another ?

Last edited by dr_te_z; 09-03-09 at 04:07.
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