All of lore.kernel.org
 help / color / mirror / Atom feed
* user defined device name and table
@ 2007-11-26 14:53 Pedro Bandim Faustino
  2007-11-26 16:44 ` Stefan Bader
  2007-11-26 19:46 ` malahal
  0 siblings, 2 replies; 7+ messages in thread
From: Pedro Bandim Faustino @ 2007-11-26 14:53 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 1969 bytes --]

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.

Any help will be very appreciated!!

Thank you,
Pedro Faustino

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 2980 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-28 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.