[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] multipath: storagetek 6180 config



On 01/08/2013 06:55 AM, Benjamin Marzinski wrote:
> New StorageTek default config.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins redhat com>
> ---
>  libmultipath/hwtable.c |   15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> Index: multipath-tools-120821/libmultipath/hwtable.c
> ===================================================================
> --- multipath-tools-120821.orig/libmultipath/hwtable.c
> +++ multipath-tools-120821/libmultipath/hwtable.c
> @@ -1120,6 +1120,21 @@ static struct hwentry default_hw[] = {
>  		.prio_name     = PRIO_RDAC,
>  		.prio_args     = NULL,
>  	},
> +	/* StorageTek 6180 */
> +	{
> +		.vendor        = "SUN",
> +		.product       = "SUN_6180",
> +		.features      = DEFAULT_FEATURES,
> +		.hwhandler     = "1 rdac",
> +		.pgpolicy      = GROUP_BY_PRIO,
> +		.pgfailback    = -FAILBACK_IMMEDIATE,
> +		.rr_weight     = RR_WEIGHT_NONE,
> +		.no_path_retry = NO_PATH_RETRY_QUEUE,
> +		.minio         = DEFAULT_MINIO,
> +		.minio_rq      = DEFAULT_MINIO_RQ,
> +		.checker_name  = RDAC,
> +		.prio_name     = PRIO_RDAC,
> +	},
>  	/* LSI/Engenio/NetApp E-Series RDAC storage */
>  	{
>  		.vendor        = "(LSI|ENGENIO)",
> 

These changes should also translate to the multipath.conf.defaults
file.

By the way, DEVICES in multipath.conf.defaults and hwtable.c are
a bit out of sync:

multipath.conf.defaults		hwtable.c
=======================		=========
	15 IBM			23 IBM
	4 HP			6 HP
	3 EMC			2 EMC
	-			4 DELL
	-			1 (LSI|ENGENIO)
	-			1 COMPELNT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]