cancel
Showing results for 
Search instead for 
Did you mean: 

Barcode problem

abu_jaman
Level 6
Hi all exports,
 
I have my media in Netbackup volume pool. I did inventory of robots and it showed wiered barcode of two tapes.
The media id should be 000016  and 000003 but it shows the media id like 000J16 and 003L3. The barcode should be like 000016L3  and 000003L3 but it displays 000J16 and 003L3. My Netbackup version 6.5 and we use Sun storadge C4.
/dev/sg/c0t0l0: Disk (/dev/rdsk/c0t0d0): "SEAGATE ST973402SSUN72G"
/dev/sg/c0t1l0: Disk (/dev/rdsk/c0t1d0): "SEAGATE ST973402SSUN72G"
/dev/sg/c1t0l0: Changer: "QUANTUM PX500"
/dev/sg/c1t1l0: Tape (/dev/rmt/0): "HP      Ultrium 3-SCSI"
/dev/sg/c1t2l0: Tape (/dev/rmt/1): "HP      Ultrium 3-SCSI"
How i could resolve this barcode problem.
 

 Robot Contents
Slot Tape  Barcode    
==== ====  ============
   1  Yes  000010L3    
   2  Yes  000021L3    
   3  Yes  000023L3    
   4  Yes  000009L3    
   5  Yes  000011L3    
   6  Yes  000012L3    
   7  Yes  000007L3    
   8  Yes  000013L3    
   9  Yes  000032L3    
  10  Yes  000J16L3    
  11  Yes  000017L3    
  12  Yes  000018L3    
  13  Yes  000019L3    
  14  Yes  000020L3    
  15  Yes  000031L3    
  16  Yes  000022L3    
  17  Yes  000001L3    
  18  Yes  000024L3    
  19  Yes  000034L3    
  20  Yes  000026L3    
  21  Yes  000036L3    
  22  Yes  000028L3    
  23  Yes  000029L3    
  24  Yes  000030L3    
  25  Yes  000002L3    
  26  Yes  003L3       
  27  Yes  000004L3    
  28  Yes  000035L3    
  29  Yes  000008L3    
  30  Yes  000006L3    
  31   No
  32   No
15 REPLIES 15

zippy
Level 6
delete it from the library and put a new barcode on it.

abu_jaman
Level 6
Delete what? I mean i will delete the barcode from the library of the media# 000003?

zippy
Level 6
delete   26  Yes  003L3     
pull it out of the library and put a new bar code on it.
 
I'm sure it has no data on it, if it does you cannot delete it from the database the only way to remove the knowlegeof this tape is to do a bpexpdate -ev 003L3 -d 0
then delete it

abu_jaman
Level 6
Yes it has no data in it. Can you give me tips to delete the barcode manually and reassign it. I know you are the expert and your help will ever be greateful to me.

abu_jaman
Level 6

Is it the code?

vmquery -deassignbyid 00L3 4 0x0

Delete the tape

  • vmdelete -m 00L3

zippy
Level 6
you have to delete the images first then delete it from the library.

abu_jaman
Level 6
There are no images

abu_jaman
Level 6
Do i have to pull it out physically from the library or i can do it through GUI?

abu_jaman
Level 6
Do i have to level it

abu_jaman
Level 6
----------------------------------------------------------------
03/26/2008 18:25:13
Robot: TLD(0) on netbak
Operation: Inventory and Update
EMM Server: netbak
--------------------------------------------------------------------
Generating list of recommended changes ...
Proposed Change(s) to Update the Volume Configuration
=====================================================
Logically move media ID 000003 (barcode 000003L3) from slot 26 to standalone residence.
Logically add new media 003L3 (barcode 003L3) to robot slot 26.
Updating volume configuration ...
Processing existing media removed from or moved within the robotic library by
logically moving media to standalone residence as follows...
 Media ID Slot
 ======== ====
  000003    26
Processing new media added to the robotic library by logically
adding media with new media IDs as follows...
 Media ID Slot
 ======== ====
  003L3     26

Volume configuration successfully updated.
 
--------------------------------------------------------------------

Omar_Villa
Level 6
Employee
Hi,
 
      You can also change the number of characters that Netbackup automaticly takes from the barcode, default is last 6 chars, you can change this to be the first 6, normaly the L3 at the end is to indicate that is LTO3 media, other thing can be that the bar code is wrong.
 
 
Regards

abu_jaman
Level 6
How i can resolve my above issue. I deleted the medis id 00L3 and added the new media with barcode on it. It shows the same thing when i update the robot,
# vmdelete -m 003L3
# vmadd -m 000003 -mt HCART3 -verbose -rt tld -b 000003L3 -rn 0 -rc1 26 -p 1 -mm 0
Media ID 000003 has been added
# vmdelete -m 000016
# vmadd -m 000016 -mt HCART3 -verbose -rt tld -b 000016L3 -rn 0 -rc1 26 -p 1 -mm 0
Could not add media ID 000016: robotic volume position is already in use (37)
# vmadd -m 000016 -mt HCART3 -verbose -rt tld -b 000016L3 -rn 0 -rc1 10 -p 1 -mm 0
Media ID 000016 has been added
#
What is the steps to solve this problem? Please help.

J_H_Is_gone
Level 6
I guess we do have to level it.
 
eject the tape from the robot.
 
then delete the tape from netbackup.
 
you can try using the same barcode or give it a new one.
 
then put it back in the robot and update.
 
If you give it a new one try to do a bplabel on it once it is back in the robot.
 
What I think you don't know.
your robot as a list of what it has inside. its own little database keeps track of this.
 
then you have the netbackup database of tapes with what it thinks is in the robot and what is not in the robot.
 
if you delete a tape from netbackup but do not take the tape out of the robot, and you try to use the same slot or do an update, the netbackup database will want to update itself to what the robot says.
 
in the same vain, if you take a tape out of your robot by hand, and do not update netbackup then netbackup will think the tape is still in the robot.
 
so to start, take it out of robot, delte it from netbackup, put tape in with same or new barcode and update and sew what it reads in as.

abu_jaman
Level 6
I resolved the issues yesterday.

1) Deleted the tape vm delete command
2) Regenerated the barcode.
3) Shut down the netbackup console and library too
4) Inventoried the robot and worked

Thanks for your suggestions and feedback.


Stumpr2
Level 6
Nice thread, thanks for the follow up.