- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- How to find WWN no for SAN tape device
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 05:43 AM
11-03-2011 05:43 AM
I want to find WWN no for a particular tape device connected to SAN.
The details as follows:
tape 102 0/4/1/1.198.0.255.6.5.1 stape CLAIMED DEVICE HP Ultrium 3-SCSI /dev/rmt/102m /dev/rmt/102mn /dev/rmt/c15t5d1BEST /dev/rmt/c15t5d1BESTn /dev/rmt/102mb /dev/rmt/102mnb /dev/rmt/c15t5d1BESTb /dev/rmt/c15t5d1BESTnb autoch 8 0/4/1/1.198.0.255.6.5.0 schgr CLAIMED DEVICE HP ESL E-Series /dev/rac/c15t5d0 # lssf /dev/rmt/102m stape card instance 15 SCSI target 5 SCSI LUN 1 at&t best density available at address 0/4/1/1.198.0.255.6.5.1 /dev/rmt/102m # ioscan -fnC fc Class I H/W Path Driver S/W State H/W Type Description ================================================================= fc 3 0/4/1/1 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2) /dev/fcd3 # fcdutil /dev/fcd3 Vendor ID is = 0x001077 Device ID is = 0x002312 PCI Sub-system Vendor ID is = 0x00103c PCI Sub-system ID is = 0x0012ba PCI Mode = PCI-X 133 MHz ISP Code version = 3.3.166 ISP Chip version = 3 Topology = PTTOPT_FABRIC Link Speed = 2Gb Local N_Port_id is = 0xc6001a Previous N_Port_id is = 0xc6001a N_Port Node World Wide Name = 0x500110a000100bfb N_Port Port World Wide Name = 0x500110a000100bfa Switch Port World Wide Name = 0x2001000dec1451c0 Switch Node World Wide Name = 0x20c6000dec1451c1 Driver state = ONLINE Hardware Path is = 0/4/1/1 Maximum Frame Size = 2048 Driver-Firmware Dump Available = YES Driver-Firmware Dump Timestamp = Sat May 14 02:12:19 2011 Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.07 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Sep 14 2006,17:08:33 # fcdutil /dev/fcd3 devstat all | grep -E '(Nport|Failed)' Device Statistics for Nport_id 0xc60021 Device Statistics for Nport_id 0xc60022 Device Statistics for Nport_id 0xc60026 Device Statistics for Nport_id 0xc60027 Device Statistics for Nport_id 0xc60028 Device Statistics for Nport_id 0xc60031 Device Statistics for Nport_id 0xc60054 Device Statistics for Nport_id 0xc60055 Device Statistics for Nport_id 0xc60056 Device Statistics for Nport_id 0xc60057 Device Statistics for Nport_id 0xc60058 Device Statistics for Nport_id 0xc6005c Device Statistics for Nport_id 0xc6005d Device Statistics for Nport_id 0xc60065 Status output from netbackup command: 55 KPG-ESL712-01-R1-... hcart3 TLD(8) DRIVE=1 /dev/rmt/c15t5d1BESTnb DOWN HP LLT output: 54 HP ESL E-Series (Address: 13.5.0[8-15/0/4/1/1.198.0.255.6.5.0]) 55 Drive 1:HP Ultrium 3-SCSI (Address: 13.5.1[102-15/0/4/1/1.198.0.255.6.5.1]) The following is identity information for the selected device. You can use commands to select functionality to perform on this device. Product ID : ESL E-Series Model Name : ESL E-Series Library * Internal Serial Number : US50650027 Drive Technology : LTO Firmware Rev : 6.23 Target ID : 5 Target LUN : 0 Number of Drives : 11 Number of Slots : 668 * May not match external serial number The following is identity information for the selected device. You can use commands to select functionality to perform on this device. Drive Index : 1 Product ID : Ultrium 3-SCSI Drive Technology : LTO Mech. Serial Number : HU10639DYJ Firmware Rev : L67W/ESL E FC Target ID : 5 Target LUN : 1 OBDR Capability : Not Supported WORM Capability : Supported
Please help...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 05:51 AM
11-03-2011 05:51 AM
Re: How to find WWN no for SAN tape device
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 06:04 AM
11-03-2011 06:04 AM
Re: How to find WWN no for SAN tape device
Thanks for your reply. Can you please explain. I am not so aware about SAN / TAPE Library configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 06:37 AM - edited 11-03-2011 06:39 AM
11-03-2011 06:37 AM - edited 11-03-2011 06:39 AM
Re: How to find WWN no for SAN tape device
In some of HP's tape libraries you connect the tape drives directly to the SAN.
Another way is that the tape drive connects via SCSI to an NSR(network storage router (tm)) in the ESL. This NSR connects to the SAN. For this there is no wwn of the tape drive as it's only using on a SCSI bus.
However, wouldn't the tape drive still have a wwn? (part of the emulation/translation of the NSR?)
Or with the NSRs is only the robotics presented?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 07:00 AM
11-03-2011 07:00 AM
Re: How to find WWN no for SAN tape device
L67W indicates a 2GB FC model of the LTO-3 drive installed in a ESL-E
The drive is native FC and therefore is directly connected to the SAN and does have a WWN.
On HP-UX use following fcmsutil <adapter> get remote all
This shows you the port id of the device(s)
from there you can correlate the WWN info further.
The ESL-E is managed by a Command View TL station. This will have the WWN's for each of the drives as well.
hope this helps out.
-Eric
- Tags:
- fcmsutil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 07:04 AM
11-03-2011 07:04 AM
Re: How to find WWN no for SAN tape device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 07:15 AM
11-03-2011 07:15 AM
Re: How to find WWN no for SAN tape device
Hi Eric,
I have tried to collect the WWN no for tape device in the below way. But no luck...
# lssf /dev/rmt/c15t5d1BESTb stape card instance 15 SCSI target 5 SCSI LUN 1 berkeley best density available at address 0/4/1/1.198.0.255.6.5.1 /dev/rmt/c15t5d1BESTb From the HDW path the san(port info) 0/4/1/1 ---> HBA 198.0.255 ---> san(n_port id) info 6.5.1 ---> scsi target lun Now we need to convert these numers into hex 198.0.255 198 -> c6 0 -> 0 255 -> ff And finally with fcmsutil we can find the nport id using our hex conversion c60ff: # fcmsutil /dev/fcd3 get remote all | grep -E '(N_Port_id)' Target N_Port_id is = 0xc60021 Target N_Port_id is = 0xc60022 Target N_Port_id is = 0xc60026 Target N_Port_id is = 0xc60027 Target N_Port_id is = 0xc60028 Target N_Port_id is = 0xc60031 Target N_Port_id is = 0xc60054 Target N_Port_id is = 0xc60055 Target N_Port_id is = 0xc60056 Target N_Port_id is = 0xc60057 Target N_Port_id is = 0xc60058 Target N_Port_id is = 0xc6005c Target N_Port_id is = 0xc6005d Target N_Port_id is = 0xc60065 But I am not getting anything similer to "c60ff"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:02 AM
11-03-2011 08:02 AM
Re: How to find WWN no for SAN tape device
it may not be logged into the SAN due to an error ?
I would check physically with the ESL-E and the drives
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:12 AM
11-03-2011 08:12 AM
Re: How to find WWN no for SAN tape device
After checking dmesg I got below error. I have no idea what does it mean.
# dmesg | grep -e "SCSI TAPE" SCSI TAPE: dev = 0xcd0491c0 I/O error during close SCSI TAPE: dev = 0xcd0486c0 I/O error during close SCSI TAPE: dev = 0xcd0880c0 I/O error during close SCSI TAPE: dev = 0xcd0f5180 Failed open - st_san_safe enabled SCSI TAPE: dev = 0xcd0f5180 Failed open - st_san_safe enabled SCSI TAPE: dev = 0xcd062180 Failed open - st_san_safe enabled SCSI TAPE: dev = 0xcd0f5180 Failed open - st_san_safe enabled pointing to /dev/rmt/c15t5d1BESTb # ls -l /dev/rmt | grep f5180 crw-rw-rw- 2 bin bin 205 0x0f5180 Sep 5 2009 102mb crw-rw-rw- 2 bin bin 205 0x0f5180 Sep 5 2009 c15t5d1BESTb But device status still claimed in ioscan output. HBA / FC link is working fine. fcdutil /dev/fcd3 Vendor ID is = 0x001077 Device ID is = 0x002312 PCI Sub-system Vendor ID is = 0x00103c PCI Sub-system ID is = 0x0012ba PCI Mode = PCI-X 133 MHz ISP Code version = 3.3.166 ISP Chip version = 3 Topology = PTTOPT_FABRIC Link Speed = 2Gb Local N_Port_id is = 0xc6001a Previous N_Port_id is = 0xc6001a N_Port Node World Wide Name = 0x500110a000100bfb N_Port Port World Wide Name = 0x500110a000100bfa Switch Port World Wide Name = 0x2001000dec1451c0 Switch Node World Wide Name = 0x20c6000dec1451c1 Driver state = ONLINE Hardware Path is = 0/4/1/1 Maximum Frame Size = 2048 Driver-Firmware Dump Available = YES Driver-Firmware Dump Timestamp = Sat May 14 02:12:19 2011 Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.07 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Sep 14 2006,17:08:33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:17 AM
11-03-2011 08:17 AM
Re: How to find WWN no for SAN tape device
st_san_safe blocks access to rewind-on-close device files. This is done to avoid tapes from accidentally being overwritten in SAN environments. I am not sure how that ties into your current issue though, sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:21 AM
11-03-2011 08:21 AM
Re: How to find WWN no for SAN tape device
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:24 AM
11-03-2011 08:24 AM
Re: How to find WWN no for SAN tape device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:29 AM
11-03-2011 08:29 AM
Re: How to find WWN no for SAN tape device
Hi Torsten,
I want to know WWN no. I have serial no which I got from hp_ltt tool.
The following is identity information for the selected device. You can use commands to select functionality to perform on this device. Product ID : Ultrium 3-SCSI Drive Technology : LTO Mech. Serial Number : HU10639DYJ Firmware Rev : L67W/ESL E FC Target ID : 5 Target LUN : 1 OBDR Capability : Not Supported WORM Capability : Supported Cartridge Information (for cartridge currently in drive): There is no media in this drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:35 AM - edited 11-03-2011 11:36 AM
11-03-2011 08:35 AM - edited 11-03-2011 11:36 AM
SolutionThe most easy way would be to use command view TL.
With 11.23 you can only use "fcmsutil", starting with 11.31 you can do
# scsimgr get_info -D /dev/rtape/tape2_BEST
STATUS INFORMATION FOR LUN : /dev/rtape/tape2_BEST
Generic Status Information
SCSI services internal state = UNOPEN
Device type = Sequential_Access
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x50060b000059f20a
Serial number = HU10617K90
Vendor id = HP
Product id = Ultrium 3-SCSI
...
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 08:52 AM
11-03-2011 08:52 AM
Re: How to find WWN no for SAN tape device
Hi Torsten,
Thanks. I will check and confirm ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 10:24 AM
11-03-2011 10:24 AM
Re: How to find WWN no for SAN tape device
"Actually SAN team asking tape WWN no for zoning."
Is the tape drive already zoned with your server?
If so, the SAN team should be able to find the WWN either in the SAN-switch or in the Library's Command View TL.
If not, then you cannot find the WWN of the tape drive on the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 11:37 AM
11-03-2011 11:37 AM
Re: How to find WWN no for SAN tape device
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2011 10:14 AM
11-04-2011 10:14 AM
Re: How to find WWN no for SAN tape device
scsimgr is working perfectly with HP-UX 11.31. But in my case OS version is HP-UX 11.23. I am unable to find exact command syntax to use with fcmsutil to get WWN details for tape device.