• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Remove individual directories from Container Pools

illllm

ADSM.ORG Member
#1
Is it possible to Remove individual directories from Container Pools? We moved the backups to a different TSM server for a certain client. The data is gradually reducing in the old pool and there is 75% free now. I would like to reclaim some space to be allocated elsewhere that are critically in need because our storage is also full.
 

illllm

ADSM.ORG Member
#4
These are my containers:
/stg/filepool_c0 Read/Write
/stg/filepool_d0 Read/Write
/stg/filepool_e0 Read/Write
/stg/filepool_f0 Read/Write
/stg/filepool_c1 Read/Write
/stg/filepool_d1 Read/Write
/stg/filepool_e1 Read/Write
/stg/filepool_f1 Read/Write
/stg/filepool_c2 Read/Write
/stg/filepool_d2 Read/Write
/stg/filepool_e2 Read/Write
/stg/filepool_f2 Read/Write
/stg/filepool_c3 Read/Write
/stg/filepool_d3 Read/Write
/stg/filepool_e3 Read/Write

I will start off with the last one e3

/stg/filepool_e3/00/01/0000000000010009.dcf
/stg/filepool_e3/00/01/0000000000010018.dcf
/stg/filepool_e3/00/01/0000000000010036.dcf
/stg/filepool_e3/00/01/0000000000010045.dcf
/stg/filepool_e3/00/01/0000000000010054.dcf
/stg/filepool_e3/00/01/0000000000010063.dcf
/stg/filepool_e3/00/01/0000000000010087.dcf
/stg/filepool_e3/00/01/0000000000010096.dcf
/stg/filepool_e3/00/01/00000000000100a5.dcf
/stg/filepool_e3/01/01/000000000001016b.dcf
/stg/filepool_e3/01/01/000000000001017a.dcf
.......

/stg/filepool_e3/ff/000000000000ff64.dcf
/stg/filepool_e3/ff/000000000000ffa0.dcf
/stg/filepool_e3/ff/000000000000ffbe.dcf
/stg/filepool_e3/ff/000000000000fffa.dcf

so the command will be

MOVE CONTAINER /stg/filepool_e3/00/01/0000000000010009.dcf DEFRAG=YES -STGPOOLDIR=/stg/filepool_c0

And move them all one by one and spread it out evenly among the remaining STGPOOLDIR?
 

illllm

ADSM.ORG Member
#6
I ended up with just "move container /stg/filepool_e3/00/01/0000000000010009.dcf w=y"

after setting them to read only.

the defrag option was not available.
 

droach

ADSM.ORG Senior Member
#8
I am missing something. So you set the STGPOOLDIRs to read-only and start issuing the MOVe CONTainer commands to empty each container in the STGPOOLDIR. How do you remove the now empty containers so you can issue the command DELete STGPOOLDIRectory?
 

Trident

TSM noob with 12 years expirience
ADSM.ORG Moderator
#9
After reusedelay has passed, the files will be removed by SP server. Chek with q container /you/path/*

Then you cab issue del stgpooldire NAME DIRECTORY

There will be directories left that you must remove manually.
 

droach

ADSM.ORG Senior Member
#10
Ok, I see some have disappeared. I have set my REUsedelay to 0, and I see them in a 'Pending' state, but I am tired of waiting...any way to force the server to do the clean up?
 

droach

ADSM.ORG Senior Member
#11
A buddy of mine found this interesting article: Link
Ended up reissuing the 'Move Container' commands for the pesky containers and BOOM, they disappeared.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.4%
  • Keep using TSM for Spectrum Protect.

    Votes: 60 61.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.2%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Threads
31,688
Messages
135,070
Members
21,703
Latest member
agent0810
Top