From: "--[ UxBoD ]--" <uxbod@splatnix.net>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: How to change alias name
Date: Wed, 3 Feb 2010 14:16:38 +0000 (GMT) [thread overview]
Message-ID: <25367463.810.1265206598141.JavaMail.root@office.splatnix.net> (raw)
In-Reply-To: <2498405.808.1265206317930.JavaMail.root@office.splatnix.net>
----- "--[ UxBoD ]--" <uxbod@splatnix.net> wrote:
> Hi,
>
> we have a situation where we need to rename a server and would also
> like to change the associate multipath alias. Is this possible
> without restarting the whole multipath daemon and killing all our
> other mounted partitions ? The server we need to work on is in a
> shutdown state so the associated partitions are not active.
>
Reading through the documentation if I do:
dmsetup -v status insguest01
I see the following with the Name being the alias.
Name: insguest01
State: ACTIVE
Read Ahead: 1024
Tables present: LIVE
Open count: 4
Event number: 1
Major, minor: 253, 4
Number of targets: 1
UUID: mpath-3600144f0e2824900000049df899b0002
I can then perform the same command on each of its partitions. If I wanted to rename this guest's devices to insguest02 would I do:
dmsetup rename insguest01 insguest02
then update /etc/multipath.conf so that the alias name reflects the new name at boot time ? and would I need to perform the same operation on all the partitions as well ?
--
Thanks - Phil
next parent reply other threads:[~2010-02-03 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2498405.808.1265206317930.JavaMail.root@office.splatnix.net>
2010-02-03 14:16 ` --[ UxBoD ]-- [this message]
2010-02-03 14:23 ` How to change alias name Christophe Varoqui
2010-02-03 14:32 ` --[ UxBoD ]--
2010-02-03 13:25 --[ UxBoD ]--
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=25367463.810.1265206598141.JavaMail.root@office.splatnix.net \
--to=uxbod@splatnix.net \
--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.