Operating System - HP-UX
1753721 Members
4841 Online
108799 Solutions
New Discussion

Get the Seril Number of Tape Drive Installed in HP_Ux server

 
SOLVED
Go to solution
Ajin_1
Valued Contributor

Get the Seril Number of Tape Drive Installed in HP_Ux server

Hi Experts

 

any specific Coomand Get the Seril Number of Tape Drive Installed in HP_Ux server.

 

I tried via CSTM .it wont work.

 

OS: 11i v2

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

What means "it wont work"?

 

This is how it looks like from cstm:

 

...

-- Information Tool Log for SCSI Tape on path 0/3/1/0.3.0 --

Log creation time: Wed May 21 13:50:25 2008

Hardware path: 0/3/1/0.3.0


Device Qualifier:    HPUltrium         
Product ID:          Ultrium 3-SCSI     Hardware Path:          0/3/1/0.3.0
Device Type:         SCSI Tape          Logical Unit Number:    0
Vendor:              HP                 Product Rev Level:      G66D
Firmware Revision:   011.911            Tape Load Count:        1
Correctable Errors:  0                  Uncorrectable Errors:   0
Mfg Date Code:       N/A                Servo Revision:         H/W.REV  
Serial Number:       XXXXXXXXXX        
Compression Status:  Enabled            Compression Ratio:
                                                  [instant]     N/A
                                                  [average]     2.12 : 1
Capacity [M Byte]:   396405            
Drive Status:        Good
...

 

 

 

Please post

 

# echo "sel dev all;info;wait;il"|cstm

 

 

P.S. I have removed a serial number for your security - HP Forums Moderator


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!   
Patrick Wallek
Honored Contributor

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

If you just want tape drive information you can do:

 

# echo "selclass type tape ; info ; wait ; il" | cstm

 

If you run this, and do not get a serial number from the drive, then the information may not be stored in the drive (see my 11.0 system output below).

 


P.S. I have removed a serial number for your security - HP Forums Moderartor

 

 

This is what I got from one of  my 11.11 systems with an LTO3 tape drive attached:

root /root # echo "selclass type tape ; info ; wait ; il" | cstm Running Command File (/usr/sbin/stm/ui/config/.stmrc). [snip]
cstm>selclass type tape ; info ; wait ; il -- Updating Map -- Updating Map... -- Converting a (1148) byte raw log file to text. -- Preparing the Information Tool Log for SCSI Tape on path 0/4/0/0.4.0 File ... .... ftp : 10.10.100.41 .... -- Information Tool Log for SCSI Tape on path 0/4/0/0.4.0 -- Log creation time: Tue Mar 26 08:38:30 2013 Hardware path: 0/4/0/0.4.0 Device Qualifier: HPUltrium Product ID: Ultrium 3-SCSI Hardware Path: 0/4/0/0.4.0 Device Type: SCSI Tape Logical Unit Number: 0 Vendor: HP Product Rev Level: G66D Firmware Revision: 011.911 Tape Load Count: 0 Correctable Errors: 2 Uncorrectable Errors: 0 Mfg Date Code: N/A Servo Revision: H/W.REV Serial Number: XXXXXXXXXX Compression Status: Enabled Compression Ratio: [instant] N/A [average] 1.12 : 1 Capacity [M Byte]: 0 Drive Status: Good -- Information Tool Log for SCSI Tape on path 0/4/0/0.4.0 --

This is from HP-UX 11.0 with a DDS drive:

.... atl2 : 10.11.10.220 .... -- Information Tool Log for SCSI Tape on path 0/0/1/0.0.0 -- Log creation time: Tue Mar 26 09:42:37 2013 Hardware path: 0/0/1/0.0.0 Device Qualifier: HPC1537A Product ID: C1537A Hardware Path: 0/0/1/0.0.0 Device Type: SCSI Tape Logical Unit Number: 0 Vendor: HP Product Rev Level: HP03 Firmware Revision: 4.86 Tape Load Count: 0 Correctable Errors: 0 Uncorrectable Errors: 0 Mfg Date Code: 58 Servo Revision: 14.2 Compression Status: Enabled Compression Ratio: [instant] N/A [average] N/A Capacity [M Byte]: 0 Drive Status: Good
Ajin_1
Valued Contributor

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

Hi

 

Its External USB Tape Drive .Please find the below o/p


-- Information Tool Log for SCSI Tape on path 0/4/1/0/4/0.0.0 --

Log creation time: Wed Mar 27 15:44:17 2013

Hardware path: 0/4/1/0/4/0.0.0


Device Qualifier:    HPC5683A
Product ID:          C5683A             Hardware Path:          0/4/1/0/4/0.0.0
Device Type:         SCSI Tape          Logical Unit Number:    0
Vendor:              HP                 Product Rev Level:      C305
Firmware Revision:   5.88               Tape Load Count:        0
Correctable Errors:  0                  Uncorrectable Errors:   0
Mfg Date Code:       9                  Servo Revision:         2.47
Compression Status:  Enabled            Compression Ratio:
                                                  [instant]     2 : 1
                                                  [average]     N/A
Capacity [M Byte]:   0
Drive Status:        Good
-- Information Tool Log for SCSI Tape on path 0/4/1/0/4/0.0.0 --
View   - To View the file.
Print  - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] #.

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

Obviously the system cannot get a serial number. Why not read it from the chassis label? I wonder if this device works, because USB tape drives are not supported.


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!   
Patrick Wallek
Honored Contributor

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

No, it's not a USB tape drive.

 

The C5683A is a LVD SCSI DAT40i tape drive.

 

It may just be that the DAT drives do NOT support showing the serial number via CSTM.  If that is the case, there's not much that can be done about it.

Robert_Jewell
Honored Contributor
Solution

Re: Get the Seril Number of Tape Drive Installed in HP_Ux server

What about using HP LTT (Library and Tape Tools)?

 

I ran a 'support ticket' on a DDS4 drive from an HP-UX 11.11 host and can view the following details:

 

 - Detailed Device Information
    - Tape at address (0.0.0[0-0/0/1/0.0.0])
      - SCSI Test Unit Ready returns a check condition
        - SCSI Info : 0x02 0x3A00 (Medium not present)
      - Vendor ID               : HP
      - Product ID              : C5683A
      - Controller Serial #     : XXXXXXXXXX
      - HW Config Code      : 0x00060001 (DDS4 First Generation)
      - Firmware Revision       : C111

.

.

.

 

Whereas I do not see a reported S/N from STM.   I cant confirm that the serial shown here matches the one of the drive, but it seems to be in the format the other drives report.

 

See more about LT&T here:

 

http://h18006.www1.hp.com/products/storageworks/ltt/

 

-Bob

 

 

P.S. I have removed a serial number for your security - HP Forums Moderator

----------------
Was this helpful? Like this post by giving me a thumbs up below!