diff mbox

[multipath-tools-0.4.7.rhel5.13] Re: [dm-devel] multipathd configuration for Sun StorageTek 2510

Message ID Pine.LNX.4.64.0906241700480.22601@e-smith.charlieb.ott.istop.com (mailing list archive)
State New, archived
Headers show

Commit Message

Charlie Brady June 24, 2009, 9:04 p.m. UTC
On Wed, 24 Jun 2009, Chandra Seetharaman wrote:

> I see "SUN" "LCSM100_F" in hwtable.c Christophe's tree
> (http://git.kernel.org/?p=linux/storage/multipath-tools/.git)

Does Christophe's repo have a problem?

bash-3.2$ git-clone 
http://git.kernel.org/?p=linux/storage/multipath-tools/.git
Initialized empty Git repository in 
/home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
bash-3.2$

Signed-off-by: Charlie Brady <charlieb@budge.apana.org.au>


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Comments

Charlie Brady July 2, 2009, 4:58 p.m. UTC | #1
On Wed, 24 Jun 2009, Charlie Brady wrote:

> On Wed, 24 Jun 2009, Chandra Seetharaman wrote:
>
>>  I see "SUN" "LCSM100_F" in hwtable.c Christophe's tree
>>  (http://git.kernel.org/?p=linux/storage/multipath-tools/.git)
>
> Does Christophe's repo have a problem?
>
> bash-3.2$ git-clone 
> http://git.kernel.org/?p=linux/storage/multipath-tools/.git
> Initialized empty Git repository in 
> /home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
> bash-3.2$

I'm still having access problems, although the symptoms have changed:

bash-3.2$ git-clone http://kernel.org/pub/scm/linux/storage/multipath-tools/.git
Initialized empty Git repository in /home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/
got 14df6388e07bb09302e1e79b1744414b8a94974c
walk 14df6388e07bb09302e1e79b1744414b8a94974c
got be39fd4ecfce9593ec2f7c051e8d2f7bdaa6f3f0
got 8f0cb7332f468ac7a5f4456ee6076e9a872384ed
...
got 3b0e9929427d8edae611e64b9bf8e0edadea3f03
got a9a6c71592d4e2271a38c3d334bee7cbce963cff
walk a9a6c71592d4e2271a38c3d334bee7cbce963cff
got d4bfff0b7c4476b70b2267611ff16e53d36fc31f
fatal: Not a valid object name HEAD
bash-3.2$

Advice?

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
Chandra Seetharaman July 2, 2009, 6:13 p.m. UTC | #2
Charlie,

Please use 
# git-clone git://git.kernel.org/pub/scm/linux/storage/multipath-tools

Christophe, can you fix the web page with correct git link.

Thanks,

chandra
On Thu, 2009-07-02 at 12:58 -0400, Charlie Brady wrote:
> On Wed, 24 Jun 2009, Charlie Brady wrote:
> 
> > On Wed, 24 Jun 2009, Chandra Seetharaman wrote:
> >
> >>  I see "SUN" "LCSM100_F" in hwtable.c Christophe's tree
> >>  (http://git.kernel.org/?p=linux/storage/multipath-tools/.git)
> >
> > Does Christophe's repo have a problem?
> >
> > bash-3.2$ git-clone 
> > http://git.kernel.org/?p=linux/storage/multipath-tools/.git
> > Initialized empty Git repository in 
> > /home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/
> > Cannot get remote repository information.
> > Perhaps git-update-server-info needs to be run there?
> > bash-3.2$
> 
> I'm still having access problems, although the symptoms have changed:
> 
> bash-3.2$ git-clone http://kernel.org/pub/scm/linux/storage/multipath-tools/.git
> Initialized empty Git repository in /home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/
> got 14df6388e07bb09302e1e79b1744414b8a94974c
> walk 14df6388e07bb09302e1e79b1744414b8a94974c
> got be39fd4ecfce9593ec2f7c051e8d2f7bdaa6f3f0
> got 8f0cb7332f468ac7a5f4456ee6076e9a872384ed
> ...
> got 3b0e9929427d8edae611e64b9bf8e0edadea3f03
> got a9a6c71592d4e2271a38c3d334bee7cbce963cff
> walk a9a6c71592d4e2271a38c3d334bee7cbce963cff
> got d4bfff0b7c4476b70b2267611ff16e53d36fc31f
> fatal: Not a valid object name HEAD
> bash-3.2$
> 
> Advice?
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

diff -ru multipath-tools-0.4.7.rhel5.13.orig/libmultipath/hwtable.c multipath-tools-0.4.7.rhel5.13/libmultipath/hwtable.c
--- multipath-tools-0.4.7.rhel5.13.orig/libmultipath/hwtable.c	2008-08-29 14:30:27.000000000 -0400
+++ multipath-tools-0.4.7.rhel5.13/libmultipath/hwtable.c	2009-06-24 16:54:18.431447000 -0400
@@ -691,6 +691,22 @@ 
  		.minio         = DEFAULT_MINIO,
  		.checker_name  = RDAC,
  	},
+	/* SUN/LSI 2510 */
+	{
+		.vendor        = "SUN",
+		.product       = "LCSM100_I",
+		.getuid        = DEFAULT_GETUID,
+		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 rdac",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = RDAC,
+	},
  	/*
  	 * DELL arrays
  	 */
diff -ru multipath-tools-0.4.7.rhel5.13.orig/multipath.conf.defaults multipath-tools-0.4.7.rhel5.13/multipath.conf.defaults
--- multipath-tools-0.4.7.rhel5.13.orig/multipath.conf.defaults	2008-08-29 14:30:26.000000000 -0400
+++ multipath-tools-0.4.7.rhel5.13/multipath.conf.defaults	2009-06-24 16:52:35.661869000 -0400
@@ -505,6 +505,20 @@ 
  #		rr_min_io		1000
  #               path_checker            rdac
  #	}
+#       device {
+#               vendor                  "SUN"
+#               product                 "LCSM100_I"
+#		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
+#               prio_callout            "/sbin/mpath_prio_rdac /dev/%n" 
+#		features		"0"
+#		hardware_handler	"1 rdac"
+#               path_grouping_policy    group_by_prio
+#		failback		immediate
+#		rr_weight		uniform
+#		no_path_retry		queue
+#		rr_min_io		1000
+#               path_checker            rdac
+#	}
  #	device {
  #		vendor			"GNBD"
  #		product			"GNBD"