Operating System - HP-UX
1753909 Members
8303 Online
108810 Solutions
New Discussion

Re: Identifying the tape drive

 
SOLVED
Go to solution
kunjuttan
Super Advisor

Identifying the tape drive

Hi All,

 

            I have one tape library with 4 drives.All the drives are mapped to our servers running HP-UX11.31.I want to know,how can I identify a particular drive.I am trying with ioscan -fnCtape.But how to identify a particular drive.

 

6 REPLIES 6
Turgay Cavdar
Honored Contributor
Solution

Re: Identifying the tape drive

You can identify from WWID of the tape. Fist get device file name (persistent ones) with :

# ioscan -m dsf

 

then use scsimgr to see WWID of the tape, for example:

# scsimgr  get_info  -D  /dev/rmt/cxtydzBEST

Hakki Aydin Ucar
Honored Contributor

Re: Identifying the tape drive

Another method is to use stm (Support Tool Manager)  OR cstm (command line of the same tool)  to get detailed information about your tapes.

Torsten.
Acclaimed Contributor

Re: Identifying the tape drive

It depends on the type of library.

 

Normally the drives have a unique SCSI ID, serial number or WWN which you can compare.


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!   
kunjuttan
Super Advisor

Re: Identifying the tape drive

Hi,

 

    Thanks for the quick help.The issue has been resolved.

Torsten.
Acclaimed Contributor

Re: Identifying the tape drive

Good news, but honestly speaking, this will not help others browsing this topic later, because you did not say how you solved your problem.

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!   
kunjuttan
Super Advisor

Re: Identifying the tape drive

Sorry Torsten.But I followed the steps given by Turgay Cavdar.He given the exact solution.