On Tuesday, December 2, 2014 6:59:02 PM UTC-8, [email protected] wrote:

> hi
> I am new to iscsi ,have some questions in learning,quite appreciate for 
> your help and time
>

This really isn't the place to ask about iSCSI targets, by the way. This 
list is for discussion of the open-iscsi iSCSI initiator package.

But I'll try to answer your questions.
 

>
> 1 \ both lio-utils and tgt are pure user space program? Both of them are 
> using the kernel iscsi module ? So ,what is the difference between them?
>

No, I believe the "tgt" (or stgt) package uses a user-space daemon, but it 
only handles administration of connections. The transport is handled by the 
kernel. See http://stgt.sourceforge.net

The lio-utils package is being deprecated in favor of the targetcli 
package. Right now, targetcli works on top of lio-utils, but soon it will 
run standalone. See http://linux-iscsi.org/wiki/Lio-utils

The lio-utils/targetcli combo is configured in user space, but managed in 
kernel space. There is no user-space daemon running in this case.

Difference between them: plenty. Configured differently, different designs, 
and the Linux community has chosen targetcli moving forward. I have *not* 
benchmarked them, so I have no idea if one performs better than the other. 
Also, targetcli doesn't yet have every feature that tgt has, such as iSNS 
support, but targetcli is being actively developed/improved.

2 \ Are there any guide documents on how to setup a iscsi target using both 
> tgt and lio-utils?
>

I have created some simple example documents, but they are SUSE-based. I 
haven't published them yet, but was thinking of setting up some place where 
I could do that. I could probably email them to you if you thought they 
might be useful.

Note: if you use targetcli, try the manual page, as it has enough 
information to set up a simple target.
 

>
> Thanks a lot for your help and time !
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to