All of lore.kernel.org
 help / color / mirror / Atom feed
From: Malahal Naineni <malahal@us.ibm.com>
To: dm-devel@redhat.com
Subject: Re: [BUG] multipath-tools: uuid has become meaningless
Date: Mon, 16 Aug 2010 15:56:34 -0700	[thread overview]
Message-ID: <20100816225634.GA30302@us.ibm.com> (raw)
In-Reply-To: <1279604124.2841.5.camel@Nokia-N900-42-11>

Christophe Varoqui [christophe.varoqui@gmail.com] wrote:
>    >
>    > My thoughts on fixing this:
>    > 1. Technically nothing wrong. Live with it and make sure that device
>    >       mapper's uuid are meaningless for user and fix 'multipath -l' to
>    >       not print uuid's.
> 
>    I don't like this one : the uuid is the communication medium with storage
>    teams in big IT departement.
> 
>    > 2. Don't support user_friendly_names in initrd. Could be just documented
>    >       or an option to multipath is added to ignore that feature and that
>    >       option is used in initrd calls!
> 
>    I let distributors comment on this one, but I guess it will replace a
>    confusion (a naming file in initrd the sysadmin have to keep in sync) by
>    another (root kparm not consistent with what you see on a booted system).
>    I personnaly agree that user_friendly_names disabled in initrd would be a
>    safer confuser.
> 
>    > 3. We could rename the devices instead of reload -- really fixing this!
>    >
> 
>    This one seems safe.

Sorry for the delay. I actually found another easier way to fix it!
Looks like the bindings file in initramfs and the active root file
system may not be in *sync* but not *inconsistent*. The problem happens
because the initramfs is mounted read/write, and multipath modifies
bindings file in memory at initramfs time that may become *inconsistent*
with the bindings file in the active root file system. 

The patch in a next mail will add an option to 'multipath' to not update
the bindings file. It will treat it as read-only, so devices that don't
have an entry in the bindings file will get WWID based names.

Thanks, Malahal.

      parent reply	other threads:[~2010-08-16 22:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 22:45 [BUG] multipath-tools: uuid has become meaningless Malahal Naineni
2010-07-20  5:35 ` Christophe Varoqui
2010-07-20  6:54   ` Malahal Naineni
2010-07-20  7:17     ` Hannes Reinecke
2010-07-20 22:06       ` Malahal Naineni
2010-07-21  3:04         ` [BUG] please PLEASE UnSubscribe!!! W S
2010-07-21 10:44         ` [BUG] multipath-tools: uuid has become meaningless Hannes Reinecke
2010-08-16 22:56   ` Malahal Naineni [this message]

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=20100816225634.GA30302@us.ibm.com \
    --to=malahal@us.ibm.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.