IBM hwtable update
PATCH 1/1 IBM hwtable update
Hi Christophe,
attached is a patch to update hwtable.c with some IBM Storage Servers. Especially the DS6000 should be handled properly as it again has asymmetric paths.
Cheers,
Hannes
Signature · 4 lines
Dr. Hannes Reinecke [email protected] SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de
Subject: Hardware entries for IBM Storage Servers
Several IBM Storage Servers (most notably the DS range) need specific hardware entries. This patch adds hardware entries for:
- IBM ESS F20 (aka Shark)
- IBM DS6000
- IBM DS8000
- IBM SVC
---
libmultipath/hwtable.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)
libmultipath/hwtable.c +14 -0
@@ -39,6 +39,20 @@ setup_default_hwtable (vector hw) "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE); r +=store_hwe_ext (hw,"IBM" ,"3542" ,GROUP_BY_SERIAL ,DEFAULT_GETUID ,NULL ,"0" ,"0" ,"tur" ,FAILBACK_UNDEF ); +/* IBM ESS F20 aka Shark */ + r +=store_hwe_ext (hw,"IBM" ,"2105F20" ,GROUP_BY_SERIAL , +DEFAULT_GETUID ,NULL ,"0" ,"1 queue_if_no_path" , +"tur" ,FAILBACK_UNDEF ); +/* IBM DS6000 */ + r +=store_hwe_ext (hw,"IBM" ,"1750500" ,GROUP_BY_PRIO ,DEFAULT_GETUID , +"/sbin/mpath_prio_alua /dev/%n" ,"0" ,"1 queue_if_no_path" , +"tur" ,FAILBACK_UNDEF ); +/* IBM DS8000 */ + r +=store_hwe_ext (hw,"IBM" ,"2107900" ,GROUP_BY_SERIAL ,DEFAULT_GETUID , +NULL ,"0" ,"1 queue_if_no_path" ,"tur" ,FAILBACK_UNDEF ); +/* IBM SAN Volume Controller */ + r +=store_hwe_ext (hw,"IBM" ,"2145" ,MULTIBUS ,DEFAULT_GETUID , +NULL ,"0" ,"1 queue_if_no_path" ,"tur" ,FAILBACK_UNDEF ); r +=store_hwe_ext (hw,"NETAPP" ,"LUN" ,GROUP_BY_PRIO ,DEFAULT_GETUID ,"/sbin/mpath_prio_netapp /dev/%n" ,NULL ,"1 queue_if_no_path" ,"readsector0" ,FAILBACK_UNDEF );
Hi Christophe, Hannes,
I thought I had already sent parts of these but they don't seem to be in the git head when
I look now. I'd suggest a small change for the DS6000 aka 1750500. Since paths with
higher prio are more appreciated, wouldn'T FAILBACK_IMMEDIATE make more sense?
Regards,
Stefan
SW Linux on zSeries Development & Services [email protected]
----------------------------------------------------------------------------------
When all other means of communication fail, try words.
[email protected] wrote on 07.12.2005 12:11:23:
Quoted 36 lines
Hi Christophe,
attached is a patch to update
hwtable.cwith some IBM Storage Servers. Especially the DS6000 should be handled properly as it again has asymmetric paths.Cheers,
Hannes
Signature · 21 lines
Dr. Hannes Reinecke [email protected] SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de Subject: Hardware entries for IBM Storage Servers Several IBM Storage Servers (most notably the DS range) need specific hardware entries. This patch adds hardware entries for: - IBM ESS F20 (aka Shark) - IBM DS6000 - IBM DS8000 - IBM SVC Signed-off-by: Hannes Reinecke <[email protected]> --- libmultipath/hwtable.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)
libmultipath/hwtable.c setup_default_hwtable (vector hw) · line 40
Quoted 2 lines
libmultipath/hwtable.c +0
-0@@ -39,6 +39,20 @@ setup_default_hwtable (vector hw) "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE); r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL,
DEFAULT_GETUID,
libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 7 lines
libmultipath/hwtable.c +6
-0NULL, "0", "0", "tur", FAILBACK_UNDEF); +/* IBM ESS F20 aka Shark */ + r +=store_hwe_ext (hw,"IBM" ,"2105F20" ,GROUP_BY_SERIAL , +DEFAULT_GETUID ,NULL ,"0" ,"1 queue_if_no_path" , +"tur" ,FAILBACK_UNDEF ); +/* IBM DS6000 */ + r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO,
DEFAULT_GETUID,
libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 4 lines
libmultipath/hwtable.c +4
-0+"/sbin/mpath_prio_alua /dev/%n" ,"0" ,"1 queue_if_no_path" , + "tur", FAILBACK_UNDEF); +/* IBM DS8000 */ + r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL,
DEFAULT_GETUID,
libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 5 lines
libmultipath/hwtable.c +4
-0+ NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF); +/* IBM SAN Volume Controller */ + r +=store_hwe_ext (hw,"IBM" ,"2145" ,MULTIBUS ,DEFAULT_GETUID , +NULL ,"0" ,"1 queue_if_no_path" ,"tur" ,FAILBACK_UNDEF ); r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO,
DEFAULT_GETUID,
Quoted 6 lines
libmultipath/hwtable.c +0
-1"/sbin/mpath_prio_netapp /dev/%n" ,NULL , "1 queue_if_no_path", "readsector0", FAILBACK_UNDEF); --dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
I think FAILBACK_IMMEDIATE for DS6000 makes more sense. Also for SVC (2145) the same settings should be used as DS6000 since it is also an asymetric device,
i.e.
r += store_hwe_ext(hw, "IBM", "2145", GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path","tur", FAILBACK_IMMEDIATE);
Quoted 91 lines · Stefan Bader
Hi Christophe, Hannes,
I thought I had already sent parts of these but they don't seem to be in the git head when
I look now. I'd suggest a small change for the DS6000 aka 1750500. Since paths with
higher prio are more appreciated, wouldn'TFAILBACK_IMMEDIATEmake more sense?Regards,
StefanSW Linux on zSeries Development & Services
[email protected]----------------------------------------------------------------------------------
When all other means of communication fail, try words.[email protected] wrote on 07.12.2005 12:11:23:
Quoted 36 lines
Hi Christophe,
attached is a patch to update
hwtable.cwith some IBM Storage Servers. Especially the DS6000 should be handled properly as it again has asymmetric paths.Cheers,
Hannes
--
Dr. Hannes Reinecke [email protected]
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
Subject: Hardware entries for IBM Storage ServersSeveral IBM Storage Servers (most notably the DS range) need specific hardware entries. This patch adds hardware entries for:
- IBM ESS F20 (aka Shark)
- IBM DS6000
- IBM DS8000
- IBM SVCSigned-off-by Hannes Reinecke <[email protected]>---
libmultipath/hwtable.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)libmultipath/hwtable.c setup_default_hwtable (vector hw) · line 40
Quoted 2 lines
libmultipath/hwtable.c +0
-0@@ -39,6 +39,20 @@ setup_default_hwtable (vector hw) "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE); r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL,
DEFAULT_GETUID,libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 7 lines
libmultipath/hwtable.c +6
-0NULL, "0", "0", "tur", FAILBACK_UNDEF); +/* IBM ESS F20 aka Shark */ + r +=store_hwe_ext (hw,"IBM" ,"2105F20" ,GROUP_BY_SERIAL , +DEFAULT_GETUID ,NULL ,"0" ,"1 queue_if_no_path" , +"tur" ,FAILBACK_UNDEF ); +/* IBM DS6000 */ + r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO,
DEFAULT_GETUID,libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 4 lines
libmultipath/hwtable.c +4
-0+"/sbin/mpath_prio_alua /dev/%n" ,"0" ,"1 queue_if_no_path" , + "tur", FAILBACK_UNDEF); +/* IBM DS8000 */ + r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL,
DEFAULT_GETUID,libmultipath/hwtable.c setup_default_hwtable (vector hw)
Quoted 5 lines
libmultipath/hwtable.c +4
-0+ NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF); +/* IBM SAN Volume Controller */ + r +=store_hwe_ext (hw,"IBM" ,"2145" ,MULTIBUS ,DEFAULT_GETUID , +NULL ,"0" ,"1 queue_if_no_path" ,"tur" ,FAILBACK_UNDEF ); r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO,
DEFAULT_GETUID,Quoted 6 lines
libmultipath/hwtable.c +0
-1"/sbin/mpath_prio_netapp /dev/%n" ,NULL , "1 queue_if_no_path", "readsector0", FAILBACK_UNDEF); --dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel