Forum Discussion

Vickie's avatar
Vickie
Level 6
11 years ago

Cleaning media

Hi All,
 
Please let me know, how to differentiate between a cleaning tape media or backup tape media ?
Reason I  am asking is ?
I have got an Cleaning tape inserted in the library, but that is moved to NetBackup Pool instead of going to None pool after doing inventory.
After that I moved the media to None pool from NetBackup pool, and while run the Cleaning job the media is not being recognized as cleaning tape.
 
So, how can I make sure that the media is Cleaning media not the backup tape ?
 
  • Make sure the density of the cleaning tape is set to one of the cleaning densitys.

    EG. If drives are set to hcart, cleaning media should be hc_cln

    If drives are hcart2, cleaning media should be hc2_cln

    It should also be in the NONE pool as you are aware

    You can change the density like this :

    vmchange -m <media id> -new_mt <density>

    vmchange -m CLNU02 -new_mt hcart2_clean

10 Replies

  • Make sure the density of the cleaning tape is set to one of the cleaning densitys.

    EG. If drives are set to hcart, cleaning media should be hc_cln

    If drives are hcart2, cleaning media should be hc2_cln

    It should also be in the NONE pool as you are aware

    You can change the density like this :

    vmchange -m <media id> -new_mt <density>

    vmchange -m CLNU02 -new_mt hcart2_clean

  • Hi,

    you can automate this task by creating the apprpriate "Barcode-Rule".

    In this Barcode-Rule (it's reached in "Advanced Options" of the Robot-Inventory-Menu) you can specify which Media-Barcode will lead to move the Medium in a specified Volume-Pool.

    For example: CLN => hcart_clean.

    Regards,

    Gerrit

  • You need to use barcode with the CLN prefix. Barcodes for data tapes and cleaning tapes are different.

  • Thanks All ,

    Barcode rule set for CLN, but the media which inserted is not labeled with Barcode as CLN due to which its going in "NetBackup Pool" which then I moved to "None Pool".

    But the Density of media is Hcart2, as per Martin post I'll go to change the Density to hc2_cln, let see if that works.

    Que: Suppose if the Barcode is not set to CLN, then only the density what we can check to identify the Cleaning media ?

     

  • Yep, it might work ...  As Nicolai suggests normally cleaning media must start CLN or some robots are CLU, but if NBU is doing the cleaning it probably doesn't matter.

  • Vmchange is giving error, as invalid media type.
     
    D:\VERITAS\Volmgr\bin>vmchange -m XYX -new_mt HC2_CLN
    invalid media type (9)
  • Having any non-barcoded media in a robot with a barcode reader is not a good idea - just creating uneccessary manual work and headaches.

  • Extract from NBU Commands manual

    Valid media types for NetBackup Enterprise Server are:
     
    4mm, 8mm, 8mm2, 8mm3, dlt, dlt2, dlt3, dtf, hcart, hcart2,
    hcart3, qcart, 4mm_clean, 8mm_clean, 8mm2_clean, 8mm3_clean,
    dlt_clean, dlt2_clean, dlt3_clean, dtf_clean, hcart_clean,
    hcart2_clean, hcart3_clean.
  • Getting below error in cleaning job.
     
    11/28/2013 9:43:34 AM - requesting resource Storage_Unit
    11/28/2013 9:43:34 AM - Error nbjm(pid=2560) NBU status: 96, EMM status: Cleaning media is not available   
    11/28/2013 9:43:36 AM - end operation
    resource request failed(800)
     
    Getting the error on Device Monitor from where running the Cleaning job, screen shot attached for error.
     
    Barcode rule is set to "CLN" will go to "None" pool, as you can see the screen shot I attached.
     

     

  • Barcode rules are for tapes with barcodes, not for non-barcoded media.
    You have to set all properties manually.

    What media-id was assigned to the cleaning tape?
    The default for non-barcoded media is A000##

    Please show us output of media-id for your cleaning tape:

    vmquery -m <media-id>

    And the following for devices:

    tpconfig -l

    (both commands are in D:\VERITAS\Volmgr\bin)