All of lore.kernel.org
 help / color / mirror / Atom feed
* Followup: multipath setup with emc clariion
@ 2007-02-10 14:19 Harald Milz
  2007-02-12  7:06 ` Yury Konovalov
  0 siblings, 1 reply; 2+ messages in thread
From: Harald Milz @ 2007-02-10 14:19 UTC (permalink / raw)
  To: dm-devel

Hi,

I had a problem similar to the one described in
http://www.redhat.com/archives/dm-devel/2006-July/msg00034.html at  a
customer site (RHEL/RHCS 4.4) and found out that the solution is actually
quite easy. You just have to blacklist the LUNZ's WWID. Since I found
no related information anywhere I thought I'd post it here.

Our setup: a pair of Sun x4200 servers w/ Emulex LP11000 HBAs, RHEL4.4,
CLARiiON CX3-20, EMC / Broadcom FC Switches.

So what I did was:
- boot up the machine with FC cables pulled
- rmmod / modprobe lpfc - this re-scans the bus and creates the necessary
  kernel devices. You'll see the LUNZ's in /proc/scsi/scsi. 
- modprobe dm-multipath and run "multipath -v2" with just sda and sdb 
  blacklisted (internal disks)
- the command gives you the WWID of the LUNZ (size 1 GB, it's almost
  certainly mpath0), plus lots of error messages that dm-emc (or was it
  dm-multipath itself?) has failed paths for one of the devices. 
- add this WWID to the blacklist in /etc/multipath.conf
- you'll have to reset the machine or switch it off hard because kpartx is
  sitting on /dev/mapper/mpath0 in state "D". RHEL will wait forever and
  not shut down if you only do a "halt". 
- next time the box comes up, everything is fine. 
- I usually give all other WWIDs aliases in a multipaths{} section in order
  to have a consistent naming scheme, and use the alias names in /etc/fstab
  or wherever. Very handy in a HA/failover setup. 


Strange thing is, and this is almost certainly related to the CLARiiON
CX3-20 setup, on a second pair of machines attached to the same CX box, we
have no LUNZ whatsoever. Any insight why and when this is so? The point is,
you usually don't want the LUNZ devices if you want to do multipathing. 




-- 
Harris's Lament:
	All the good ones are taken.

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

* Re: Followup: multipath setup with emc clariion
  2007-02-10 14:19 Followup: multipath setup with emc clariion Harald Milz
@ 2007-02-12  7:06 ` Yury Konovalov
  0 siblings, 0 replies; 2+ messages in thread
From: Yury Konovalov @ 2007-02-12  7:06 UTC (permalink / raw)
  To: device-mapper development

Hi Harald,

2007/2/10, Harald Milz <hm@seneca.muc.de>:
> Strange thing is, and this is almost certainly related to the CLARiiON
> CX3-20 setup, on a second pair of machines attached to the same CX box, we
> have no LUNZ whatsoever. Any insight why and when this is so? The point is,
> you usually don't want the LUNZ devices if you want to do multipathing.

You have to present your real LUN's using LUN number starting from "0",  to get
rid of LUNZ.  This is how EMC CX behave: If you don't put anything at
LUN 0, it will
contain LUNZ.
-- 
Best Regards.

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

end of thread, other threads:[~2007-02-12  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10 14:19 Followup: multipath setup with emc clariion Harald Milz
2007-02-12  7:06 ` Yury Konovalov

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.