The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-19-2007 09:52 PM
Repeating "vi" ex-editor 'command mode' commands royalibrahim Shell Programming and Scripting 0 09-25-2007 12:21 AM
"vxdctl -c mode"--cluster inactive problem. ranacse SUN Solaris 4 07-24-2007 12:38 AM
"cannot display this video mode" here2learn UNIX for Dummies Questions & Answers 1 05-19-2005 06:56 AM
Why i can't use the tool "turbosoundcfg" to configure the sound in my TurboLinux? sensir163 Filesystems, Disks and Memory 3 04-04-2002 07:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
How to configure a FC HBA in "initiator mode"?

Hi all,
I have a p520 machine running 5.2ML9 with a 2Gb FC HBA from IBM, i.e.

# lscfg -vl fcs0
fcs0 U787A.001.DNZ06YM-P1-C3-T1 FC Adapter

Part Number.................80P4543
EC Level....................A
Serial Number...............1F4270A0B6
Manufacturer................001F

Our network administrator is trying to get the host to see some shared storage on our SAN, but reports that the switch sees the host as "UNKNOWN", and states that the HBA needs to be in "initiator mode". However, going into SMIT, I can't see obvious configuration options to use.

The device is seen as "AVAILABLE" as per lsdev -C. Has anyone any idea how this mode should be configured?

Many thanks,
Bookie
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: Mar 2008
Location: In the middle of Europe
Posts: 67
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Could you post the output of
# lsattr -El fscsi0
Reply With Quote
  #3 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Sure - here it is - thanks!

# lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
scsi_id 0x110400 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
Reply With Quote
  #4 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: Mar 2008
Location: In the middle of Europe
Posts: 67
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by Bookie View Post
[...] # lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
scsi_id 0x110400 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
So it seems that the adapter itself knows that it is attached to a switch. Thus from the AIX server side it seems ok. I assume that you have the latest adapter microcode plus AIX driver filesets installed. If you don't - update those first. What you could try then is:
firstly: have the SAN admin switch the port in question off and then on again. Check.
Secondly: if the WWN does not want to register with the switch: delete the fibre channel adapter (from slot to latest device) from the server and re-install.
# lsdev -l fcs0 -F parent
will return a slot e.g. pci03
# rmdev -dl pci03 -R
[in case of DS4K HW you might use rdac and then you need to delete dar and dac devices, too]
After all fcs, fcsi, fcsnet etc. devices are gone run
# cfgmgr

Then test again.
Reply With Quote
  #5 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thanks for taking the time to respond. Will try those things once network guy back in the office.

Thanks again!
Reply With Quote
  #6 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Sep 2006
Posts: 206
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Did you post the whole lscfg -vl fcs0 output?
A while ago there was a firmware bug on some adapters and they would not report the whole output, looked just like the output you posted.
If that is all the output you get then call IBM, or the people who supplied the card, and ask for the tool to reflash the card, or for a new card.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m ascii eof autosys awk trim bash eval bash exec bash for loop bash subroutine boot: cannot open kernel/sparcv9/unix close_wait curses.h dead.letter find grep grep multiple lines grep or grep recursive grep unique inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment make: fatal error: command failed for target `all-recursive' mget mtime perl array length ping port read awk output into multiple variables replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix for loop unix forum unix forums unix interview questions unix memory usage unix mtime unix simulator unix.com while loop within while loop shell script


All times are GMT -7. The time now is 05:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102