All of lore.kernel.org
 help / color / mirror / Atom feed
* How To Get WWN and Device Mapping
@ 2009-06-19 23:54 Paul Lung (paul.lung@loglogic.com)
  2009-06-20  0:21 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Lung (paul.lung@loglogic.com) @ 2009-06-19 23:54 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org

Hi,

I'm using 2.6.25.14 kernel with the qla2xxx driver turned on for a SAN, and I tried to use SCLI from QLogic to get the linux device->wwn mapping. However, SCLI does not seem to be able to detect any LUNs with the driver in 2.6.25 kernel. I then found that doing a scsi_id on a device(say, ./block/sde)  will give me the wwn, with an extra number in the front. However, further research seems to indicate that scsi_id does not always give back the wwn. It's is totally dependent on the physical device being queried. 

So, is there any way to reliably get the WWN of a linux device? The qla2xxx driver must have gotten the wwn of all the drives on the SAN. Is this information "published" anywhere?

Thank you very much for your time.

Paul Lung

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

end of thread, other threads:[~2009-06-23 18:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 23:54 How To Get WWN and Device Mapping Paul Lung (paul.lung@loglogic.com)
2009-06-20  0:21 ` James Bottomley
2009-06-23 17:36   ` Paul Lung (paul.lung@loglogic.com)
2009-06-23 18:42     ` Douglas Gilbert
2009-06-23 18:51       ` Giridhar Malavali

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.