Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My system is an Altix3000 running: (Linux sgialtix 2.4.21-sgi304r1 #1 SMP Sat Jan 29 22:43:29 PST 2005 ia64 ia64 ia64 GNU/Linux) (redhat-release=redhat-release-3AS-8.3). Which command do I use to list World Wide Name information of the QLA2300 HBA? I tried /proc/scsi and /proc/xscsi but I found nothing there. Thank you for your help.

share|improve this question
2  
What exactly are you asking here? – nhinkle Apr 10 '11 at 5:18
    
I have connected the SGI Altix3000 to an SGI Storage Box, to map LUN to the SGI server i need to have the WWN that's why im looking for the command to get the FC card info. – AlBouazizi Apr 10 '11 at 6:39

I use QLogic cards in Linux. For this I use:

cat /sys/class/fc_host/<host3>/port_name

The <host> entry is different for each FC processor and host.

Your FC switch will also show this value when you connect the ports.

share|improve this answer
    
I don't see /sys/class/fc_host what i see is scsi_host – AlBouazizi Apr 20 '11 at 5:12
    
@AlBouazizi, I was searching around... check the output of "/var/cluster/cxfs_client-scripts/cxfs-enumerate-wwns". Sorry I don't know Altix all that well... – Peter B Apr 28 '11 at 14:11
    
/var/cluster/: No such file or directory Thankk you for effort – AlBouazizi May 6 '11 at 5:54

now, it seems to be a fairly complex process. According to this its supposed to be in /proc/scsi, and you can pull out the port numbers with egrep.

share|improve this answer
    
What i was asking: i need to have the WWN of the Fibre Channel: QLogic Corp. QLA2300 64-bit FC-AL Adapter (rev 01). – AlBouazizi Apr 10 '11 at 6:36
    
Journeyman Geek, in /proc/ no scsi dir found- in /proc/xscsi found 2 files(dksc,scsi) and one dir ctrl with nothing is there. – AlBouazizi Apr 10 '11 at 6:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .