Remove individual directories from Container Pools

illllm

ADSM.ORG Member
Joined
Jan 9, 2018
Messages
153
Reaction score
2
Points
0
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.
 
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?
 
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.
 
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?
 
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.
 
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?
 
A buddy of mine found this interesting article: Link
Ended up reissuing the 'Move Container' commands for the pesky containers and BOOM, they disappeared.
 
Back
Top