All of lore.kernel.org
 help / color / mirror / Atom feed
* multipath-tools ./Multipath-usage.txt ./multip ...
@ 2008-12-02 20:24 bmarzins
  0 siblings, 0 replies; 2+ messages in thread
From: bmarzins @ 2008-12-02 20:24 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	2008-12-02 20:24:24

Modified files:
	.              : Multipath-usage.txt multipath.conf.defaults 
	libmultipath   : dict.c hwtable.c 

Log message:
	Fix for a bunch of small bugs, 457776, 470896, and 439366. These are all changes
	to documentation files and default configurations.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/Multipath-usage.txt.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.13&r2=1.5.4.14
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/dict.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.17.2.8&r2=1.17.2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.15&r2=1.20.2.16

--- multipath-tools/Multipath-usage.txt	2006/06/06 18:32:43	1.5
+++ multipath-tools/Multipath-usage.txt	2008/12/02 20:24:24	1.5.2.1
@@ -283,7 +283,7 @@
 
 For each path:
 
- \_ host:channel:id:lun devnode major:minor [path_status][dm_status_if_known]
+ \_ host:channel:id:lun devnode major:minor [dm_status_if_known][path_status]
 
 The dm status (dm_status_if_known) is like the path status
 (path_status), but from the kernel's point of view.  The dm status has two
--- multipath-tools/multipath.conf.defaults	2008/08/29 18:30:26	1.5.4.13
+++ multipath-tools/multipath.conf.defaults	2008/12/02 20:24:24	1.5.4.14
@@ -86,7 +86,7 @@
 #	}
 #	device {
 #		vendor			"HP"
-#		product			"MSA2[02]12*"
+#		product			"MSA2[02]12fc|MSA2012i"
 #		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
 #		prio_callout		"/bin/true"    
 #		features		"0"
@@ -94,11 +94,39 @@
 #		path_grouping_policy	multibus 
 #		failback		immediate
 #		rr_weight		uniform
-#		no_path_retry		12
+#		no_path_retry		18
 #		rr_min_io		100
 #               path_checker            tur
 #        }
 #       device {
+#               vendor                  "HP"
+#               product                 "MSA2012sa|MSA23(12|24)(fc|i|sa)"
+#               getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
+#               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
+#               features                "0"
+#               hardware_handler        "0"
+#               path_grouping_policy    group_by_prio
+#               failback                immediate
+#               rr_weight               uniform
+#               no_path_retry           18
+#               rr_min_io               100
+#               path_checker            tur
+#        }
+#       device {
+#               vendor                  "HP"
+#               product                 "HSVX700"
+#               getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
+#               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
+#               features                "0"
+#               hardware_handler        "1 alua"
+#               path_grouping_policy    group_by_prio
+#               failback                immediate
+#               rr_weight               uniform
+#               no_path_retry           12
+#               rr_min_io               100
+#               path_checker            tur
+#        }
+#       device {
 #		vendor			"HP"
 #		product			"A6189A"
 #		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
@@ -146,7 +174,7 @@
 #       device {
 #               vendor                  "DGC"
 #		product			".*"
-#		product_blacklist	"LUN_Z"
+#		product_blacklist	"LUNZ"
 #		getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
 #		prio_callout		"/sbin/mpath_prio_emc /dev/%n"
 #		features		"1 queue_if_no_path"
--- multipath-tools/libmultipath/dict.c	2008/09/08 22:01:20	1.17.2.8
+++ multipath-tools/libmultipath/dict.c	2008/12/02 20:24:24	1.17.2.9
@@ -154,7 +154,7 @@
 	if (!buff)
 		return 1;
 
