Tape Storage

 View Only
Expand all | Collapse all

Old Tapes still display in Storage Pool

  • 1.  Old Tapes still display in Storage Pool

    Posted Tue June 14, 2016 01:40 AM

    Hi Experts,

    I am looking for your help to understand my query I am not able to co-releate the background function.

    here is the snapshot of one of my storage pool.

    tsm: ITSM01>q v stg=sqldbpool

    Volume Name               Storage      Device      Estimated    Pct   Volume
                              Pool Name    Class Name   Capacity   Util   Status
    ------------------------  -----------  ----------  ---------  -----  --------
    CI2982L4                  SQLDBPOOL    LTO_CLASS       3.2 T    0.1    Full
    CI2998L4                  SQLDBPOOL    LTO_CLASS     843.2 G   36.5    Full
    KG1647L4                  SQLDBPOOL    LTO_CLASS       1.6 T    5.4  Filling
    KG3852L4                  SQLDBPOOL    LTO_CLASS       4.3 T    1.7    Full
    KG5063L4                  SQLDBPOOL    LTO_CLASS       1.6 T    0.5  Filling
    KG5064L4                  SQLDBPOOL    LTO_CLASS       3.6 T   12.6    Full
    KG5065L4                  SQLDBPOOL    LTO_CLASS       1.6 T   35.1  Filling
    MY5194L4                  SQLDBPOOL    LTO_CLASS       0.0 M    0.0   Empty
    MY5198L4                  SQLDBPOOL    LTO_CLASS       2.6 T    9.9    Full
    MY5200L4                  SQLDBPOOL    LTO_CLASS     816.9 G    2.3    Full

    I wanted to know why old tapes which is not in Library or moved out from library still shows here.(that's a default function or did I do something wrong)

    any way out i can get only those tape details which is in use in specific storage pool. due to this lods of confusion is creating few tapes showing filling which is a big problem in reality only one tape will fill in one time. pls do let me know if any clarification is required.

    I run the audit many times but no luck.

     

    Regards

    Prem



  • 2.  RE: Old Tapes still display in Storage Pool

    Posted Wed June 15, 2016 08:36 AM

    Hi,

     

    is this a primary pool or a copy pool? You should not remove tapes from the library which still contains data in a primary pool. If you check in all the tapes in the pool with status filling or full, you can reclaim the space or move data to another volume.

     

    Rgd.
    Espen



  • 3.  RE: Old Tapes still display in Storage Pool

    Posted Wed June 15, 2016 10:19 AM

    Hi Espen,

    Can you pls help me to provide the syntax for reclaim on a specific volume/stgpool.

    This is my storage pool details.

    tsm: ITSM01>q stgpool

    Storage      Device       Estimated    Pct    Pct  High  Low  Next Stora-
    Pool Name    Class Name    Capacity   Util   Migr   Mig  Mig  ge Pool
                                                        Pct  Pct
    -----------  ----------  ----------  -----  -----  ----  ---  -----------
    DISKPOOL_VM  DISK             512 G    0.0    0.0    70   50  VMPOOL
    LOTUSDOMINO  LTO_CLASS-    12,800 G    8.4   50.0    90   70
                  _1
    MAILPOOL     LTO_CLASS-   196,439 G   52.0   70.2    90   70
                  _1
    SQLDBPOOL    LTO_CLASS   22,400,816    0.0    0.1    90   70
                                      G
    VMDOMINOFI-  LTO_CLASS-     8,000 G    1.4   20.0    90   70
     NAL          _1
    VMPOOL       LTO_CLASS-    40,745 G   16.7   57.6    90   70
                  _1

    I didn't understand this "You should not remove tapes from the library which still contains data in a primary pool".

    Regards

    Prem

     



  • 4.  RE: Old Tapes still display in Storage Pool

    Posted Thu June 16, 2016 03:50 AM

    reclaim

    where with duration you specify how long to run the process of reclamation



  • 5.  RE: Old Tapes still display in Storage Pool

    Posted Thu June 16, 2016 05:30 AM

    reclaim stg sqldbpool th=90

    Then monitor the process with:
    q pr
    q ac

    Rgd.
    Espen



  • 6.  RE: Old Tapes still display in Storage Pool

    Posted Sat June 18, 2016 12:42 AM

    Hi Espen,

    Pls find the output i checked and verified no tape was mounted.

    tsm: ITSM01>reclaim stg sqldbpool th=90
    ANR3512E RECLAIM STGPOOL: Error encountered in accessing data storage -
    insufficient number of mount points available for removable media.
    ANS8001I Return code 14.

    Regards

    Prem



  • 7.  RE: Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 03:33 AM

    Hi,

     

    this means the system is unable to mount the tapes in a tape drive. You can check the status with these commands:

     

    q lib
    q dr
    q path
    q mount

    Rgd.
    Espen



  • 8.  RE: Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 04:44 AM

    Espen,

    I am sharing the output on these commands I didn't find any clue.

    tsm: ITSM01>q path

    Source Name     Source Type     Destination     Destination     On-Line
                                    Name            Type
    -----------     -----------     -----------     -----------     -------
    ITSM01          SERVER          3573LIB         LIBRARY         Yes
    ITSM01          SERVER          DRIVE1          DRIVE           Yes

    tsm: ITSM01>q dr

    Library Name     Drive Name       Device Type     On-Line
    ------------     ------------     -----------     -------------------
    3573LIB          DRIVE1           LTO             Yes

    tsm: ITSM01>q libr

             Library Name: 3573LIB
             Library Type: SCSI
                   ACS Id:
         Private Category:
         Scratch Category:
    WORM Scratch Category:
         External Manager:
           RSM Media Type:
                   Shared: Yes
                  LanFree:
       ObeyMountRetention:

    as of now no tape is mounted here is the output.

    tsm: ITSM01>q mo
    ANR2034E QUERY MOUNT: No match found using this criteria.

    Regards

    Prem

     

     

     

     



  • 9.  Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 04:27 AM
    what tape library do you use and what is the number of drives whitin your
    library?

    On Monday, June 20, 2016, Espen Wallin


  • 10.  RE: Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 04:46 AM

    Hi Chavdar,

    I am using IBM TS 3100 library within that one drive is there.

    Regards

    Prem



  • 11.  Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 06:09 AM
    Hi Prem,
    with single drive library is hard to perform reclamation, so to preform
    reclamation you need at least two drives.
    You still can reclamation, but procedure is ... see below...
    You to reclaim primary storage pool you will need:
    1. addition disk space (I strongly recommend to use separate LUN) with size
    at lease size of single tape for example if you tape device is LTO5 you
    will need LUN with ~ 3 TB
    2. you need to create new device class and additional storage pool for
    reclamation
    - def devc recl_devc devt=file maxcap=40G (could be different)
    3. define stg recl_stg recl_devc maxscr=74 (74 is calculated as 3TB/40G ->
    from maxcap when you defined device class)
    4. update stg sqldbpool reclaimstg=recl_stg
    5. start reclamation as recl stg sqldbpool th=90 (start from 90% and
    continue to 85%, 80% and so on)
    6. Monitor recl_stg pool utilization if it hits 90% stop reclamation
    7. update storage pool as update stg recl_stg next=sqldbpoo
    8. migrate stg recl_stg low=0, it will move reclaimed data to tape pool.
    9. update storage pool as update stg recl_stg next=""
    10. repeat steps from 5 to 9. to free tapes.

    I know it is ugly procedure ... but IBM strongly recommends to have min two
    tape drives. As far as I know TS3100 supports two half-high drives and it
    is good if you can have one more drive
    Have a good day
    Chavdar


    On Mon, Jun 20, 2016 at 11:45 AM, Prem Singh


  • 12.  RE: Old Tapes still display in Storage Pool

    Posted Mon June 20, 2016 06:33 AM

    Hi Chavdar,

    Thanks for your detail information IBM solution architect has recomended this kind of architecture even I am not sure why he has recomended in that way. I don't have much space assign to LUN as of now. thank you very much for your response. yes you are right process is very lengthy.

    Regards

    Prem