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

Xose Vazquez Perez xose.vazquez at gmail.com
Thu Jan 10 17:45:30 UTC 2013


On 01/08/2013 06:55 AM, Benjamin Marzinski wrote:
> New StorageTek default config.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at 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





More information about the dm-devel mailing list