Forum Discussion

yngrblajay's avatar
yngrblajay
Level 4
12 years ago

Media label id discrepencies

Previously few of the media were labelled with the Last Six characters of the bar code inventory rule, Now all the rest follow the First Six.

Now I need a solution to fix this one so that all the media have the same media id format.

If we change the media id will it effect the restorations/backups in future

The below is the current first 6 characters format.

This one is correct.

root:masterserver:/ # vmquery -m L31410
================================================================================
media ID:              L31410
media type:            1/2" cartridge tape 3 (24)
barcode:               L31410L3
media description:     LTO3 tapes
volume pool:           PWSCPLC11-GO (11)
robot type:            TLD - Tape Library DLT (8)
robot number:          1
robot slot:            491
robot control host:    masterserver
volume group:          000_00001_TLD
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---
vault session id:      ---
vault container id:    -
created:               Wed Mar 19 15:49:36 MDT 2008
assigned:              Sat Mar 23 18:00:17 MDT 2013
last mounted:          Sun Mar 24 00:41:53 MDT 2013
first mount:           Sun Mar 23 03:04:02 MDT 2008
expiration date:       ---
number of mounts:      183
max mounts allowed:    ---
status:                0x0
================================================================================

This below one has issue.

root:masterserver:/ # vmquery -m 6475L3
================================================================================
media ID:              6475L3
media type:            1/2" cartridge tape 3 (24)
barcode:               L36475L3
media description:     LTO3 tapes
volume pool:           Oracle_Pool (7)
robot type:            TLD - Tape Library DLT (8)
robot number:          1
robot slot:            140
robot control host:    masterserver
volume group:          000_00001_TLD
vault name:            LTO3
vault sent date:       Wed Mar  6 10:59:12 MST 2013
vault return date:     ---
vault slot:            1635
vault session id:      959
vault container id:    -
created:               Thu Jul 12 06:39:44 MDT 2012
assigned:              Sat Mar  2 03:05:20 MST 2013
last mounted:          Sun Mar  3 09:18:22 MST 2013
first mount:           Sat Jul 14 02:23:31 MDT 2012
expiration date:       ---
number of mounts:      98
max mounts allowed:    ---
status:                0x0
================================================================================

  • if the old Media ID tapes have the valid images.. you would need to wait until they expire it..

    once they expire it, you can delete from the Netbackup and invenry again.. to have the New media id..

    when tapes have valid images you can not delete them.. relableing the tape will loss the access on data on the tapes.

    so Freeze the tapes .. let them expire.. --> delete---> readd

    els duplidate the data to another tapes---> expire manually--> delete--- readd

2 Replies

  • if the old Media ID tapes have the valid images.. you would need to wait until they expire it..

    once they expire it, you can delete from the Netbackup and invenry again.. to have the New media id..

    when tapes have valid images you can not delete them.. relableing the tape will loss the access on data on the tapes.

    so Freeze the tapes .. let them expire.. --> delete---> readd

    els duplidate the data to another tapes---> expire manually--> delete--- readd

  • As Nagalla says you cannot change the mediaid if data is active on it - so you need to wait until they expire and then delete from NetBackup and re-add with the correct media id generation rule in place However - what you will also then need to do relabel them as the media id is writtnew to the tape header - so wait until they expire, delete, re-inventory and then relabel (either from the command line so that you can answer the overwrite promt or from the GUI with the verify option de-selected) Hope this helps