All of lore.kernel.org
 help / color / mirror / Atom feed
* trouble with software raid-1 on dm-multipath-devices
@ 2005-06-09 10:19 Sven Hessenmueller
  2005-06-09 14:42 ` Lars Marowsky-Bree
  2005-06-28 22:04 ` Trouble with SATA drives: "IRQ disabled" Patrik Jonsson
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Hessenmueller @ 2005-06-09 10:19 UTC (permalink / raw)
  To: linux-raid

hi list!

i want to build a software raid-1 on top of multipath-devices and maybe
need to stack an lvm on top of this (not sure yet).

some details of my trouble by doing so:

my host with 2 HBAs (emulex lp9802) is attached to 2 storage-arrays
(emc symmetrix on different locations) on a dual independet fabric (1
hba on each fabric).

i have 2 paths to each symmetrix - looks like this:


SYMMETRIX1:
 (0 0 0 10) sdb [ready ] (8:16)
 (1 0 0 10) sdr [ready ] (65:16)
SYMMETRIX2:
 (0 0 1 61) sdj [ready ] (8:144)
 (1 0 1 61) sdz [ready ] (65:144)

so i just build the multipath devices:

echo "0 17677440 multipath 2 round-robin 1 0 65:16 round-robin 1 0 
8:16"  | dmsetup create sym1_388

...make the nodes via dmsetup mknodes etc.

to this point all is fine.

but now i want to build a mirror between the syms and *grmbl*:

mdadm -C -l mirror -n 2 /dev/md0 /dev/mapper/sym1_dev388 
/dev/mapper/sym2_dev388

results in:

Jun  8 02:24:09 s01kr606 kernel: md: could not lock dm-7.
Jun  8 02:24:09 s01kr606 kernel: md: error, md_import_device() returned -16

is there any other possibility or any clue to get it working??

i'm using a sles9 with sp1. in the past (kernel 2.4, sles8 w sp3) i got 
the same construction working with md-only (md-multipathing, stacking a 
md-mirror on top and finally stacking an lvm on top of the mirror) but i 
like the multipath implemetation with dm much more...

thanks!

-sven


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

end of thread, other threads:[~2005-06-28 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 10:19 trouble with software raid-1 on dm-multipath-devices Sven Hessenmueller
2005-06-09 14:42 ` Lars Marowsky-Bree
2005-06-10 15:03   ` Sven Hessenmueller
2005-06-28 22:04 ` Trouble with SATA drives: "IRQ disabled" Patrik Jonsson

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.