From: "Bryn M. Reeves" <breeves@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dup mpath?
Date: Fri, 12 Oct 2007 14:19:11 +0100 [thread overview]
Message-ID: <470F744F.5080709@redhat.com> (raw)
In-Reply-To: <000001c80ca5$9e4ef150$222813ac@pitagora.it>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Domenico Viggiani wrote:
> Hi,
> what's the exact meaning of these messages:
>
> # multipath -v2
> remove: mpath9 (dup of mpath1)
> mpath9: map in use
> remove: mpath13 (dup of mpath2)
> mpath13: map in use
>
> ?
> If mpath9/13 already exist, why does multipath try to create mpath1/2?
>
> System (RH 4.5) is just rebooted, storage is EMC Clariion CX700.
> LVM is in use.
Looks like you have a problem with your bindings
(/var/lib/mpath/bindings). This can happen if, for e.g. the /var tree is
a separate file system.
In this case, multipath devices are created by rc.sysinit before /var is
mounted. Later on, if the wwid to mpath names in the bindings file are
different from those that mpath auto-detected in rc.sysinit you end up
with conflicts like this - multipath is trying to re-name the mpath
devices according to the entries in the bindings file.
If LVM has already activated volume groups on the devices this gives you
the "map in use" errors you noted above.
See this bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=320151
There are a couple of workarounds you can use: make /var part of the
root file system, configure your bindings via /etc/multipath.conf
instead (use device { /* ... */ wwid = } blocks), or copy the bindings
file from the /var file system into a location named
/var/lib/mpath/bindings on the root file system (although I would not
recommend this last option as it can become confusing).
Kind regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHD3RP6YSQoMYUY94RAhqMAKC33LKJBCK5R7RFhk8pkixTMzOB+gCfbE6y
Nb2C5vqHipk9lVXyoudOOMI=
=aUoK
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2007-10-12 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 7:58 dup mpath? Domenico Viggiani
2007-10-12 13:19 ` Bryn M. Reeves [this message]
2007-10-12 13:28 ` Bryn M. Reeves
2007-10-12 14:39 ` Domenico Viggiani
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=470F744F.5080709@redhat.com \
--to=breeves@redhat.com \
--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.