1. Please help support our sponsors by considering their products and services.
    Our sponsors enable us to maintain high-speed Internet connection and fast webservers.
    They support this free information and knowledge exchange forum service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions

Reclaim from directory containers?

Discussion in 'Backup / Archive Discussion' started by mirrorsaw, Mar 8, 2017.

  1. mirrorsaw

    mirrorsaw ADSM.ORG Member

    Mar 7, 2016
    Likes Received:
    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
  3. marclant

    marclant ADSM.ORG Moderator

    Jun 16, 2006
    Likes Received:
    Accelerated Value Specialist for Spectrum Protect
    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.
    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.
  4. Trident

    Trident TSM noob with 10 years expirience ADSM.ORG Moderator

    Apr 2, 2007
    Likes Received:
    IT operations
    Oslo, Norway
    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: Mar 9, 2017

Share This Page