Originally posted by: SystemAdmin
Hi,
I'm new to these forums. If I targeted the wrong one, please let me know.
I've a Power7 machine. The VIOS partition seems to exhibit 2 FC adapters.
These are unused, not connected to any thing.
$ lsdev -type adapter name status description ... fcs0 Available 4Gb FC PCI Express Adapter (df1000fe) fcs1 Available 4Gb FC PCI Express Adapter (df1000fe) .... $
When I use the HBA library from a program I'm writing, I can grab information on both of them, however, response time for the second one is awfully slow. It takes more than one minute to get the info which is almost instantly returned for the first one...
In addition, the fcstat command returns data for fcs0 and returns an error for the fcs1:
$ fcstat fcs1 Error opening device: /dev/fscsi1 errno: 0000000d (EPERM) $ # sometimes I also get the following message $ fcstat fcs1 Error opening device: /dev/fscsi1 errno: 00000046 (ENETUNREACH) $
I test all return codes from the HBA library and always get HBA_STATUS_OK...
-
Why is this second access so slow?
-
Is there any way to go faster?
-
Why is there an error detected by fcstat but none reported by the HBA library?
If someone had a clue, I'd be really grateful.
Thanks,
François
#AIX-Forum