- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fcmsutil and tdutil to ge the WWN of the HBA a...
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
Discussions
Discussions
Forums
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
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
тАО01-19-2010 11:16 PM
тАО01-19-2010 11:16 PM
fcmsutil and tdutil to ge the WWN of the HBA and target port
I see fcmsutil can run only as root user, whereas tdutil can run as a non root user.
Is there any tool that can be used instead of fcmsutil?
thanks!!
Here is the sample output::
fcmsutil /dev/td0
Error: Must have SuperUser privileges to execute this command.
tdutil /dev/td0
Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0xc20300
N_Port Node World Wide Name = 0x50060b000023d2bb
N_Port Port World Wide Name = 0x50060b000023d2ba
Driver state = ONLINE
Hardware Path is = 0/4/1/0
Number of Assisted IOs = 1160821
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.03 /ux/core/isu/TL/kern/src/common/wsio/td_glue.c: Aug 16 2004, 13:49:26
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 01:20 AM
тАО01-20-2010 01:20 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 04:17 AM
тАО01-20-2010 04:17 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2010 05:17 AM
тАО01-25-2010 05:17 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
I can find the fc class object, the disk, and the target for each fc object
BUT I can't associate the disk with the target port.
Any ideas?
fcmsutil /dev/fcd0 get remote all
.
.
Target N_Port_id is = 0x141e00
.
.
Target Port World Wide Name = 0x50060e8000c28634
Target Node World Wide Name = 0x50060e8000c28634
# ioscan -knf /dev/fcd0
# ioscan -knf /dev/fcd0 | more
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
fc 0 0/2/1/0 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd0
fcp 0 0/2/1/0.20 fcd_fcp CLAIMED INTERFACE FCP Domain
ext_bus 4 0/2/1/0.20.30.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interfa
ce
target 6 0/2/1/0.20.30.0.0.0 tgt CLAIMED DEVICE
disk 2 0/2/1/0.20.30.0.0.0.0 sdisk CLAIMED DEVICE HITACHI DF600F
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2010 05:25 AM
тАО01-25-2010 05:25 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
Hence you must be root, or be granted super user rights to run this command.
See manpage fcmsutil
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2010 05:29 AM
тАО01-25-2010 05:29 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 05:07 AM
тАО01-27-2010 05:07 AM
Re: fcmsutil and tdutil to ge the WWN of the HBA and target port
helps
---
I got some more bit processing here
Fabrizio,
> Target N_Port_id is = 0x631700
> Target state = DSM_READY
> Symbolic Name = HP OPEN-XP12000 5001
Look at the FCID (N_Port_id) there and convert into deciaml:
0x631700 = 99.23.0
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264597571611+28353475&threadId=1277892
thanks all!