From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chandra Seetharaman Subject: Re: RH 4 and HSG80 Date: Wed, 01 Aug 2007 13:58:22 -0700 Message-ID: <1186001902.17399.111.camel@linuxchandra> References: <46B0BEB9.4060303@interactivebrokers.com> <1185994366.17399.105.camel@linuxchandra> <46B0D824.5020309@interactivebrokers.com> Reply-To: sekharan@us.ibm.com, device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <46B0D824.5020309@interactivebrokers.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Eric Ritchie Cc: device-mapper development List-Id: dm-devel.ids On Wed, 2007-08-01 at 14:59 -0400, Eric Ritchie wrote: > Chandra Seetharaman wrote: > > On Wed, 2007-08-01 at 13:11 -0400, Eric Ritchie wrote: > > =20 > >> Thanks for the help. Unfortunately, I don't have /sbin/mpath_prio_hp= _sw.=20 > >> I have other mpath_prio files but not the hp one. I guess that means= I=20 > >> need a newer version of multipath-tools. How can I upgrade to the la= test=20 > >> version? > >> =20 > > > > Try out different mpath_prio's (especially the _tpc one). One of them > > _might_ work. > > =20 > I only have _alua, _emc, _hds_modular and _netapp. None of these work. sorry, I did not know what mpath_prio's were available in RHEL. You can download the latest multipath tools tree from http://git.kernel.org/?p=3Dlinux/storage/multipath-tools/.git;a=3Dtree, built the tools, copy only the _hp_sw or _tpc to /sbin and if it helps. BTW, do note that doing this may invalidate your support contract with your vendor (linux distributor).=20 >=20 > Thanks > Eric > > =20 > >> Eric > >> > >> Stefan Bader wrote: > >> =20 > >>> I have no access to HSGs but maybe this generic statements (plus so= me=20 > >>> wisdom from hwtable.c) helps: > >>> > >>> First, you are actually forcing multipath-tools to use all paths by= =20 > >>> stating "multibus" in you multipath section. > >>> Everything you put there will replace the defaults and the device=20 > >>> sections. Just be minimalistic there. In the > >>> latest multipath-tools code there actually is a configuration for=20 > >>> "DEC"/"HSG80". From this, does the following > >>> multipath-conf help you? > >>> > >>> defaults { > >>> rr_min_io 64 > >>> user_friendly_names yes > >>> } > >>> > >>> multipaths { > >>> multipath { > >>> wwid 360001fe1000d85f000039341397602d2 > >>> alias disk1 > >>> } > >>> multipath { > >>> wwid 360001fe1000d85f0000393413976024b > >>> alias disk2 > >>> } > >>> } > >>> > >>> devices { > >>> device { > >>> vendor "DEC" > >>> product "HSG80" > >>> path_grouping_policy group_by_prio > >>> prio_callout "/sbin/mpath_prio_hp_sw /de= v/%n" > >>> hardware_handler "1 hp_sw" > >>> path_checker hp_sw > >>> no_path_retry 5 > >>> } > >>> device { > >>> vendor "DEC" > >>> product "HSG80 (C) DEC" > >>> path_grouping_policy group_by_prio > >>> prio_callout "/sbin/mpath_prio_hp_sw /de= v/%n" > >>> hardware_handler "1 hp_sw" > >>> path_checker hp_sw > >>> no_path_retry 5 > >>> } > >>> } > >>> > >>> > >>> Mit freundlichem Gru=C3=9F / Regards, > >>> Stefan Bader > >>> > >>> SW Linux on zSeries Development > >>> Stefan.Bader@de.ibm.com > >>> > >>> IBM Deutschland Entwicklung GmbH > >>> Vorsitzender des Aufsichtsrats: Martin Jetter > >>> Gesch=C3=A4ftsf=C3=BChrung: Herbert Kircher > >>> Sitz der Gesellschaft: B=C3=B6blingen > >>> Registergericht: Amtsgericht Stuttgart, HRB 243294 > >>> -------------------------------------------------------------------= --------------- > >>> When all other means of communication fail, try words. > >>> > >>> dm-devel-bounces@redhat.com wrote on 01.08.2007 16:53:55: > >>> > >>> =20 > >>> =20 > >>>> I trying to setup multipathing with HSG80s on a Redhat 4 update 5 = host.=20 > >>>> I have it mostly working, the problem I'm having is that the 2 dis= ks=20 > >>>> I've created on the HSGs only go through one controller. I set the= =20 > >>>> preferred path for each disk to use a different controller but dm = always=20 > >>>> =20 > >>>> =20 > >>> =20 > >>> =20 > >>>> sets them to go through just one. I also can't find a way to move = a disk=20 > >>>> =20 > >>>> =20 > >>> =20 > >>> =20 > >>>> to the other controller, I thought multipathd -k switch would work= but=20 > >>>> it doesn't. Does anyone have RedHat4 and HSG80s working properly w= ith=20 > >>>> multipathing? Here is my multipath.conf file and multipath -ll out= put: > >>>> > >>>> defaults { > >>>> user_friendly_names yes > >>>> } > >>>> > >>>> defaults { > >>>> udev_dir /dev > >>>> polling_interval 10 > >>>> selector "round-robin 0" > >>>> path_grouping_policy multibus > >>>> getuid_callout "/sbin/scsi_id -g -u -s /block/%n" > >>>> prio_callout /bin/true > >>>> path_checker readsector0 > >>>> rr_min_io 100 > >>>> rr_weight priorities > >>>> failback immediate > >>>> no_path_retry fail > >>>> user_friendly_name yes > >>>> features "1 queue_if_no_path" > >>>> } > >>>> devnode_blacklist { > >>>> devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" > >>>> devnode "^hd[a-z]" > >>>> devnode "^cciss!c[0-9]d[0-9]*" > >>>> } > >>>> > >>>> multipaths { > >>>> multipath { > >>>> wwid 360001fe1000d85f000039341397602d2 > >>>> alias disk1 > >>>> path_grouping_policy multibus > >>>> path_checker readsector0 > >>>> path_selector "round-robin 0" > >>>> failback manual > >>>> rr_weight priorities > >>>> no_path_retry 5 > >>>> } > >>>> multipath { > >>>> wwid 360001fe1000d85f0000393413976024b > >>>> alias disk2 > >>>> path_grouping_policy multibus > >>>> path_checker readsector0 > >>>> path_selector "round-robin 0" > >>>> failback manual > >>>> rr_weight priorities > >>>> no_path_retry 5 > >>>> } > >>>> } > >>>> devices { > >>>> device { > >>>> vendor DEC > >>>> product HSG80 > >>>> path_grouping_policy group_by_serial > >>>> getuid_callout "/sbin/scsi_id -g -u -s=20 > >>>> =20 > >>>> =20 > >>> /block/%n" > >>> =20 > >>> =20 > >>>> path_checker hp_sw > >>>> features "1 queue_if_no_path" > >>>> } > >>>> device { > >>>> vendor DEC > >>>> product "HSG80 (C) DEC" > >>>> path_grouping_policy group_by_serial > >>>> getuid_callout "/sbin/scsi_id -g -u -s=20 > >>>> =20 > >>>> =20 > >>> /block/%n" > >>> =20 > >>> =20 > >>>> path_checker hp_sw > >>>> features "1 queue_if_no_path" > >>>> } > >>>> } > >>>> > >>>> [root@lin380g5-ib etc]# multipath -ll > >>>> disk2 (360001fe1000d85f0000393413976024b) > >>>> [size=3D339 GB][features=3D"1 queue_if_no_path"][hwhandler=3D"0"] > >>>> \_ round-robin 0 [active] > >>>> \_ 0:0:4:11 sdb 8:16 [active][ready] > >>>> \_ 0:0:5:11 sdd 8:48 [active][ghost] > >>>> \_ 1:0:4:11 sdf 8:80 [active][ready] > >>>> \_ 1:0:5:11 sdh 8:112 [active][ghost] > >>>> > >>>> disk1 (360001fe1000d85f000039341397602d2) > >>>> [size=3D67 GB][features=3D"1 queue_if_no_path"][hwhandler=3D"0"] > >>>> \_ round-robin 0 [active] > >>>> \_ 0:0:4:20 sda 8:0 [active][ready] > >>>> \_ 0:0:5:20 sdc 8:32 [active][ghost] > >>>> \_ 1:0:4:20 sde 8:64 [active][ready] > >>>> \_ 1:0:5:20 sdg 8:96 [active][ghost] > >>>> > >>>> > >>>> Thanks > >>>> > >>>> --=20 > >>>> Eric Ritchie > >>>> Interactive Brokers LLC > >>>> > >>>> > >>>> -- > >>>> dm-devel mailing list > >>>> dm-devel@redhat.com > >>>> https://www.redhat.com/mailman/listinfo/dm-devel > >>>> =20 > >>>> =20 > >>> -- > >>> dm-devel mailing list > >>> dm-devel@redhat.com > >>> https://www.redhat.com/mailman/listinfo/dm-devel > >>> > >>> =20 > >>> =20 > >> =20 >=20 >=20 --=20 ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@us.ibm.com | .......you may get it. ----------------------------------------------------------------------