public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* mptfusion: how to Find a WWN of a logged in Fibre Channel initiator?
@ 2009-03-23 12:50 Benjamin ESTRABAUD
  2009-03-25 14:20 ` Konrad Rzeszutek
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin ESTRABAUD @ 2009-03-23 12:50 UTC (permalink / raw)
  To: linux-scsi

Hi,

I am wondering if anyone would know the answer to the following question:

 From the LSI mpt fusion driver, is there a way to extract the WWN of a 
logged in Fibre Channel initiator or a known SAS initiator? I can get 
its Initiator Index from the reply word... is there a way to use this to 
return the WWN from an internal table of logged on/known initiators?

I've been trying for a good while now to do this but no luck whatsoever, 
I would really appreciate if someone who had an idea on how to do this 
could reply. Thanks a million in advance!

Ben - MPSTOR.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mptfusion: how to Find a WWN of a logged in Fibre Channel initiator?
  2009-03-23 12:50 mptfusion: how to Find a WWN of a logged in Fibre Channel initiator? Benjamin ESTRABAUD
@ 2009-03-25 14:20 ` Konrad Rzeszutek
  2009-03-25 14:47   ` Benjamin ESTRABAUD
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Rzeszutek @ 2009-03-25 14:20 UTC (permalink / raw)
  To: Benjamin ESTRABAUD; +Cc: linux-scsi

On Mon, Mar 23, 2009 at 12:50:32PM +0000, Benjamin ESTRABAUD wrote:
> Hi,
>
> I am wondering if anyone would know the answer to the following question:
>
> From the LSI mpt fusion driver, is there a way to extract the WWN of a 
> logged in Fibre Channel initiator or a known SAS initiator? I can get its 
> Initiator Index from the reply word... is there a way to use this to return 
> the WWN from an internal table of logged on/known initiators?

find /sys -name sas_address
or
find /sys -name port_name

Doesn't help?

>
> I've been trying for a good while now to do this but no luck whatsoever, I 
> would really appreciate if someone who had an idea on how to do this could 
> reply. Thanks a million in advance!
>
> Ben - MPSTOR.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mptfusion: how to Find a WWN of a logged in Fibre Channel initiator?
  2009-03-25 14:20 ` Konrad Rzeszutek
@ 2009-03-25 14:47   ` Benjamin ESTRABAUD
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin ESTRABAUD @ 2009-03-25 14:47 UTC (permalink / raw)
  To: Konrad Rzeszutek; +Cc: linux-scsi

Konrad Rzeszutek wrote:
> On Mon, Mar 23, 2009 at 12:50:32PM +0000, Benjamin ESTRABAUD wrote:
>   
>> Hi,
>>
>> I am wondering if anyone would know the answer to the following question:
>>
>> From the LSI mpt fusion driver, is there a way to extract the WWN of a 
>> logged in Fibre Channel initiator or a known SAS initiator? I can get its 
>> Initiator Index from the reply word... is there a way to use this to return 
>> the WWN from an internal table of logged on/known initiators?
>>     
>
> find /sys -name sas_address
> or
> find /sys -name port_name
>
> Doesn't help?
>
>   
Dear Konrad,

Thank you very much for your reply,

This command would help finding out the SAS addresses of any devices 
connected to the initiator, which would then work perfectly.

Unfortunately, I am working on a target configuration and trying to get 
the SAS address from a connected host.

The configuration would look like that:

Host(Initiator) <FC Link> - <FC Link> Target - <SAS> - <SAS> Disks.

I am trying to find the  WWN from the actual initiator host's FC card 
instead, from the Target.

Would you have more infos on how to do this?

Thanks in advance,

Ben - MPSTOR.
>> I've been trying for a good while now to do this but no luck whatsoever, I 
>> would really appreciate if someone who had an idea on how to do this could 
>> reply. Thanks a million in advance!
>>
>> Ben - MPSTOR.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>     
>
>   


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-25 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 12:50 mptfusion: how to Find a WWN of a logged in Fibre Channel initiator? Benjamin ESTRABAUD
2009-03-25 14:20 ` Konrad Rzeszutek
2009-03-25 14:47   ` Benjamin ESTRABAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox