Ok, move back the characters of the library to 6 and delete from
netbackup all tapes that are at the scratch pool and all tapes that you try to
use during this period (like 000717L1). Be sour that no backups
are written to the tapes you will delete. If you are not sour about the frozen
tapes just remove them from the library.
After you delete the tapes rerun the inventory and be sour
that you have tape ID 000717 and barcode 000717 (NOT
with L1).
From: BeDour, Wayne [mailto:WBedour AT lear DOT com]
Sent: Wednesday, January 06, 2010 9:02 PM
To: smpt; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules
Well I thought that took care of the issue but there is still a
problem. I ran an inventory on my tapes after changing the Barcode Label
Length to 6 and everything looked good. I tried to run a duplication
using the new library and tapes with the 6 character bar codes and it couldn’t
find any media and gave me a 96 error. Note, the tapes I’m trying to use
are scratch tapes that from the old library that are cataloged in
NetBackup. Basically all that’s been done is the tape library has been changed
along with the addition of a Data Domain VTL. In trying to debug
this, I changed the Barcode Label Length back to 8, reran the inventory, kicked
off my dupe job and got the output below. The D11230 is the source of the
duplication and it says it is mounting 0717L1 which is the Media ID for barcode
000717L1 then saying it found 000717 in the drive. The Media
ID and barcode are getting shifted both ways, how do I get this to use only the
leftmost 6 characters and recognize them when I kick off a job? Anyone
have any idea what’s going on and what I can do to take care of this????
01/06/2010 13:48:57 - begin Duplicate
01/06/2010 13:48:57 - requesting resource
yos_sam1-hcart2-robot-tld-0
01/06/2010 13:48:57 - requesting resource D11230
01/06/2010 13:48:57 - reserving resource D11230
01/06/2010 13:48:58 - resource D11230 reserved
01/06/2010 13:48:58 - granted resource 0717L1
01/06/2010 13:48:58 - granted resource HP.ULTRIUM2-SCSI.003
01/06/2010 13:48:58 - granted resource yos_sam1-hcart2-robot-tld-0
01/06/2010 13:48:58 - granted resource D11230
01/06/2010 13:48:58 - granted resource IBM.ULTRIUM-TD1.006
01/06/2010 13:49:05 - started process bptm (pid=25248)
01/06/2010 13:49:15 - started process bptm (pid=25394)
01/06/2010 13:49:17 - started process bptm (pid=25248)
01/06/2010 13:49:17 - mounting 0717L1
01/06/2010 13:49:18 - started process bptm (pid=25394)
01/06/2010 13:49:18 - mounting D11230
01/06/2010 13:49:29 - mounted D11230; mount time: 0:00:11
01/06/2010 13:49:29 - positioning D11230 to file 1
01/06/2010 13:49:29 - positioned D11230; position time: 0:00:00
01/06/2010 13:49:30 - begin reading
01/06/2010 13:50:11 - Error bptm (pid=25248) incorrect media found
in drive index 14, expected 0717L1, found 000717, FREEZING 0717L1
01/06/2010 13:50:11 - current media 0717L1 complete, requesting
next media Any
Thanks
From: smpt [mailto:smpt1 AT peppas DOT gr]
Sent: Wednesday, January 06, 2010 8:14 AM
To: BeDour, Wayne; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules
This is because your old library was giving you only the first 6
characters of the barcode. All new libraries gives you all 8 barcode characters
. To change this, go to your library GUI and logon as administrator.
Go to configuration -> system and change the value of “Barcode
Label Length Reported To Host from 8 to 6.
Be sure that “Barcode Label Alignment Reported To Host” is
left.
If you do not want to change the library, you have to configure
media ID generation and not the barcode rules. But you have to import all tapes
with hand and right click them and select update barcode.
stefanos
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour,
Wayne
Sent: Wednesday, January 06, 2010 2:48 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Media ID / Barcode rules
Our
environment, NBU 6.5.4 running on HP-UX 11-31 with a Data Domain VTL and newly
attached MSL6060 tape library that replaced a SureStore 20/700 library. I
don’t think we had any barcode rules
set up for anything but cleaning cartridges when
we were using the 20/700 library. The
physical barcodes on the tapes are for
example 000001L1 and the
last 2 characters were dropped leaving 000001 as the Media ID
and Barcode. Now that the MSL6060 library is connected when I do an
inventory it gives me 0001L1 for a Media ID and 000001L1 for a Barcode.
I’m going through the manual and getting confused on how to accomplish dropping
the last 2 characters (L1) and using only the first 6 (000001) for both Media
ID and Barcode. Can anyone let
me know or at least point me in the right
direction to accomplish this?
Thanks
in advance…
Wayne BeDour
Unix System Administrator
PH: 248-447-1739
Internet: wbedour AT lear DOT com
********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. |
********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. |