[dm-devel] Odd detection and failover

Paras pradhan pradhanparas at gmail.com
Fri Jan 8 03:59:42 UTC 2010


HI,

My host is RHEL 5.4. I have a single qlogic HBA with 2 ports. Both of the
ports are connected to Hitachi Open V*9 storage (via 2 different McData
switches). I believe in this case I should see 2 devices under /dev/ or
should I see 4?. My storage admin assigned 2 Luns for the 2 WWN for the HBA.
When only one LUN (301GB) was assinged there were 8 devices under /dev/ from
sdb to sdi. And when a 2nd Lun (335GB) was added there is now 12 devices
under /dev/ sdb to sdm. The qlogic driver I am using is the default one
thats comes with RH5.4

Now,

When I configure multipath. My multipath -ll reports as:

mpath1 (360060e8004770d000000770d0000018c) dm-1 HITACHI,OPEN-V*10
[size=335G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=4][active]
 \_ 5:0:0:1     sdc 8:32  [active][ready]
 \_ 5:0:0:16385 sdf 8:80  [active][ready]
 \_ 5:0:0:32769 sdi 8:128 [active][ready]
 \_ 5:0:0:49153 sdl 8:176 [active][ready]
mpath0 (360060e8004770d000000770d00000154) dm-0 HITACHI,OPEN-V*9
[size=301G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=8][active]
 \_ 5:0:0:0     sdb 8:16  [active][ready]
 \_ 6:0:0:0     sdd 8:48  [active][ready]
 \_ 5:0:0:16384 sde 8:64  [active][ready]
 \_ 6:0:0:16384 sdg 8:96  [active][ready]
 \_ 5:0:0:32768 sdh 8:112 [active][ready]
 \_ 6:0:0:32768 sdj 8:144 [active][ready]
 \_ 5:0:0:49152 sdk 8:160 [active][ready]
 \_ 6:0:0:49152 sdm 8:192 [active][ready]

Is this correct?

But multipath -l reports:

mpath1 (360060e8004770d000000770d0000018c) dm-1 HITACHI,OPEN-V*10
[size=335G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
 \_ 5:0:0:1     sdc 8:32  [active][undef]
 \_ 5:0:0:16385 sdf 8:80  [active][undef]
 \_ 5:0:0:32769 sdi 8:128 [active][undef]
 \_ 5:0:0:49153 sdl 8:176 [active][undef]
mpath0 (360060e8004770d000000770d00000154) dm-0 HITACHI,OPEN-V*9
[size=301G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
 \_ 5:0:0:0     sdb 8:16  [active][undef]
 \_ 6:0:0:0     sdd 8:48  [active][undef]
 \_ 5:0:0:16384 sde 8:64  [active][undef]
 \_ 6:0:0:16384 sdg 8:96  [active][undef]
 \_ 5:0:0:32768 sdh 8:112 [active][undef]
 \_ 6:0:0:32768 sdj 8:144 [active][undef]
 \_ 5:0:0:49152 sdk 8:160 [active][undef]
 \_ 6:0:0:49152 sdm 8:192 [active][undef]

I donot have anything in /etc/multipath.conf execpt

---
blacklist {
    devnode "^sda"
}

## Use user friendly names, instead of using WWIDs as names.
defaults {
    user_friendly_names yes
    failback immediate
---


I do not know if I need to add anything to multipath.conf for HItachu Open
V*9.

When I pull out the fibre cable on the port 1 of my HBA, there is no
failover going on and so wired to notice that my server is restarted . When
I plug the cable back it there is not automatic recovery and have to restart
server again.


I do not know what is going on in here.

Need help !

Thanks a lot
Paras.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20100107/6403cc4f/attachment.htm>


More information about the dm-devel mailing list