12-03-2013 07:35 PM
Netbackup version is Appliance 5220.
The customer has a tape A which is stored NBU image previously, but all the images in A had been expired prior to this issue happened.
The customer put the tape A in the A pool, and there is only A tape in A pool, then the customer start up the backup to pick up the A tape from A pool, but they saw the error 96 immediately after the backup start up. Change the tape A into B pool, stracth pool also the same result.
The available_media command shows the A tape is available status.
From GUI, I found out the owner of the A tape is NONE since it's blank tape.
bplabel command failed with the below two type errors:
2013-12-2 15:42:57 - Error nbjm (pid=10956) NBU status: 800, EMM status: Media is not in pool
error requesting media (tpreq) (98)
Error nbjm (pid=10956) NBU status: 2015, EMM status: Media is expired
error requesting media (tpreq) (98)
It seems that the tape can't be labeled even it's really a blank tape.
The command
we confirm the robtest can move the problematical tape into the driver.
And the tpreq command can also mount the tape successfully.
In addition, the mt command can rewind the tape, and the tar command can write the ect/host file into this tape.
But I am not aware of why the bplabel command failed with the issue appearing that:error requesting media (tpreq) (98). And the tape can't be selected during the backup process which resulted in the 96 error.
The issue got resolved after I did the below two things:
vmdelete -m A
Then inventory the robot to add the tape back in emm database.
However, may I get your further clarification of the possible reason?
Solved! Go to Solution.
12-04-2013 01:39 AM
You need to check you media rules - the tape is showing as expired - this does not relate to data it relates to the tape itself - reteired as in too old and dont use it again
Usually this would be set under your barcide rules on the inventory section (inventory robot - advanced options - barcode rules) and is set as a maximum number of mounts (max mounts / cleanings)
That section should be set to zero.
You can also view this column (Columns - Layout .. show max mounts and also media expiry) in the media view of the admin console
You can change the max mounts and media expiry date for media by right clicking it and select "change"
Check your tapes and set them all to "no limit" for max mounts and "never" for expiration date to prevent this happening again
The reason it worked after you deleted it and re-added it was NetBackup saw it as new media so will start the clock again - but eventually it will physically expire again if you have these rules setup
Hope this helps
12-04-2013 01:39 AM
You need to check you media rules - the tape is showing as expired - this does not relate to data it relates to the tape itself - reteired as in too old and dont use it again
Usually this would be set under your barcide rules on the inventory section (inventory robot - advanced options - barcode rules) and is set as a maximum number of mounts (max mounts / cleanings)
That section should be set to zero.
You can also view this column (Columns - Layout .. show max mounts and also media expiry) in the media view of the admin console
You can change the max mounts and media expiry date for media by right clicking it and select "change"
Check your tapes and set them all to "no limit" for max mounts and "never" for expiration date to prevent this happening again
The reason it worked after you deleted it and re-added it was NetBackup saw it as new media so will start the clock again - but eventually it will physically expire again if you have these rules setup
Hope this helps
12-04-2013 02:05 AM
Thanks Mark's suggstion.
I just perform a quick test.
I changed the E01020 maixmum mount to 2, from the GUI, I saw the E01020's mount times is already 2.
Then I bpexpdate -m E01020 -d 0
Then I label the media, found out the similar issue tpreq 98:
12-04-2013 05:46 AM
Please check hardware expiration date as per Mark's suggestion (not Image expiration date).
Some users mistake this expiration setting with Image Expiration.
Hardware expiration is set manually when the backup admin feels that the tape is faulty/too old to be used.
12-04-2013 07:55 PM
Thanks Marianne, I got the difference of the mdia expriation and image expiration.
Best Regards!