Show HBA WWN on AIX & Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Show HBA WWN on AIX & Linux
# 1  
Old 03-01-2013
Show HBA WWN on AIX & Linux

Hi all,

I have an environment with Aix and Linux severs zoned to tape drives

I'd like to list HBAs WWN on my servers which are zoned to the drives.

Thanks
# 2  
Old 03-01-2013
For AIX:

List your HBAs:
Code:
lsdev -Ccadapter -l fcs*

Print the WWN:
Code:
lscfg -vl fcs0

You should be able to identify which is the WWN; have no output here at the moment.
You can cut the 1st output and loop through it's elements issuing the 2nd command.

For Linux I would search in /proc or if you use multipathd or something, it should be able to print out such information too.
This User Gave Thanks to zaxxon For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Do we have generic solution get process start time in AIX & Linux

I wish to get the process start time on AiX and Linux using the same command / script. I'm able to get the process start time in Linux using the below command: cat /proc/<pid>/stat | grep Modify The same does not work for AiX 6.1 systems. Can you please let me know the command to get... (4 Replies)
Discussion started by: mohtashims
4 Replies

2. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies

3. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

4. Red Hat

Difference b/n AIX & Red Hat Linux Commands

Hi All, The scripts developed in AIX can be executed in Red Hat Linux too? Because, we are migrating OS from AIX to LINUX. Will there be any differences in commands? Thanks in advance!!! Regards, U (2 Replies)
Discussion started by: unme
2 Replies

5. AIX

How to check if my AIX server has Dual HBA's?

Thanks I need to know if my server has dual HBA and if multipath has been configured. For Multipath I ran lspath and it shows all drives and if MPIO is configured for that drive. Thanks for any input. (2 Replies)
Discussion started by: 300zxmuro
2 Replies

6. Solaris

Sun Solaris HBA & Driver identification help

Gents, I am new with Solaris and working on couple of Solaris 8 and 9's. 1. ) I am having issues finding which model of HBA is connected to the host. I got a link to kb qlogic com/KanisaPlatform/Publishing/130/10441_f.html But, it is incomplete as read in many places.. Do we have updated... (5 Replies)
Discussion started by: abcd.us786
5 Replies

7. Red Hat

How to Find what HBA is configured on Linux?

Hi I am working in an environment where there are many redhat physical and virtual machines, mostly Redhat 4. These servers have LUNs attached. The external storage can be EMC, NetApp or Par3. My question is that when Storage Administrator informs that a new LUN has been presented to a... (4 Replies)
Discussion started by: Tirmazi
4 Replies

8. AIX

I need command for HBA model & firmware please

Hi All, I have a task to complete on several server, I need advice from u guys,i need to know that , how can i check the following thing in AIX server. 1)HBA vendor, HBA model, HBA driver version & HBA firmware. 2) Multipath software & multipath version. 3) Cluster software & cluster... (2 Replies)
Discussion started by: gulamibrahim
2 Replies

9. AIX

Different behavior of LC_COLLATE in AIX & LINUX

1. I have created following files in both AIX & Linux touch a A b B c C x X y Y z Z 2. In AIX $ LC_COLLATE=en_US ; export LC_COLLATE $echo $ a b c x y z 3. In LINUX $ LC_COLLATE=en_US ; export LC_COLLATE $ echo $ a A b B c C x X y Y z Could anyone please explain the... (5 Replies)
Discussion started by: Anu_1
5 Replies

10. Solaris

Few things related to HBA port & fcinfo command

Hi Gurus I need to know few things related to HBA port & fcinfo command I have a server where there are 4 HBA ports cards are their. Out of 4 ports 2 are in use & 2 are not in use when I check it physicall. Now I want to know the command through which I can get information about all above... (6 Replies)
Discussion started by: girish.batra
6 Replies
Login or Register to Ask a Question