Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 08:50:17 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Andrew Hume <andrew@research.att.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: WWNN
Message-ID:  <20080423145017.GA57139@nargothrond.kdm.org>
In-Reply-To: <FE4560A0-F1E4-4A0A-B53E-3E923B97304D@research.att.com>
References:  <FE4560A0-F1E4-4A0A-B53E-3E923B97304D@research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 23, 2008 at 07:53:01 -0400, Andrew Hume wrote:
> hi,
> 
> 	i'm not sure if this is teh right list, but how do i determine the
> WWNN of a disk attached to my host via fiberchannel? i would have
> thought the isp driver would have such an interface.

If you boot your kernel with -v, you should get the WWNN/WWPN printed out.

It looks like there is an ioctl (ISP_FC_GETDINFO) that you can use to get
that information programatically, but I don't think we have any tools in
the tree that will dump it.  It looks like Matt has some source in the isp
driver distribution that will probably do the trick.  See:

ftp://ftp.feral.com/pub/isp

Ken
-- 
Kenneth Merry
ken@kdm.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080423145017.GA57139>