[stgt] [PATCH] iscsi: target redirect support

Chandra Seetharaman sekharan at us.ibm.com
Fri Jun 18 01:21:55 CEST 2010


On Thu, 2010-06-17 at 22:46 +0900, FUJITA Tomonori wrote:
<snip>

> > If/when we add redirector support to tgt-admin, how the two tgtds
> > (redirector tgtd and serving tgtd) know to treat the redirector
> > instructions differently ? i.e redirector tgtd should use the
> > information and "serving" tgtd should not. Basically the tgtd should be
> > knowing if it is a "redirecting" tgtd or "serving" tgtd.
> > 
> > Details:
> > targets.conf file 
> > ---------------------
> > <target iqn.2010-03.com.cluster1:01>
> >         <backing-store /gpfs/file1>
> > 		vendor_id cluster1
> > 		product_id target1
> > 		scsi_id cluster1_target1_lun1
> >                 lun 1
> >         </backing-store>
> > 	initiator-address 10.0.0.1
> > 	redirect-address  10.0.1.51
> >         redirect-port     860
> >         redirect-reason   Temporary
> > </target>
> > --------------------
> > 
> > And if i were to use tgt-admin to control the tgtds with the same
> > targets.conf file,
> 
> Needs to use different targets.conf for each tgtd?
> 
> targets.conf doesn't support two tgtd daemons on the single host.

you mean tgt-admin doesn't ? I added a "-C" option to tgt-admin and
hence it does.

> 
> btw, if you run two tgtd for the performance reason, try the latest
> (if your kernel support signalfd).

I will try the latest and report how it goes.
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list