General
cancel
Showing results for 
Search instead for 
Did you mean: 

problems with EVA4100 y multipath i see each device 4 times

GUIDAGONCALVES
Occasional Advisor

problems with EVA4100 y multipath i see each device 4 times

I'm installing a RHEL 4.6 server with an Emulex A8003A. I install the PSP 8.26. The multipathing doesn't work, I see each device four time ! It's doesn't work like QLogic FC card, this is with an EVA4100
i have the following software installed:
-HPDMultipath-4.3.0
-hp-lpfc-8.0.16.40_p2-1

this are some of the screens:

# ls /dev|grep sd
# multipath -l
# cat/proc/scsi/scsi|less
ksh: cat/proc/scsi/scsi: not found

# cat /proc/scsi/scsi | less
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: HSV200 Rev: 6110
Type: RAID ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: HSV200 Rev: 6110
Type: RAID ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: HSV200 Rev: 6110
Type: RAID ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: HSV200 Rev: 6110
Type: RAID ANSI SCSI revision: 05
# hp_rescan -a
Adding legacy tape devices to /proc/scsi/device_info
Scanning /sys/class/scsi_host/host0
Scanning /sys/class/scsi_host/host1
Scanning /sys/class/scsi_host/host2
Scanning /sys/class/scsi_host/host3


scsi0 00 00 00 HP HSV200 6110 RAID
scsi0 00 01 00 HP HSV200 6110 RAID
scsi0 00 00 01 HP HSV200 6110 Direct-Access
scsi0 00 01 01 HP HSV200 6110 Direct-Access
scsi2 00 00 00 HP HSV200 6110 RAID
scsi2 00 01 00 HP HSV200 6110 RAID
scsi2 00 00 01 HP HSV200 6110 Direct-Access
scsi2 00 01 01 HP HSV200 6110 Direct-Access

# ls /dev | grep sd
sda
sdb
sdc
sdd
# multipath -ll
mpath11 (3600508b40006cd4f0000b000001a0000)
[size=1 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [prio=100][enabled]
\_ 0:0:0:1 sda 8:0 [active][ready]
\_ 2:0:0:1 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 0:0:1:1 sdb 8:16 [active][ready]
\_ 2:0:1:1 sdd 8:48 [active][ready]

thanking all your help
6 REPLIES
Ivan Ferreira
Honored Contributor

Re: problems with EVA4100 y multipath i see each device 4 times

With DM Multipath it's normal, your "multipath aware" device is mpath11 as displayed in the output of multipath -ll, and this device has 4 paths (sda, sdb, sdc, sdd).

And yes, it does not works as the Qlogic failover driver, but it works.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
GUIDAGONCALVES
Occasional Advisor

Re: problems with EVA4100 y multipath i see each device 4 times

Thanks Ivan;

but im confused, this device has 4 paths (sda, sdb, sdc, sdd)like you said to me, but there is no way to see this device only by 1 path, because is the same disk seen 4 times by the four channels of the 2 controllers

thanking all your help
sen_ux
Valued Contributor

Re: problems with EVA4100 y multipath i see each device 4 times

In your multipath -ll output, you can see the mpath device with corresponding device ID and the physical paths (sda,sdb,....) involved.

lssd also shows all the physical paths.
I dont know about a command which shows only the LUN.

Check your mpath devices by
#ll /dev/mpath
GUIDAGONCALVES
Occasional Advisor

Re: problems with EVA4100 y multipath i see each device 4 times

HI, but i still confused, im going to see always the 4 paths, there is no way to see it by just 1 path.

thanking all your help
Ivan Ferreira
Honored Contributor

Re: problems with EVA4100 y multipath i see each device 4 times

Your device will be /dev/mapper/mpath11. You will perform the operations over this device and you will not use sd*.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: problems with EVA4100 y multipath i see each device 4 times

Shalom,

There really are four paths.

You use the path Ivan specified because that will work if any of the 4 actual paths are up.

Server has two hba cards.
Fiber network has two channels.

Four paths.

You want to see them in case you have troubles and need to diagnose.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com