1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link 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 message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Running out of Library Slots - Need an Archive Strategy?

Discussion in 'Backup / Archive Discussion' started by Slicster, Oct 17, 2012.

  1. Slicster

    Slicster New Member

    Joined:
    Dec 8, 2009
    Messages:
    49
    Likes Received:
    0
    Hi Guys,
    I've recently noticed that we're running out of space in our TS3310 library and I believe this is because of our current backup policies which in some cases retain data up to 5 years behind. As we do not have any Archive policies set yet, all the live data is kept in our Vault and in the Library. I'd like to be sure before I go ahead and start setting up Archive policies that this will actually help our situation by only storing older data in our Vault rather than in the library? I'd also like to know if there is a way to transfer existing older data from the backup policies to archive policies so that we can already free up some space? (Hope that makes sense?)

    Nick.
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,223
    Likes Received:
    279
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Yes - the archive will help since your retention for the Backup pool will not be 5 years anymore.

    However, you cannot move backup to archive.
     
  4. Slicster

    Slicster New Member

    Joined:
    Dec 8, 2009
    Messages:
    49
    Likes Received:
    0
    Thanks moon-dubby! I will proceed with my Archive strategy.

    Is there anything someone can recommend that would help free some space in our library?
     
  5. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,223
    Likes Received:
    279
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Is collocation turned ON? If it is, and you collocate by node, try collocating by group.
     
  6. Slicster

    Slicster New Member

    Joined:
    Dec 8, 2009
    Messages:
    49
    Likes Received:
    0
    Nevermind, I looked into it and it is off on all pools.
     
  7. tsmdumber

    tsmdumber New Member

    Joined:
    Jan 27, 2011
    Messages:
    108
    Likes Received:
    3
    Mind the databases size before going to archive!!

    miillions of objects will grow the Database big time.
     
  8. nabildz

    nabildz New Member

    Joined:
    May 28, 2008
    Messages:
    123
    Likes Received:
    0
    if you are struggling with free library slots, you can always free up some slots by taking the oldest tapes which have not been using:

    q media * stg=STGPOOLNAME days=XX

    this will give you the list of tapes not used for XX days

    then use

    move media * stg=STGPOOLNAME days=XX
     
  9. Slicster

    Slicster New Member

    Joined:
    Dec 8, 2009
    Messages:
    49
    Likes Received:
    0
    I'm not sure I understand what you mean by "millions of objects will grow". ?
     
  10. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,223
    Likes Received:
    279
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Doing archive generally grows the database size - that is what is meant by "millions of objects will grow" or, the database will grow by the corresponding number of objects archived.
     
  11. etchingsj

    etchingsj Member

    Joined:
    Feb 5, 2008
    Messages:
    243
    Likes Received:
    7
    Occupation:
    Sustaining Engineer
    Location:
    Lost Wages NV
    You can also search for media that is marked full and only has 60% occupancy.

    SELECT 'MARKER', volume_name stgpool_name,pct_utilized from volumes
    WHERE PCT_UTILIZED < 10

    will output something like :

    MARKER VOLUME_NAME STGPOOL_NAME PCT_UTILIZED
    ---------- ------------------ ------------------
    MARKER A40012 pool_name 8.1
    MARKER A40015 pool_name 2.0

    Then simply do a move media or move data and if like said below collocation by group is on TSM will attempt to reorganize the data into its proper group.
    And build out your TS3310 with another E9U cabinet if possible or change your retention before its too late....;)

    Here is a shell script to automate if you have a ton of tapes and are on a Unix based system.

    Use the grep command to extract lines we want

    grep 'MARKER'

    gives

    MARKER A40012
    MARKER A40015

    use cut to extract the tape volsers

    cut -b 12-

    gives

    A40012
    A40015

    ---------------------------
    Script:

    for volume in
    $(dsmadmc -id=adminname -pass=adminpass -outfile
    "select 'MARKER', volume_name from volumes
    where pct_utilized >20 "
    | grep '^MARKER' | cut -b 12-) ;
    do dsmadmc -id=adminname -pass=adminpass -outfile
    'move data ${volume} options..' ; done

    ------------------
    Good luck!
     

Share This Page