From: Pedro Bandim Faustino <pedro.faustino@fccn.pt>
To: Stefan Bader <sbader3@googlemail.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: user defined device name and table
Date: Tue, 27 Nov 2007 09:31:51 +0000 [thread overview]
Message-ID: <474BE407.4050206@fccn.pt> (raw)
In-Reply-To: <5201e28f0711260844r425847c0ta28ee0f988c5906@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3073 bytes --]
Stefan Bader wrote:
>
>
> 2007/11/26, Pedro Bandim Faustino <pedro.faustino@fccn.pt
> <mailto:pedro.faustino@fccn.pt>>:
>
> Hi All,
>
> I have a working multipath on root, but some questions still
> unanswered.
> I'm hoping you can help me out ;)
>
> My setup details:
> Machine: IBM Blade Server HS21 with two Qlogic HBAs each connected
> to a
> FC switch with two active ports
> Storage IBM DS4700 with two controllers
> OS: Fedora 7
> DM packages:
> - device-mapper-1.02.17-7.fc7
> - device-mapper-libs-1.02.17-7.fc7
> - device-mapper-multipath-0.4.7-11.fc7
> uname -r: 2.6.23.1-21.fc7
>
> At the moment this is what I have:
>
> Output of multipath -ll:
> mpath0 () dm-0 IBM,1814 FAStT
> [size=4.0G][features=0][hwhandler=0]
> \_ round-robin 0 [prio=4][active]
> \_ 2:0:0:0 sda 8:0 [active][ready]
> \_ 2:0:1:0 sdb 8:16 [active][ready]
> \_ 3:0:0:0 sdc 8:32 [active][ready]
> \_ 3:0:1:0 sdd 8:48 [active][ready]
>
> Output of df -k:
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/dm-2 3960348 1772124 1983800 48% /
> /dev/dm-1 101086 17593 78274 19% /boot
> tmpfs 1037416 0 1037416 0% /dev/shm
>
> Contents of /dev/mapper/:
> crw------- 1 root root 10, 63 2007-11-26 13:58 control
> brw-rw---- 1 root disk 253, 0 2007-11-26 13:58 mpath0
> brw-rw---- 1 root disk 253, 1 2007-11-26 13:58 mpath0p1
> brw-rw---- 1 root disk 253, 2 2007-11-26 13:58 mpath0p2
>
> But this is what I really would like to have:
>
> Output of multipath -ll:
> SRV07_BOOT (3600a0b8000295d64000009304742b4c8) dm-0
> IBM,1814 FAStT
> [size=4.0G][features=1 queue_if_no_path][hwhandler=0]
> \_ round-robin 0 [prio=0][enabled]
> \_ 2:0:0:0 sda 8:0 [active][ready]
> \_ 3:0:0:0 sdc 8:32 [active][ready]
> \_ round-robin 0 [prio=6][active]
> \_ 2:0:1:0 sdb 8:16 [active][ready]
> \_ 3:0:1:0 sdd 8:48 [active][ready]
>
>
> I can modify the table by modifying the init script in the initrd
> image
> and then booting with the modified initrd image but I don't know
> how to
> change the name from mpath0 to SRV07_BOOT.
>
>
> 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.
>
> Any help will be very appreciated!!
>
> Thank you,
> Pedro Faustino
>
> --
> dm-devel mailing list
> dm-devel@redhat.com <mailto:dm-devel@redhat.com>
> https://www.redhat.com/mailman/listinfo/dm-devel
>
>
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 2980 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2007-11-27 9:31 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 [this message]
2007-11-27 19:48 ` Benjamin Marzinski
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=474BE407.4050206@fccn.pt \
--to=pedro.faustino@fccn.pt \
--cc=dm-devel@redhat.com \
--cc=sbader3@googlemail.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.