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 > file system is about to reach at max

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-24-10, 09:06
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
file system is about to reach at max

Hi,



OS : AIX 32 Bit

DB2 V8.2 Single Partition

All SMS Tablespace



As AIX 32 bit support maximum 1 TB for one file system and now file system is about to reach 1TB?

so what should I do??

we can not add container in sms tablespace...



Please suggest approch?



Regards

Pawan Kumar
__________________
Regards
Pawan Kumar
Reply With Quote
  #2 (permalink)  
Old 05-24-10, 09:21
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Do you have only one tablespace?

Andy
Reply With Quote
  #3 (permalink)  
Old 05-24-10, 09:24
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
no more than one tablespace but all are SMS
__________________
Regards
Pawan Kumar
Reply With Quote
  #4 (permalink)  
Old 05-24-10, 09:27
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Look here:

DB2 Universal Database

Andy
Reply With Quote
  #5 (permalink)  
Old 05-24-10, 09:30
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
but for this need a long down time?
__________________
Regards
Pawan Kumar
Reply With Quote
  #6 (permalink)  
Old 05-24-10, 09:45
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Your only solution is to move some of the data to another file system. The quickest way I know is the db2relocatedb command. To use it you will have to do the following:

1) kick out the users and quiesce the instance (this will prevent anyone getting in while you perform the maintenance)
2) copy some of the tablespaces to a new file system. The amount of time this takes determines how long you will be down.
3) run the db2relocatedb command.
4) connect to the database and query some of the data you moved.
5) if all is working well, delete the tablespaces you copied from
6) unquiesce the instance and let users back in.

Before you start any of this you should determine which tablespaces you want to move and where. Then you setup the db2relocatedb config file.

Andy
Reply With Quote
  #7 (permalink)  
Old 05-24-10, 09:46
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
My crystal ball telling me it will be longer if you do not do anything.

You can ask your admin to add more path/drives. Create new tbs on them and start moving your table to a new location. I am amazed that you only have one path for 1tb size db.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #8 (permalink)  
Old 05-25-10, 00:25
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
what about redirect of tablespaces?
__________________
Regards
Pawan Kumar
Reply With Quote
  #9 (permalink)  
Old 05-25-10, 01:02
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
will need much longer to restore, than using relocatedb.

one option you can use if you have enough disk space is to rediected restore the db, shut down the original db, ship logs to the new db and roll forward to end of logs and rename the new db to old db using relocatedb.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #10 (permalink)  
Old 05-25-10, 05:08
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
thanks to all... I try to do.
__________________
Regards
Pawan Kumar
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