Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
Tape Libraries and Drives
cancel
Showing results for 
Search instead for 
Did you mean: 

SuperDLT barcode question

SOLVED
Go to solution
Richard Hicks
Occasional Visitor

SuperDLT barcode question

Hi There

This may be a dumb question but, we have a MSL5000 series tape libary and we have barcodes on the tapes. From the libary front panel we can read the barcodes but the "mc" command from HP-UX shows only the first 6 characters of the barcode. Is this a limitation of Unix or am I doing somthing wrong?
9 REPLIES
Leif Halvarsson_2
Honored Contributor

Re: SuperDLT barcode question

Hi,
I don't think you do anything wrong, I get only the first 6 characters myself when I try. The limitations is not with HP-UX (as the labels is listed correct with other applications) rather with the mc command.
Alexander M. Ermes
Honored Contributor

Re: SuperDLT barcode question

Hi there.
The mc command ( HP-UX )refers to slot and drive, afaik, not to a label.
If i am wrong, i am willing to learn.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Leif Halvarsson_2
Honored Contributor
Solution

Re: SuperDLT barcode question

Hi,

Alexander,
Below is from the man page for mc:

-r element_type
Prints out the status (FULL/EMPTY/NONE) of element
slots of element type(s). See element types above. If
barcode information is supported by the device, this
will be appended to the status. Multiple types can be
specified. For example, -r IDSM specifies all the
valid element types.

And below is an test with our library:
mc -p /dev/picker1 -r DS
DT_slot_1 EMPTY
DT_slot_2 EMPTY
ST_slot_1 FULL BK7170
ST_slot_2 FULL CQ1142
ST_slot_3 FULL CQ1140
ST_slot_4 FULL BK7198
ST_slot_5 FULL BK7199
ST_slot_6 FULL BK7195
ST_slot_7 FULL BK7186
ST_slot_8 FULL BK7171
ST_slot_9 FULL BK7179
ST_slot_10 FULL BK7196
ST_slot_11 FULL BK7181
ST_slot_12 FULL BK7173
ST_slot_13 FULL BK7169
ST_slot_14 FULL CQ1141
ST_slot_15 FULL BK7193
ST_slot_16 FULL BK7167
ST_slot_17 FULL BK7192
ST_slot_18 FULL BK7165
ST_slot_19 FULL BK7191
ST_slot_20 FULL BK7177
ST_slot_21 FULL BK7189
ST_slot_22 FULL BK7190
ST_slot_23 FULL BK7180
ST_slot_24 FULL BK7175
ST_slot_25 FULL BK7168
ST_slot_26 FULL BK7176
ST_slot_27 FULL BK7194
ST_slot_28 FULL BK7182
ST_slot_29 FULL CLNH35

The labels is listed but not the complete label, only the first six characters.
Richard Hicks
Occasional Visitor

Re: SuperDLT barcode question

Hi

Thanks for the replies. Not just me then. I'll just have to run with what we have. 6 characters is enough for what we need to do at the moment.

Cheers
Dave COTTLE
Frequent Advisor

Re: SuperDLT barcode question

for clarification, you can configure the library to report a certain number of barcode characters, if i remember, right or left-justified.

you might want to check that this has been enabled or not.

cheers,
dave
learn concepts, not methods -- a good mind devises its own methods
Alexander M. Ermes
Honored Contributor

Re: SuperDLT barcode question

Hi there.
Leif, thank you for info.
Was not aware of this, because we use OmniBack ( uma ) for our tape devices.

No points, pls, for both answers.
Rgds
AlexaNDER m: eRMES
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Rosemary_1
Occasional Visitor

Re: SuperDLT barcode question

Inside the MENU there is a field where you can set the number of characters you want the Library to read. Our bar codes came with seven characters and we had to reset the Tape Library to be able to read them.
Off hand I don't recall the exact sequence to do this; but if you're still having the problem, I will research it and get back to you. --RoseMary
David Ruska
Honored Contributor

Re: SuperDLT barcode question

From the GUI, to view:

Menu
View System Data
Library Options
Barcode label size

to change:

Menu
Edit Options
Library
Barcode label size

Choices are 1 to 8.

Usually 6 characters are used, as it hides the media type (e.g. L1, L2, S, S1, S2).
The journey IS the reward.
Rosemary_1
Occasional Visitor

Re: SuperDLT barcode question

Thanks, David. That was exactly it!
--rm