• 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.

Reclaim from directory containers?

mirrorsaw

ADSM.ORG Member
#1
Last year we created a new DIRC STGP and gave it about 10TB of storage which mostly filled up - but recently we decided that DIRC is not actually a good solution for us, so we are changing back to DISK pools.

We've defined a new disk pool and our backups have been going into there for about a month now, but we're not getting any space back from the DIRC and I assume this is because even though versions are expiring from the DIRC, the containers won't actually be removed from the filesystem until they're 100% empty (or maybe not even then?).

Is there any way we can consolidate the data into fewer containers and delete the empty ones to reclaim space?

Any suggestions would be very much appreciated
 

marclant

ADSM.ORG Moderator
#2
Is there any way we can consolidate the data into fewer containers and delete the empty ones to reclaim space?
Kind of. It's rather painful though. At a high level, it would involve protecting the stgpool, marking it destroyed, and repairing it on less containers.
the containers won't actually be removed from the filesystem until they're 100% empty (or maybe not even then?).
Yes it will when they are empty. But keep in mind that as long as an extent is referenced, it will remain in the container pool.
 

Trident

TSM noob with 10 years expirience
ADSM.ORG Moderator
#3
Hi,
You can look at move container command. Based on output from q container f=d, find the containers with most free space and move them to free space. You can also slook at 'select * from contaiers' and find which ones to move to get the most free space. Keep in mind the reuse value from 'q stg XXXXX f=d'

select 'move container '||cast(CONTAINER_NAME as char(50)) from containers where STGPOOLDIR_NAME='/tsm/tod/03' and STATE='AVAILABLE'
 
Last edited:

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: 8 21.6%
  • Keep using TSM for Spectrum Protect.

    Votes: 19 51.4%
  • Let's be formal and just say Spectrum Protect

    Votes: 6 16.2%
  • Other (please comement)

    Votes: 4 10.8%

Forum statistics

Threads
30,972
Messages
131,803
Members
21,229
Latest member
sladewetps
Top