Results 1 to 2 of 2
  1. #1
    Newcomer
    Join Date
    May 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Removing old volumes and libvolumes

    Dear all,

    I'm rather struggling with this issue: I've got a 'rogue' process that is currently gobbling up all my scratch tapes. It is a tape migration job from an old library that I managed to export all of the data off, and I no longer need this library.

    The library [or lack of it] is called i2klib.

    Okay: the dud process:

    91 Space Reclamation Volume 000011 (storage pool CRTHRI2KLIBC), Moved
    Files: 0, Moved Bytes: 0, Unreadable Files: 0,
    Unreadable Bytes: 0. Current Physical File
    (bytes): 84,515,636,969 Waiting for mount of
    scratch volume (10894 seconds).

    I've done a cancel pr 91 - and it obviously [as its TSM] just sits there trying to do nothing - other than eat my scratch tapes - for a different storage pool. I know my scratch tapes are being gobbled, because I am getting the following error:

    [repeated about lots of times]
    02/04/12 17:40:07 ANR8355E I/O error reading label for volume 104222 in
    drive TAPE03_PRIM (/dev/IBMtape6). (PROCESS: 91)

    &

    select count(*) from libvolumes where library_name='SPECTRA_PRIM' and status='Scratch'
    returns 0 - when there used to be 87 tapes there!

    Now to the library:

    000011 CRTHRI2KLIBC I2KLIB 804.7 G 41.7 Full

    The device class I2KLib hasn't existed for donkey's and the storage pool is no longer used:

    a 'q stgpool' shows the following:

    CRTHRI2KLIBC I2KLIB 7,746,359 3.7 G

    CRTHRI2KLIB_OLD I2KLIB 0.0 M 0.0 0.0 90 70 CRTHRPRIM


    So - lets try to bin these two storage pools first:

    DELETE STGPOOL CRTHRI2KLIBC

    ANR4738E DELETE STGPOOL: Storage pool CRTHRI2KLIBC is in use as a copy storage pool by one or more other storage pools.
    ANS8001I Return code 13.

    tsm: ARDTSM1>DELETE STGPOOL CRTHRI2KLIB_OLD
    ANR2382E DELETE STGPOOL: Storage pool CRTHRI2KLIB_OLD still contains at least one volume.
    ANS8001I Return code 13.

    Okay - I've now got to the limit of my knowledge here; how do I untangle this?

    Could somebody give me some pointers please?

    Thanks



    Max

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

    Default

    Sequence:

    1. Delete filespace from nodes that you don't need
    2. Delete the volumes which the filespaces from (1) above belong to (after deleting all the filespaces)
    3. Delete the stgpool that house the volumes from (2) above

    If you had covered ALL node files in (1) above, and the filespaces are all in the volumes on (2) above and in the storage pool on (3) , then the deletion will proceed without issues.
    Last edited by moon-buddy; 04-02-2012 at 03:05 PM.
    Ed

Similar Threads

  1. libvolumes last use and volhistory mismatch
    By manureano in forum TSM Operation
    Replies: 2
    Last Post: 03-12-2010, 09:32 AM
  2. Table libvolumes and audit library questions
    By LarryB in forum Tape / Media Library
    Replies: 2
    Last Post: 08-03-2009, 05:55 PM
  3. labeling libvolumes
    By influx in forum Tape / Media Library
    Replies: 1
    Last Post: 06-18-2009, 06:02 PM
  4. Merging data from volumes and libvolumes
    By umur in forum Scripting
    Replies: 2
    Last Post: 07-25-2008, 09:17 AM
  5. All libvolumes missing, please help!
    By ptutt in forum Tape / Media Library
    Replies: 6
    Last Post: 10-13-2005, 05:29 AM

Posting Permissions

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