[dm-devel] user defined device name and table

Benjamin Marzinski bmarzins at redhat.com
Tue Nov 27 19:48:20 UTC 2007


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




More information about the dm-devel mailing list