public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin ESTRABAUD <be@mpstor.com>
To: Konrad Rzeszutek <konrad@virtualiron.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: mptfusion: how to Find a WWN of a logged in Fibre Channel	initiator?
Date: Wed, 25 Mar 2009 14:47:20 +0000	[thread overview]
Message-ID: <49CA43F8.7000801@mpstor.com> (raw)
In-Reply-To: <20090325142009.GA26612@mars.virtualiron.com>

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
>>     
>
>   


      reply	other threads:[~2009-03-25 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49CA43F8.7000801@mpstor.com \
    --to=be@mpstor.com \
    --cc=konrad@virtualiron.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox