06-28-2011 07:14 AM
I have netbackup 7.0.1 installed on windows server 2008
I used to have tapes that were not bercoded in my storage unit(tape library) for backus, but now they are being replaced gradually with barcoded tapes.
We have about 7 new barcoded tapes that have been inserted with 8 non barcoded tapes in the tape library, but after doing a robot inventory update,
i just get to see only one tape drive with its barcode, other tapes remain in this format A00001, etc..
Am i missing out something......
Solved! Go to Solution.
07-08-2011 03:51 AM
Yes, the barcodes are not displayed, exactly as you explained in your first post.
You can look at NBU all day long, you will never fix the issue, it is not Netbackup causing the problem, based, on what we know so far.
As mentioned previously, if you look in robtest, you will see something like this :
Example 1 is what I think your system will look like.
Example 2 is what it should look like ...
Example 1
root@womble upgrade $ robtest
06-28-2011 07:37 AM
Odd that it recognizes one of them. First check the library to ensure it is reading barcodes correctly. (review the hardware documentation on how to do that)
06-28-2011 08:54 AM
Just run robtest
/usr/openv/volmgr/bin/robtest
select the robot number
run ' s s '
look at each slot do you see a barcode ?
If no, then the robot is unable to read the barcodes on the tape, nothing to do with NBU.
The output of robtest, is what the library can see, it then tells NBU. If there are missing barcodes, it is because the library is having a problem.
Some tape labels are just not of a high enough quality to be read.
Martin
06-28-2011 10:50 PM
Netbackup by default give its media ID for the new medias inserted when there is no barcode on the tape. Makesure the netbackup Media ID and the bar codes are assigned with out any overlap and confusions.
Define Media rules in Library Console and in Netbackup as well.
--Praveen
06-30-2011 08:25 AM
The command vmphyinv will ask your robot to mount each tape, and read its label.
You can chose the slots you want to analyze.
(Robotic inventory) vmphyinv -rn robot_number [-rh robot_control_host] [-h device_host] [-pn pool_name] [-v volume_group] [-rc1 robot_coord1 -number number] [-drv_cnt count] [-non_interactive] [-mount_timeout timeout] [-priority number] [-verbose] (Robotic inventory based on media ID list) vmphyinv -rn robot_number [-rh robot_control_host] [-h device_host] -ml media_id:media_id:...:media_id [-drv_cnt count] [-non_interactive] [-mount_timeout timeout] [-priority number] [-verbose] (Robotic inventory based on slot list/range) vmphyinv -rn robot_number [-rh robot_control_host] [-h device_host] [ { { [-slot_range from to] [-slot_list s1:s2:...sN] } -d density } { { [-slot_range from to] [-slot_list s1:s2:...sN] } -d density } ... ] [-drv_cnt count] [-non_interactive] [-mount_timeout timeout] [-priority number] [-verbose]
Once NetBackup has identified each tape with its mediaID and its slot, you can request a Barcode Update from the GUI.
You can also use the commande line : vmchange to assign a new barcode to a tape. That will work, assuming the barcode is not known by NetBackup yet. This means you should have not made a robot inventory before the vmphyinv.
vmchange [-h <EMM_server> | <volume_database_host>] -barcode <barcode> -m <media_id> [-rt <robot_type>]
07-08-2011 02:52 AM
Hi can you guys please take a look at the attached screenshots of the storage unit with just one of the tape media with barcode
07-08-2011 03:48 AM
We can see that there seems to be one tape in the robot with a barcode.
Have you run 'robtest' as per Martin's post?
's s' will show what the robot sees in each slot.
Windows path: <install-path>\veritas\volmgr\bin\robtest.
Please also see this TN: http://www.symantec.com/docs/TECH83129
07-08-2011 03:51 AM
Yes, the barcodes are not displayed, exactly as you explained in your first post.
You can look at NBU all day long, you will never fix the issue, it is not Netbackup causing the problem, based, on what we know so far.
As mentioned previously, if you look in robtest, you will see something like this :
Example 1 is what I think your system will look like.
Example 2 is what it should look like ...
Example 1
root@womble upgrade $ robtest
08-10-2011 12:47 AM
Hi Thanks mph999... I totally agree with your comment.
I finally had to call in symantec support on this case and we found out that the problem was from the tape library.
The tape library is not actually reading the barcodes.
So thanks everyone and mph999, for all your comments.
08-10-2011 01:29 AM
Thanks for the feedback. Pity you had to log a support call just to hear what everyone has been telling you from day 1....