09-25-2013 03:54 AM
Hello all,
I have started to look after some new back ups using NetBackup 6.5.4 and am having issues with putting new tapes in.
In a nutshell the Media Id does not correspond with the Barcode when a rescan/update barcodes is completed.
Is there a process that I need to follow when putting new tapes in?
many thanks in advance
Paul
Solved! Go to Solution.
09-25-2013 11:41 AM
1 Yes DVD107L4 D136L4 DVD107L4 xxxx
2 Yes AHU437LU U447LU AHU437LU xxxx
3 Yes AHU446LU U449LU AHU446LU xxxx
4 Yes AHU459LU U459LU AHU459LU OK
5 Yes DVD134L4 U448LU DVD134L4 xxxx
6 Yes AHU409LU D107L4 AHU409LU xxxx
7 Yes DVD133L4 U457LU DVD133L4 xxxx
8 Yes DVD166L4 U456LU DVD166L4 xxxx
ONE of those tapes seems Okay!!
No idea how this happened.
NBU uses the last 6 digits of a barcode by default as media-id.
So, the default for DVD107L4 would be D107L4 - no idea where and how D136L4 was added as media id.
We add Media ID Generation to tell NBU to use 1st 6 chars instead of last 6 - DVD107.
If these tapes have expired (Unassigned), it will be best to delete all of them, the decide if you want 1st 6 or last 6 characters (most users want 1st 6), add Media ID Generation Rule, then perform inventory.
Media id should now match the barcode.
You will then have to overwrite internal label to match media id.
Use the GUI - right-click, Label. De-select 'Verify label' tick-box.
09-25-2013 03:56 AM
"In a nutshell the Media Id does not correspond with the Barcode when a rescan/update barcodes is complete"
Can you give an example of this?
Did you inventory the robot?
09-25-2013 04:01 AM
Have a look at Media ID Generation - if there is an entry in vm.conf on the master server, and you are using a media server and/or a Windows Admin Console, you need to add this entry to the server where you are working from.
As per revaroo's post - please provide details of the issue. This will enable us to provide better assistance.
09-25-2013 07:02 AM
Thanks for your responses.
A robot inventory shows the correct barcode details but the Media ID column does not update with the new details in NBU Admin Console for example
the barcode of the tape 1 is DVD1234 and this shows in the Net backup admin console as
Media ID Barcode
D1234 DVD1234
and we insert a new tape with a barcode of DVD5678 and then run a inventory
it will show
Media ID Barcode
D1234 DVD5678
This prevents me from using the new tape. I believe I have either missed a step or need to set something up.
I am unable to see anything in the Media ID Generation or Barcode rules (which may be the issue?)
THe Advanced robot Inventory Options show as all defaults with the Use Barcode rules ticked but I am unable to see any rules listed.
Any pointers would be appreciated.
Regards
Paul
09-25-2013 07:44 AM
NBU Media id has 6 digits - are you sure about the 5 digits?
Does your robot have a barcode reader?
Please run this command from cmd (...\volmgr\bin) and post the txt file as File attachment:
vmcheckxxx -rn <robot-number> -rt tld -rh <robot_control_host> > C:\temp\vmcheck.txt
09-25-2013 08:18 AM
Robot Contents Volume Configuration
Slot Tape Barcode Media ID Barcode Mismatch Detected
==== ==== ============= ======== ============= =================
1 Yes DVD107L4 D136L4 DVD107L4
2 Yes AHU437LU U447LU AHU437LU
3 Yes AHU446LU U449LU AHU446LU
4 Yes AHU459LU U459LU AHU459LU
5 Yes DVD134L4 U448LU DVD134L4
6 Yes AHU409LU D107L4 AHU409LU
7 Yes DVD133L4 U457LU DVD133L4
8 Yes DVD166L4 U456LU DVD166L4
09-25-2013 08:38 AM
Bizarre, lets see your volmgr/vm.conf file!
09-25-2013 09:03 AM
MM_SERVER_NAME = <name of backup server> and that is all
09-25-2013 09:09 AM
Is that the vm.conf from the robot control host?
09-25-2013 09:11 AM
Yes I believe it is that is taken from the master server that everything is connected to
09-25-2013 09:20 AM
There is no way those labels would be applied with no barcode rules. Someone has made a mistake somewhere.
09-25-2013 11:18 AM
09-25-2013 11:41 AM
1 Yes DVD107L4 D136L4 DVD107L4 xxxx
2 Yes AHU437LU U447LU AHU437LU xxxx
3 Yes AHU446LU U449LU AHU446LU xxxx
4 Yes AHU459LU U459LU AHU459LU OK
5 Yes DVD134L4 U448LU DVD134L4 xxxx
6 Yes AHU409LU D107L4 AHU409LU xxxx
7 Yes DVD133L4 U457LU DVD133L4 xxxx
8 Yes DVD166L4 U456LU DVD166L4 xxxx
ONE of those tapes seems Okay!!
No idea how this happened.
NBU uses the last 6 digits of a barcode by default as media-id.
So, the default for DVD107L4 would be D107L4 - no idea where and how D136L4 was added as media id.
We add Media ID Generation to tell NBU to use 1st 6 chars instead of last 6 - DVD107.
If these tapes have expired (Unassigned), it will be best to delete all of them, the decide if you want 1st 6 or last 6 characters (most users want 1st 6), add Media ID Generation Rule, then perform inventory.
Media id should now match the barcode.
You will then have to overwrite internal label to match media id.
Use the GUI - right-click, Label. De-select 'Verify label' tick-box.
09-26-2013 05:07 AM
My only thought is that the tapes that are wrong can be corrected as per Mariannes post above, but is the issue going to continue happening.
Hence why we need to know if the tapes that are showing this issue when inserted are totally new and previously unknown to the environment.
09-26-2013 05:26 AM
First of all thanks for your post. I have followed Mariannes suggestions and this seems to have corrected the problem but as you say this is likely to continue. With this in mind I have ordered some new tapes as I am unable to acertain the age of the tapes.
09-26-2013 05:35 AM
Are these tapes really 'new'? Or previously used tapes just re-introduced?
We should've asked for this output before media-ids were deleted:
nbemmcmd -listmedia -mediaid <media-id>
If any of these incorrect media-ids are still available, please run above command.
10-14-2013 05:48 AM
Apologises all for not responding Mariannes suggestions seems to have worked.
However I have put some brand new tapes in this morning and when I try and run a test back up it is saying it need operator input. Is there a process I should be following when adding brand new tapes?
10-14-2013 05:49 AM
Just thought. Once the tapes are added I have run a inventory on the robot and it see the tape correctly it just doesn't seem to be able to use them.
10-14-2013 06:07 AM
Please show us attributes of one of these new tapes not getting used:
nbemmcmd -listmedia -mediaid <media-id>
as well the Storage Unit specified in the policy:
bppllist -label <STU-name> -L
Also copy all text in the job details of the job that says ' need operator input' and post here.
If tapes were added to Scratch pool or to a pool that is specified in the policy, and if density correctly matches the tape drive and STU density, there is no reason why tapes should not be used.
10-14-2013 06:12 AM
Hi Marianne,
Thanks for the quick response, below is the output for the first commeand is below
NBEMMCMD, Version:6.5.4
====================================================================
Media GUID: 1fbe5bbb-0f46-4a67-ad5f-cfb191f1a62b
Media ID: Y211L4
Partner: -
Media Type: DLT
Volume Group: ---
Application: Netbackup
Media Flags: 1
Description: Added by Media Manager
Barcode: NPY211L4
Partner Barcode: --------
Last Write Host: NONE
Created: 10/14/2013 13:00
Time Assigned: -
First Mount: -
Last Mount: -
Volume Expiration: -
Data Expiration: -
Last Written: -
Last Read: -
Robot Type: NONE
Robot Control Host: -
Robot Number: -
Slot: -
Side/Face: -
Cleanings Remaining: -
Number of Mounts: 0
Maximum Mounts Allowed: 0
Media Status: ACTIVE
Kilobytes: 0
Images: 0
Valid Images: 0
Retention Period: -
Number of Restores: 0
Optical Header Size Bytes: 0
Optical Sector Size Bytes: 0
Optical Partition Size Bytes: 0
Last Header Offset: 0
Adamm Guid: 00000000-0000-0000-0000-000000000000
Rsm Guid: 00000000-0000-0000-0000-000000000000
Origin Host: NONE
Master Host:
Server Group:
Upgrade Conflicts Flag:
Pool Number: 1
Volume Pool: NetBackup
Previous Pool Name: -
Vault Flags: -
Vault Container: -
Vault Name: -
Vault Slot: -
Session ID: -
Date Vaulted: -
Return Date: -
====================================================================
Command completed successfully.