I started a thread on this about 9 months ago.
Short summary: The "tsm barocde length" on AIX is
for LTO1 and LTO2 tapes only - note comment by that on your lsattr output.
The outout is corect, LTO1/2 wil show up as 6 char if that is what you were
initially using. And will stay 6 char, even for new LTO1/2 tapes you
label/initialize.
LTO3 is 8 char. Best practice going forward is to use 8 char.
There is an IBM Technote# 1217789 on this with lot of details.
David Longo
>>> weiduo.deng AT GMAIL DOT COM 05/21/06 3:20 PM >>>
I have a stranger behavior in my TSM Server ( at least to me).
TSM Server 5.3.3 on AIX 5.3, tape library 3584 with LTO3 drives.
library on AIX, it shows "tsm_barcode_len 6"
root# lsattr -El smc0
alt_pathing no Enable Alternate Pathing
Support True
debug_trace no Debug Trace Logging
Enabled True
dev_status
N/A False
devtype 03584L32 Device
Type False
location
Location True
lun_id 0x1000000000000 Logical Unit
Number True
new_name New Logical
Name True
node_name 0x500507623f0d6e01 World Wide Node
Name False
primary_device smc0 Primary Logical
Device False
reserve_support yes Use Reserve/Release on Open and
Close True
retain_reserve no Retain
Reservation False
scsi_id 0x30000 SCSI Target
ID True
trace_logging no Trace Logging
Enabled True
*tsm_barcode_len 6* TSM Barcode Length for Ultrium
1/Ultrium 2 Media True
ww_name 0x500507630f4c6d01 World Wide Port
Name False
Library definition on TSM Server as:
DEFINE LIBRARY 3584 LIBTYPE=SCSI SHARED=YES AUTOLABEL=NO RESETDRIVE=YES
On TSM Server, we have old LTO1 tapes as as below although from Specialist
we see "L1" at the end of it:
A00001
A00002
...........
Yesterday when I used the command to checkin new LTO3 tapes with the
command:
LABEL libv 3584_LIB search=bulk checkin=scratch labels=barcode
The new tapes were labeled as:
B00001L3
B00002L3
..............
How could this happen?
If those LTO1 tapes get expired and reclaimed, will it become 8 character or
still keeps 6 character?
Thanks in advance.
##############################################################
This message is for the named person's use only. It may
contain confidential, proprietary, or legally privileged
information. No confidentiality or privilege is waived or
lost by any mistransmission. If you receive this message
in error, please immediately delete it and all copies of it
from your system, destroy any hard copies of it, and notify
the sender. You must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message
if you are not the intended recipient. Health First reserves
the right to monitor all e-mail communications through its
networks. Any views or opinions expressed in this message
are solely those of the individual sender, except (1) where
the message states such views or opinions are on behalf of
a particular entity; and (2) the sender is authorized by
the entity to give such views or opinions.
##############################################################
|