Detecting WWID number of HBA on SLES11

Hi,

I have SLES11 installed on server. I have attached 2 SAS cables which are connected to External storage device.
I have connected 3 machines to external storage device. It shows total 6 ID’s. I want to know which 2 are from which machine.

I would like to find out the WWID number of HBA’s on SLES 11 machine.

Any idea; how can do this?

Thanks,
Shashank

Hi,

I could find the WWID of HBA’s. It is manual process to see the exact number, but I am not blocked now.

cpt2:~ # find /sys -name sas_address

It gives lot of files. I went thr each file and could match the wwid that is available on storage.
e.g:
cpt2 #cat /sys/devices/pci0000:00/0000:00:07.0/0000:1a:00.0/host1/phy-1:3/sas_phy/phy-1:3/sas_address
0x500605b001413460
cpt2 #

Thanks all for help.

This is the openSUSE forum; there is a link to the SLES forum NOVELL FORUMS lower down this page.

john hudson wrote:

>
> This is the openSUSE forum; there is a link to the SLES forum ‘NOVELL
> FORUMS’ (http://forums.novell.com/) lower down this page.

The answer to the OPs question would be the same though.


Per Jessen, Zürich (24.8°C)
http://en.opensuse.org/User:Pjessen