cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable barcode rules

mubarack_s
Level 6

Hi,

    We are using NBU 6.5.6 with SL500 tape library, We are facing frequenly facing error code 96 without the volumes with the scratch pool. Since the expired tapes are not coming back to scratch pool automatically. By manaul we are moving the expired catriages to  scratch pool. How can I enable the barcode rules with the exising setup without affecting the data's.

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Barcode rules only apply to NEW tapes.

'Return to Scratch' have 2 requirements:

The media's 'previous pool' must be Scratch.

Example from my lab:
root@v240-2 #  nbemmcmd -listmedia -mediaid A00004 |grep -i pool
Pool Number:                    1
Volume Pool:                    NetBackup
Previous Pool Name:             -
 

Previous Pool Name is blank - my media id A00004 will NOT be returned to scratch when it expires.
To fix this, all unassigned media must be manually changed to Scratch. You should only need to do this once for each media-id.

RETURN...TO_SCRATCH must be set on EMM server:

root@v240-2 # nbemmcmd -listsettings -machinename v240-2 |grep -i pool
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"

 

Barcode rules for new media can be added in the Robot Inventory GUI. Click on Update Volume Configuration, then Advanced Settings.
Use the Barcode Rules tab to add a rule for all tapes starting with a unique string to be added to Scratch.

View solution in original post

3 REPLIES 3

Marianne
Level 6
Partner    VIP    Accredited Certified

Barcode rules only apply to NEW tapes.

'Return to Scratch' have 2 requirements:

The media's 'previous pool' must be Scratch.

Example from my lab:
root@v240-2 #  nbemmcmd -listmedia -mediaid A00004 |grep -i pool
Pool Number:                    1
Volume Pool:                    NetBackup
Previous Pool Name:             -
 

Previous Pool Name is blank - my media id A00004 will NOT be returned to scratch when it expires.
To fix this, all unassigned media must be manually changed to Scratch. You should only need to do this once for each media-id.

RETURN...TO_SCRATCH must be set on EMM server:

root@v240-2 # nbemmcmd -listsettings -machinename v240-2 |grep -i pool
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"

 

Barcode rules for new media can be added in the Robot Inventory GUI. Click on Update Volume Configuration, then Advanced Settings.
Use the Barcode Rules tab to add a rule for all tapes starting with a unique string to be added to Scratch.

Marianne
Level 6
Partner    VIP    Accredited Certified

Please let us know if the above answered your question?

mubarack_s
Level 6

Hi Marrianne,

            Thank you. The answer  you have provided helped me to reconfigure my setup. Thank you.