|
From: Marko K. <mar...@ar...> - 2012-07-09 16:36:09
|
Hi,
Thanks for the hint. I've added this to multipathd.conf
# IET Target
devices {
device {
vendor "IET"
product "VIRTUAL-DISK"
path_grouping_policy multibus
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_min_io 1
rr_weight priorities
}
}
restarted multipath and now I see:
mpathb (1494554000000000067722d70726f6430392d736f6c723032) dm-0 IET,VIRTUAL-DISK
size=1.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 4:0:0:0 sda 8:0 active ready running
`- 5:0:0:0 sdb 8:16 active ready running
and dd shows:
# sync; time `dd if=/dev/zero of=/index2/ddfile bs=1M count=20480 && sync`
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB) copied, 84.4271 s, 254 MB/s
Now I'm happy ;)
Kind regards, Marko Kobal
From: Donald Williams [mailto:don...@gm...]
Sent: Monday, July 09, 2012 6:30 PM
To: Marko Kobal
Subject: Re: [iscsitarget-devel] mulpath.conf example?
That's because MPIO isn't completely configured. The output needs to be like this:
mpathb (1494554000000000067722d70726f6430392d736f6c723032) dm-0 IET,VIRTUAL-DISK
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:0 sda 8:0 active ready running
` `- 3:0:0:0 sdb 8:16 active ready running
You can try #multipath -v2 then #multipath -ll again. If that still doesn't show correctly restart the multipath daemon service.
On Mon, Jul 9, 2012 at 12:09 PM, Marko Kobal <mar...@ar...<mailto:mar...@ar...>> wrote:
Hi,
Thanks, I've managed to get it working:
mpathb (1494554000000000067722d70726f6430392d736f6c723032) dm-0 IET,VIRTUAL-DISK
size=1.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:0 sda 8:0 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:0:0 sdb 8:16 active ready running
I see only the first path is active, how can I set it to active-active setup?
Lep pozdrav, Marko Kobal
CTO, Arctur d.o.o.
From: Donald Williams [mailto:don...@gm...<mailto:don...@gm...>]
Sent: Monday, July 09, 2012 5:12 PM
To: Marko Kobal
Subject: Re: [Iscsitarget-devel] mulpath.conf example?
Are you asking for help setting up MPIO itself or tweaking the resulting devices?
Centos includes a sample multipath.conf under /usr/share/doc/device-mapper-multipath-0.4.7
It's called multipath.conf.defaults. This file allows you to manage how MPIO devices are handled, it does not actually configure MPIO.
I know how to configure MPIO for an Equallogic SAN, but not for IETd. I suspect others on this list will be able to help you.
Regards,
On Mon, Jul 9, 2012 at 10:17 AM, Marko Kobal <mar...@ar...<mailto:mar...@ar...>> wrote:
Hi,
I would like to setup multipath from a Centos6 box to an IET target (via 2x Gbit interfaces) ... Can one provide me with a samle mulpath.conf?
Kind regards, Marko Kobal
CTO, Arctur d.o.o.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iscsitarget-devel mailing list
Isc...@li...<mailto:Isc...@li...>
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
|