cancel
Showing results for 
Search instead for 
Did you mean: 

tape drive dev and WWN

 
jshoovie
Occasional Advisor

tape drive dev and WWN

How do I tie the output of fcmsutil to the device name (ioscan)?

command output example (might not match).

root@nbmedia5b:/root/home/root> fcmsutil /dev/fclp0 get remote all|more

******************************************************************************
**** Node Port Information ****
******************************************************************************


Target N_Port_id = 0x4c0697
Target state = ONLINE
Symbolic Name =
Port Type = N_PORT
FCP-2 Support = YES
Target Port World Wide Name = 0x5005076300441221
Target Node World Wide Name = 0x5005076300041221

Common Service parameters (all values shown in hex):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Common Features : 8800 RO_Bitmap: 2
Total Conseq: a

Class 3 Service parameters (all values shown in hex):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Open Sequences/Exchg: 1 Conseq: a
Recipient Control Flags: 1000 Rxsz: 800




ioscan -funC tape


tape 53 0/3/0/0/0/0.76.0.255.11.1.0 stape CLAIMED DEVICE IBM 03592E05
/dev/rmt/53m /dev/rmt/53mnb /dev/rmt/c34t1d0BESTn
/dev/rmt/53mb /dev/rmt/c34t1d0BEST /dev/rmt/c34t1d0BESTnb
/dev/rmt/53mn /dev/rmt/c34t1d0BESTb
tape 47 0/3/0/0/0/0.76.1.255.10.13.0 stape CLAIMED DEVICE IBM 03592E05
/dev/rmt/47m /dev/rmt/47mnb /dev/rmt/c28t13d0BESTn
/dev/rmt/47mb /dev/rmt/c28t13d0BEST /dev/rmt/c28t13d0BESTnb
/dev/rmt/47mn /dev/rmt/c28t13d0BESTb
tape 48 0/3/0/0/0/0.76.2.255.10.11.0 stape CLAIMED DEVICE IBM 03592E05
/dev/rmt/48m /dev/rmt/48mnb /dev/rmt/c29t11d0BESTn
/dev/rmt/48mb /dev/rmt/c29t11d0BEST /dev/rmt/c29t11d0BESTnb
/dev/rmt/48mn /dev/rmt/c29t11d0BESTb



2 REPLIES
Steven E. Protter
Exalted Contributor

Re: tape drive dev and WWN

Shalom,

You can not directly tie the output of ioscan and fcmsutil.

What you can do is do ioscan to get the tape device names and ioscan commands added with HP-UX 11.31 to get a better handle on things.

ioscan -m dsf
ioscan -m hwpath

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Leu
Honored Contributor

Re: tape drive dev and WWN

With the legacy paths you could parse the hardware path according to http://docs.hp.com/en/AB378-96002/ch01s10.html

You need to to know the hardware path of /dev/fclp0 and stick parts of the Target N_Port_id to it.