Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

Autopath - EVA8k controller port

makhs
Occasional Contributor

Autopath - EVA8k controller port

Hi all,

I have a server connected to EVA8K and using autopath. Is there a way for me to identify the controller port for each device path (for the same LUN)?

# autopath display
...

==================================================================

Lun WWN : 6005-08B4-0010-653A-0001-0000-0677-0000

Load Balancing Policy : Round Robin

==================================================================

Device Path Status

==================================================================

/dev/dsk/c9t6d5 Active

/dev/dsk/c11t6d5 Active

/dev/dsk/c15t6d5 Active

/dev/dsk/c19t6d5 Active
regards,
Mak
3 REPLIES
Stephen Kebbell
Honored Contributor

Re: Autopath - EVA8k controller port

Hi,

look for those 4 devices (c9t6d5) in the output of ioscan -fnkC disk
In the Hardware Path for that device it will have the SAN switch domain ID and port number of the target port (EVA controller). Then you can easily figure out which EVA port is connected to that SAN port.

Regards,
Stephen
Amar_Joshi
Honored Contributor

Re: Autopath - EVA8k controller port

These 4 devices are coming from 2 HBA controllers (each controller presents 2 devices for the same LUN because it has 2 paths to each EVA controller).

Grab the #ioscan -kfn output and look for the hardware path for c9t6d5/c11t6d5/c15t6d5/c19t6d5 devices and the hardware path for FC-HBAs (usually /dev/td0 or /dev/fc0) and it will tell you which devices are part of which FC-HBA.
Mak Hon Shern
Occasional Visitor

Re: Autopath - EVA8k controller port

Hi Stephen and Amardeep,

thanks, from the ioscan I was able to determine the hardware path and the hba card for each device.

Another example:

==================================================================
Lun WWN : 6005-08B4-0010-6545-0001-0000-014A-0000
Load Balancing Policy : Round Robin
==================================================================
Device Path Status
==================================================================
/dev/dsk/c21t0d2 Active
/dev/dsk/c23t0d2 Active
/dev/dsk/c17t0d2 Active
/dev/dsk/c19t0d2 Active


From ioscan -knfCdisk :

disk 145 0/0/2/1/0/4/0.32.6.0.0.0.2 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c21t0d2 /dev/rdsk/c21t0d2
disk 144 0/0/2/1/0/4/0.32.7.0.0.0.2 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c23t0d2 /dev/rdsk/c23t0d2
disk 42 0/0/10/1/0/4/0.31.6.0.0.0.2 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c17t0d2 /dev/rdsk/c17t0d2
disk 10 0/0/10/1/0/4/0.31.7.0.0.0.2 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c19t0d2 /dev/rdsk/c19t0d2


From ioscan -knfCfc:
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
fc 0 0/0/2/1/0/4/0 fcd CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1)
/dev/fcd0
fc 1 0/0/10/1/0/4/0 fcd CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1)
/dev/fcd1

From olrad -q:
Slot Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode
Num Spd Mode
0-1-3-2 0/0/2/1 42 133 133 On Yes No Yes N/A PCI-X PCI-X
0-1-3-9 0/0/10/1 168 133 133 On Yes No Yes N/A PCI-X PCI-X


With this information, I should be able to determine which SAN switches each device path come from. But from each switch, there are 2 paths to controllers A and B. How can I tell which controller ports for a given device path?

(Planning to free up a controller port, so need to remove the associated device path before that)