All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: pedro.faustino@fccn.pt, device-mapper development <dm-devel@redhat.com>
Subject: Re: user defined device name and table
Date: Tue, 27 Nov 2007 13:48:20 -0600	[thread overview]
Message-ID: <20071127194820.GA25939@ether.msp.redhat.com> (raw)
In-Reply-To: <474BE407.4050206@fccn.pt>

On Tue, Nov 27, 2007 at 09:31:51AM +0000, Pedro Bandim Faustino wrote:
> 
> Stefan Bader wrote:
> >
> >You should be able to change the name by creating a multipaths section 
> >like below
> >
> >multipaths {
> >    multipath {
> >        wwid "3600a0b8000295d64000009304742b4c8"
> >        alias "SRV07_BOOT"
> >    }
> >}
> >
> >If that does not work as expected, you might have to say "no" to the 
> >user friendly names option.
> Hi Stefan,
> I've tried that, but what happens is that once the multipathd starts 
> I'll have duplicate multipaths, the one at boot time and this one by 
> multipathd, with different names.
> 

If you add aliases to the multipaths section, like Stefan decribed, and
then rerun multipath, do the devices change names to given aliases? They
should.  Then, you should be able to remake the initrd, and reboot and
just see the alias.  If you try this, and it doesn't work, let me know.

-Ben

  reply	other threads:[~2007-11-27 19:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 14:53 user defined device name and table Pedro Bandim Faustino
2007-11-26 16:44 ` Stefan Bader
2007-11-27  9:31   ` Pedro Bandim Faustino
2007-11-27 19:48     ` Benjamin Marzinski [this message]
2007-11-28 10:32       ` Pedro Bandim Faustino
2007-11-26 19:46 ` malahal
2007-11-27 10:00   ` user defined device name and table - SOLVED Pedro Bandim Faustino

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=20071127194820.GA25939@ether.msp.redhat.com \
    --to=bmarzins@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=pedro.faustino@fccn.pt \
    /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.