1. 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.
  2. 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?

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

  1. mirrorsaw

    mirrorsaw ADSM.ORG Member

    Joined:
    Mar 7, 2016
    Messages:
    10
    Likes Received:
    0
    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
     
  2.  
  3. marclant

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,462
    Likes Received:
    346
    Occupation:
    Accelerated Value Specialist for Spectrum Protect
    Location:
    Canada
    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

    Joined:
    Apr 2, 2007
    Messages:
    344
    Likes Received:
    32
    Occupation:
    IT operations
    Location:
    Oslo, Norway
    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: Mar 9, 2017

Share This Page