All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Milz <hm@seneca.muc.de>
To: dm-devel@redhat.com
Subject: Followup: multipath setup with emc clariion
Date: Sat, 10 Feb 2007 15:19:59 +0100	[thread overview]
Message-ID: <20070210141959.GA24225@seneca.muc.de> (raw)

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.

             reply	other threads:[~2007-02-10 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10 14:19 Harald Milz [this message]
2007-02-12  7:06 ` Followup: multipath setup with emc clariion Yury Konovalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070210141959.GA24225@seneca.muc.de \
    --to=hm@seneca.muc.de \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.