-	if (strlen(buff) == 9 &&
+	if (strlen(buff) == 3 &&
 	    !strcmp(buff, "max"))
 		conf->max_fds = MAX_FDS_MAX;
 	else
--- multipath-tools/libmultipath/hwtable.c	2008/08/29 18:30:27	1.20.2.15
+++ multipath-tools/libmultipath/hwtable.c	2008/12/02 20:24:24	1.20.2.16
@@ -123,9 +123,9 @@
 		.checker_name  = TUR,
 	},
 	{
-		 /* HP MSA2000 product family */
+		 /* HP MSA2000 product family with old firmware */
 		.vendor        = "HP",
-		.product       = "MSA2[02]12*",
+		.product       = "MSA2[02]12fc|MSA2012i",
 		.getuid        = DEFAULT_GETUID,
 		.getprio       = "/bin/true",
 		.features      = DEFAULT_FEATURES,
@@ -134,11 +134,43 @@
 		.pgpolicy      = MULTIBUS,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 12,
+		.no_path_retry = 18,
 		.minio         = 100,
 		.checker_name  = TUR,
 	},
 	{
+                 /* HP MSA2000 product family with new firmware */
+                .vendor        = "HP",
+                .product       = "MSA2012sa|MSA23(12|24)(fc|i|sa)",
+                .getuid        = DEFAULT_GETUID,
+                .getprio       = "/sbin/mpath_prio_alua /dev/%n",
+                .features      = DEFAULT_FEATURES,
+                .hwhandler     = DEFAULT_HWHANDLER,
+                .selector      = DEFAULT_SELECTOR,
+                .pgpolicy      = GROUP_BY_PRIO,
+                .pgfailback    = -FAILBACK_IMMEDIATE,
+                .rr_weight     = RR_WEIGHT_NONE,
+                .no_path_retry = 18,
+                .minio         = 100,
+                .checker_name  = TUR,
+        },
+	{
+                 /* HP SVSP */
+                .vendor        = "HP",
+                .product       = "HSVX700",
+                .getuid        = DEFAULT_GETUID,
+                .getprio       = "/sbin/mpath_prio_alua /dev/%n",
+                .features      = DEFAULT_FEATURES,
+                .hwhandler     = "1 alua",
+                .selector      = DEFAULT_SELECTOR,
+                .pgpolicy      = GROUP_BY_PRIO,
+                .pgfailback    = -FAILBACK_IMMEDIATE,
+                .rr_weight     = RR_WEIGHT_NONE,
+                .no_path_retry = 12,
+                .minio         = 100,
+                .checker_name  = TUR,
+	}
+	{
 		.vendor        = "HP",
 		.product       = "A6189A",
 		.getuid        = DEFAULT_GETUID,

^ permalink raw reply	[flat|nested] 2+ messages in thread
* multipath-tools ./Multipath-usage.txt ./multip ...
@ 2007-01-10 21:56 bmarzins
  0 siblings, 0 replies; 2+ messages in thread
From: bmarzins @ 2007-01-10 21:56 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL4_FC5
Changes by:	bmarzins@sourceware.org	2007-01-10 21:56:17

Modified files:
	.              : Multipath-usage.txt multipath.conf.defaults 
	libmultipath   : hwtable.c 
	multipath      : multipath.conf.redhat 

Log message:
	Resolves: bz 220643
	Doc changes, to explain about using /dev/mapper devices to avoid the udev race
	at boot and to help people figure out how to use dasd devices. Also, the
	IBM:S/390 devices are again blacklisted by default.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/Multipath-usage.txt.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.4.2.1&r2=1.4.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.1&r2=1.5.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.5&r2=1.16.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.conf.redhat.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.1&r2=1.5.2.2

--- multipath-tools/Multipath-usage.txt	2006/06/06 18:04:08	1.4.2.1
+++ multipath-tools/Multipath-usage.txt	2007/01/10 21:56:17	1.4.2.2
@@ -219,6 +219,12 @@
 After initial setup, all access to the multipathed storage should go through the
 multipath device.
 
+When a multipath device is mounted at boot time , udev may not create the
+device node for it soon enough.  To avoid this problem, instead of using
+the /dev/mpath/<device> name in /etc/fstab, use /dev/mapper/<device>. This
+device node is automatically created by device-mapper, as soon as the device is
+created.
+
 GNBD devices will not be automatically multipathed after they are imported.
 The command
 
--- multipath-tools/multipath.conf.defaults	2006/12/07 15:53:44	1.5.2.1
+++ multipath-tools/multipath.conf.defaults	2007/01/10 21:56:17	1.5.2.2
@@ -204,6 +204,7 @@
 #	device {
 #		vendor			"IBM"
 #		product			"S/390 DASD ECKD"
+#		bl_product		"S/390"
 #		path_grouping_policy	multibus
 #		getuid_callout		"/sbin/dasdview -j /dev/%n"
 #		path_checker		directio
--- multipath-tools/libmultipath/hwtable.c	2006/12/01 23:45:18	1.16.2.5
+++ multipath-tools/libmultipath/hwtable.c	2007/01/10 21:56:17	1.16.2.6
@@ -70,7 +70,7 @@
 		   "tur", -FAILBACK_IMMEDIATE, NULL, 0, 0, 0);
 	r += store_hwe_ext(hw, "IBM", "S/390 DASD ECKD", MULTIBUS,
 		   "/sbin/dasdview -j /dev/%n", NULL, "0", "0",
-		   "directio", FAILBACK_UNDEF, NULL, 0, 0, 0);
+		   "directio", FAILBACK_UNDEF, "S/390", 0, 0, 0);
 	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, NULL, 0, 0, 0);
--- multipath-tools/multipath/multipath.conf.redhat	2007/01/04 19:02:30	1.5.2.1
+++ multipath-tools/multipath/multipath.conf.redhat	2007/01/10 21:56:17	1.5.2.2
@@ -15,6 +15,22 @@
 defaults {
 	user_friendly_names yes
 }
+
+
+## By default, devices with vendor = "IBM" and product = "S/390.*" are
+## blacklisted. To enable mulitpathing on these devies, uncomment the
+## following lines.
+#devices {
+#	device {
+#		vendor                  "IBM"
+#		product                 "S/390 DASD ECKD"
+#		path_grouping_policy    multibus
+#		getuid_callout          "/sbin/dasdview -j /dev/%n"
+#		path_checker            directio
+#	}
+#}
+
+
 ##
 ## This is a template multipath-tools configuration file
 ## Uncomment the lines relevent to your environment

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-02 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02 20:24 multipath-tools ./Multipath-usage.txt ./multip bmarzins
  -- strict thread matches above, loose matches on Subject: below --
2007-01-10 21:56 bmarzins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.