Forum Discussion

liuyang's avatar
liuyang
Level 6
13 years ago

Recorded media ID and external media ID inconsistant

Hi, my master servers are NBU 7.1 on Windows 2008 R2. Our tape library is IBM TS3310 with LTO4 FC tape drives. Recently I found there are some errors for some tapes: the recorded media ID and external media ID are different for these tapes. How to update to make them the same? Thanks in advance.

  • Run a Netbackup "Label" operation on the media. Make sure to "uncheck" verify media label.

    A label operation erases the tape.

    I guess you are re-using tape from another Netbackup domain. Remember to label media before re-using them.

  • Run a Netbackup "Label" operation on the media. Make sure to "uncheck" verify media label.

    A label operation erases the tape.

    I guess you are re-using tape from another Netbackup domain. Remember to label media before re-using them.

  • I'm curious to know exactly 'how different' the labels are?

    Is it just a difference of last 6 characters or 1st 6 characters? e.g. A00001L3 written by one server as A00001 and a new library (without Media Id Generation rule on master/media/admin console) sees it as 0001L3?

    Or are they totally different? This can happen when the labels on the tapes were physically replaced or when device mapping was incorrect at some point in time.

    Nicolai is correct - to fix you need to re-label. Please note that only unassigned tapes (all backups expired) can be re-labelled.

  • Do bear in mind that if there is any valid data on the tapes (if they still have a time assigned) then by running a bplabel it will overwrite them and that data will not be recoverable - so just be careful

    If it is just a simple media ID / Barcode mismatch then you can change a tapes barcode reference if you make changes to the library / barcode rules but give us more information first so that we can advise on the best way forwards

  • Thanks a lot for all your advices.

    The recorded media ID shows the last 6 charaters (e.g., 3456L4) of the barcode and the external media ID shows the first 6 characters (e.g, 123456) of the barcode.

    The issue is resolved by re-lable the media.

  • Ok - so you need to make sure you have no valid images on the tape then delete it from NetBackup

    Add it back in by inventorying the library so that the barcode and media ID are both correct and then you can bplabel it - this avoids any conflicts in the NetBackup volume database