StoreEver Tape Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

getting drive serial number from linux hp_ltt cli

getting drive serial number from linux hp_ltt cli

Greetings,

I am trying to figure out how to get the drive serial number from CLI using hp_ltt I can get it using the tui, but am not sure which option to use in order to get the extended info. I tried running with the ticket option, but nothing was generated.

Here is the saved_scan.txt file:
1-0[scsi_adapter]:::
0.1.0[0-/dev/sg0]:HP:Ultrium 4-SCSI:H36S
0.2.0[0-/dev/sg1]:HP:Ultrium 4-SCSI:H36S
2-1[scsi_adapter]:::
10.0.0[1-/dev/sg2]:HP:EML E-Series:1223
10.1.0[1-/dev/sg3]:HP:Ultrium 4-SCSI:H36S
10.2.0[1-/dev/sg4]:HP:Ultrium 4-SCSI:H36S
8 REPLIES
Nassima
Occasional Visitor

Re: getting drive serial number from linux hp_ltt cli

hello Adam

scanning the hardware doesn't mean that you will get the serial number in ltt you shoud enter for etch drive in order to get the information about it and also you will get the serial number if you are under HP_UX you can just output the command of :ioscan -fnC tapes

kind regards
S-M-S
Valued Contributor

Re: getting drive serial number from linux hp_ltt cli


Hi Adam,

See teh below file created after running the Support ticket. I ran it from hp ux

st_20091005_150123_DEC92504RK_LL1.lzt

In this file name "DEC92504RK" is the serial number :)

Re: getting drive serial number from linux hp_ltt cli

S.M.S. How did you create the support ticket? (what was the exact command you executed?

thanks!
Torsten.
Acclaimed Contributor

Re: getting drive serial number from linux hp_ltt cli

It's an EML - why not using command view TL???

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: getting drive serial number from linux hp_ltt cli

Because i am trying to create a script that will link /dev/whatever to the serial number as /dev/EML_DRIVE1/2/3/4...
S-M-S
Valued Contributor

Re: getting drive serial number from linux hp_ltt cli

Hi Adam,
After installing the tool in your serevr
try:

1. # cd /opt/ltt
2. # ./hp_ltt ( This will start the tool)

Read and follow the steps

For generating support ticket, you need to select "Support"

Re: getting drive serial number from linux hp_ltt cli

S.M.S - Is there any way to do that from the CLI rather than having to go into the tool?

thanks,
Adam
S-M-S
Valued Contributor

Re: getting drive serial number from linux hp_ltt cli

I don't think so

Actually ltt is Library and Tape Tool(LTT)

:-)