Results 1 to 6 of 6
  1. #1
    Newcomer
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How can I check out multiple volumes using the VOLlist command?

    Hello,

    I am fairly new to TSM. Just about every Friday, I have to eject around 100 plus volumes to make room for scratch- currently I am doing this one at a time, and it is time consuming.

    My question is, how can I use the VOLlist cmd properly? Do I need to create a file with the volumes I intend to eject before this cmd will work?

    Thanks for your help.

  2. #2
    Moderator moon-buddy's Avatar
    Join Date
    Aug 2005
    Location
    Somewhere in the US
    Posts
    5,967
    Thanks
    4
    Thanked 235 Times in 230 Posts

    Default

    If your library is equipped with a multi I/O slot:

    checkout libvol <library_name> remove=bulk voll=c:\file.txt checkl=no waitt=0

    file.txt contains:

    VOL1
    VOL2
    VOL3
    .
    .
    .

    The number of tapes ejected at a time will be limited to the number of I/O slots. After removing the tapes and closing the I/O door, the next batch is ejected, and so on.

    The big question: why is that you have to eject this big number of tapes every week? Are these copy tapes? If they are, you should really be checking out daily. If they are not copy tapes, there is something fundamentally wrong with your TSM setup - as online tapes should be kept in the library.
    Ed

  3. The Following User Says Thank You to moon-buddy For This Useful Post:

    MediaGuy (12-18-2012)

  4. #3

    Default

    Alt solution:
    Physically remove the 100 tapes from the library.
    Then from the TSM Server issue audit library.

    NOTE: The AUDIT LIBRARY command does not automatically add new volumes to a library. To add new volumes, you must use the CHECKIN LIBVOLUME command.

    Like moon-buddy inquire - why are we checking out soooo many tapes?
    Legal wants to keep the data forever?

    Good Luck,
    Sias

  5. #4
    Newcomer
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks YOU guys are awesome! I will try this out on Friday. Can I use a simuliar cmd to update the access of volumes? For example, when I eject volumes, I turn around and update those volumes to read-only. Again very time consuming....ugh.

    To answer your question, these are private vols (not always 100-but seems like it has been over the past few weeks) with a read date of over 60 days that I eject out. We have daily ejects (copies), but to prevent weekend tape movement; I have to get our scratch counts (in multiple instances) up, to hold us until Monday.

    Thanks for your time!

  6. #5
    Member
    Join Date
    Mar 2008
    Location
    Minden
    Posts
    170
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Hi,
    this is what i'm use to checkout tapes. you can change to read the Vollist. The are update to acc=offsite in one step.
    $1 are spaceholder if run the script as batch for one tape. then syntax is batch tape nr.

    CHECKOUT LIBVOLUME YourStgp $1 CHECKLABEL=Yes FORCE=NO REMOVE=bulk
    if (rc_ok)
    upd vol $1 access=offsite wherestgpool=Yourstgp wheredevclass=YourDevclass

    michael

  7. #6
    Moderator chad_small's Avatar
    Join Date
    Dec 2002
    Location
    Gilbert, AZ
    Posts
    2,194
    Thanks
    1
    Thanked 26 Times in 25 Posts

    Default

    Sounds like you either need additional frames or need to switch to a disk based dedupe solution.
    Chad Small
    IBM Certified Deployment Professional
    chadsmal@gmail.com
    http://www.tsmadmin.com

Similar Threads

  1. Command to check a running restore.
    By ebisoba in forum Restore / Recovery Discussion
    Replies: 4
    Last Post: 03-02-2011, 11:25 AM
  2. Update volume with vollist?
    By jonathan274 in forum TSM Operation
    Replies: 2
    Last Post: 03-12-2010, 09:05 AM
  3. Replies: 1
    Last Post: 12-23-2009, 01:06 AM
  4. Command to check Filespace in a particular volume
    By nikhil_1707 in forum Restore / Recovery Discussion
    Replies: 2
    Last Post: 12-12-2008, 11:44 AM
  5. Striped logiv volumes OR multiple volumes
    By steven.langdale in forum Performance Tuning
    Replies: 1
    Last Post: 02-01-2007, 06:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •