<br><br><div><span class="gmail_quote">2007/11/26, Pedro Bandim Faustino <<a href="mailto:pedro.faustino@fccn.pt">pedro.faustino@fccn.pt</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br><br>I have a working multipath on root, but some questions still unanswered.<br>I'm hoping you can help me out ;)<br><br>My setup details:<br>Machine: IBM Blade Server HS21 with two Qlogic HBAs each connected to a
<br>FC switch with two active ports<br>Storage IBM DS4700 with two controllers<br>OS: Fedora 7<br>DM packages:<br>    - device-mapper-1.02.17-7.fc7<br>    - device-mapper-libs-1.02.17-7.fc7<br>    - device-mapper-multipath-0.4.7-11.fc7
<br>uname -r: 2.6.23.1-21.fc7<br><br>At the moment this is what I have:<br><br>Output of multipath -ll:<br>mpath0 () dm-0 IBM,1814      FAStT<br>[size=4.0G][features=0][hwhandler=0]<br>\_ round-robin 0 [prio=4][active]<br>
 \_ 2:0:0:0 sda 8:0   [active][ready]<br> \_ 2:0:1:0 sdb 8:16  [active][ready]<br> \_ 3:0:0:0 sdc 8:32  [active][ready]<br> \_ 3:0:1:0 sdd 8:48  [active][ready]<br><br>Output of df -k:<br>Filesystem           1K-blocks      Used Available Use% Mounted on
<br>/dev/dm-2              3960348   1772124   1983800  48% /<br>/dev/dm-1               101086     17593     78274  19% /boot<br>tmpfs                  1037416         0   1037416   0% /dev/shm<br><br>Contents of /dev/mapper/:
<br>crw-------  1 root root  10, 63 2007-11-26 13:58 control<br>brw-rw----  1 root disk 253,  0 2007-11-26 13:58 mpath0<br>brw-rw----  1 root disk 253,  1 2007-11-26 13:58 mpath0p1<br>brw-rw----  1 root disk 253,  2 2007-11-26 13:58 mpath0p2
<br><br>But this is what I really would like to have:<br><br>Output of multipath -ll:<br>SRV07_BOOT (3600a0b8000295d64000009304742b4c8) dm-0 IBM,1814      FAStT<br>[size=4.0G][features=1 queue_if_no_path][hwhandler=0]<br>
\_ round-robin 0 [prio=0][enabled]<br> \_ 2:0:0:0 sda 8:0   [active][ready]<br> \_ 3:0:0:0 sdc 8:32  [active][ready]<br>\_ round-robin 0 [prio=6][active]<br> \_ 2:0:1:0 sdb 8:16  [active][ready]<br> \_ 3:0:1:0 sdd 8:48  [active][ready]
<br><br><br>I can modify the table by modifying the init script in the initrd image<br>and then booting with the modified initrd image but I don't know how to<br>change the name from mpath0 to SRV07_BOOT.</blockquote>
<div><br>You should be able to change the name by creating a multipaths section like below<br><br>multipaths {<br>    multipath {<br>        wwid "3600a0b8000295d64000009304742b4c8"<br>        alias "SRV07_BOOT"
<br>    }<br>}<br></div><br>If that does not work as expected, you might have to say "no" to the user friendly names option.<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Any help will be very appreciated!!<br><br>Thank you,<br>Pedro Faustino<br><br>--<br>dm-devel mailing list<br><a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/dm-devel">
https://www.redhat.com/mailman/listinfo/dm-devel</a><br><br></blockquote></div><br>