* best userspace iscsi target lib?
@ 2008-11-10 22:29 Jeff Garzik
2008-11-11 6:22 ` FUJITA Tomonori
2008-11-11 12:24 ` Vladislav Bolkhovitin
0 siblings, 2 replies; 12+ messages in thread
From: Jeff Garzik @ 2008-11-10 22:29 UTC (permalink / raw)
To: linux-scsi
Can someone recommend an open source userspace library that enables one
to implement a userspace iSCSI target?
Thanks,
Jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-10 22:29 best userspace iscsi target lib? Jeff Garzik
@ 2008-11-11 6:22 ` FUJITA Tomonori
2008-11-11 10:55 ` Boaz Harrosh
2008-11-11 14:06 ` Jeff Garzik
2008-11-11 12:24 ` Vladislav Bolkhovitin
1 sibling, 2 replies; 12+ messages in thread
From: FUJITA Tomonori @ 2008-11-11 6:22 UTC (permalink / raw)
To: jeff; +Cc: linux-scsi
On Mon, 10 Nov 2008 17:29:06 -0500
Jeff Garzik <jeff@garzik.org> wrote:
> Can someone recommend an open source userspace library that enables one
> to implement a userspace iSCSI target?
I'm not sure there is an open source userspace library enables you to
easily implement your own userspace iSCSI target but there are some
userspace iSCSI target implementations, which might useful.
Some Linux distributions use:
http://stgt.berlios.de/
OpenSolaris also has one:
http://opensolaris.org/os/project/iscsitgt/
*BSD also have userspace iSCSI target implementations.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 6:22 ` FUJITA Tomonori
@ 2008-11-11 10:55 ` Boaz Harrosh
2008-11-11 14:06 ` Jeff Garzik
1 sibling, 0 replies; 12+ messages in thread
From: Boaz Harrosh @ 2008-11-11 10:55 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: jeff, linux-scsi
FUJITA Tomonori wrote:
> On Mon, 10 Nov 2008 17:29:06 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
>> Can someone recommend an open source userspace library that enables one
>> to implement a userspace iSCSI target?
>
> I'm not sure there is an open source userspace library enables you to
> easily implement your own userspace iSCSI target but there are some
> userspace iSCSI target implementations, which might useful.
>
> Some Linux distributions use:
>
> http://stgt.berlios.de/
>
Look in this patch how we added an external OSD scsi-implementor to stgt:
http://git.open-osd.org/gitweb.cgi?p=osc-osd/tgt/.git;a=commitdiff;h=5f3b25ef217ee417d8afe255d1a9bc5ed7f25f79
The implementation itself is in an external library.
I find stgt very easy to be extended.
<snip>
Boaz
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-10 22:29 best userspace iscsi target lib? Jeff Garzik
2008-11-11 6:22 ` FUJITA Tomonori
@ 2008-11-11 12:24 ` Vladislav Bolkhovitin
2008-11-11 12:43 ` Jeff Garzik
1 sibling, 1 reply; 12+ messages in thread
From: Vladislav Bolkhovitin @ 2008-11-11 12:24 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi, Bart Van Assche, scst-devel
Jeff Garzik wrote:
> Can someone recommend an open source userspace library that enables one
> to implement a userspace iSCSI target?
Check SCST (http://scst.sf.net). Few weeks ago scst_local module added
to it ability to create user space target drivers using regular sg/bsg
interface. It's at the moment under active development, so still has a
number of issues, but they shouldn't prevent you from evaluating it. You
can find the code in the SVN using command:
$ svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
But there is a plenty of open source iSCSI targets in the world,
including one fully implemented in user space, so I wonder, what's wrong
with them to create another one?
Vlad
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 12:24 ` Vladislav Bolkhovitin
@ 2008-11-11 12:43 ` Jeff Garzik
2008-11-11 13:00 ` Bart Van Assche
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Jeff Garzik @ 2008-11-11 12:43 UTC (permalink / raw)
To: Vladislav Bolkhovitin; +Cc: linux-scsi, Bart Van Assche, scst-devel
Vladislav Bolkhovitin wrote:
> Jeff Garzik wrote:
>> Can someone recommend an open source userspace library that enables
>> one to implement a userspace iSCSI target?
>
> Check SCST (http://scst.sf.net). Few weeks ago scst_local module added
> to it ability to create user space target drivers using regular sg/bsg
> interface. It's at the moment under active development, so still has a
> number of issues, but they shouldn't prevent you from evaluating it. You
> can find the code in the SVN using command:
>
> $ svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
>
> But there is a plenty of open source iSCSI targets in the world,
> including one fully implemented in user space, so I wonder, what's wrong
> with them to create another one?
None of them are massively distributed OSD and SBC targets, which are
part of my experiments in distributed computing :)
Jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 12:43 ` Jeff Garzik
@ 2008-11-11 13:00 ` Bart Van Assche
2008-11-11 13:07 ` Boaz Harrosh
2008-11-11 14:05 ` Vladislav Bolkhovitin
2 siblings, 0 replies; 12+ messages in thread
From: Bart Van Assche @ 2008-11-11 13:00 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Vladislav Bolkhovitin, linux-scsi, scst-devel
On Tue, Nov 11, 2008 at 1:43 PM, Jeff Garzik <jeff@garzik.org> wrote:
> None of them are massively distributed OSD and SBC targets, which are part
> of my experiments in distributed computing :)
Apparently you are performing some very interesting experiments ?
Bart.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 12:43 ` Jeff Garzik
2008-11-11 13:00 ` Bart Van Assche
@ 2008-11-11 13:07 ` Boaz Harrosh
2008-11-11 14:02 ` Jeff Garzik
2008-11-11 14:05 ` Vladislav Bolkhovitin
2 siblings, 1 reply; 12+ messages in thread
From: Boaz Harrosh @ 2008-11-11 13:07 UTC (permalink / raw)
To: Jeff Garzik
Cc: Vladislav Bolkhovitin, linux-scsi, Bart Van Assche, scst-devel
Jeff Garzik wrote:
> Vladislav Bolkhovitin wrote:
>> Jeff Garzik wrote:
>>> Can someone recommend an open source userspace library that enables
>>> one to implement a userspace iSCSI target?
>> Check SCST (http://scst.sf.net). Few weeks ago scst_local module added
>> to it ability to create user space target drivers using regular sg/bsg
>> interface. It's at the moment under active development, so still has a
>> number of issues, but they shouldn't prevent you from evaluating it. You
>> can find the code in the SVN using command:
>>
>> $ svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
>>
>> But there is a plenty of open source iSCSI targets in the world,
>> including one fully implemented in user space, so I wonder, what's wrong
>> with them to create another one?
>
> None of them are massively distributed OSD and SBC targets, which are
> part of my experiments in distributed computing :)
>
OK now it sounds even more interesting. Do you have any public
information/documentation on these experiments.
There might be some interesting links on http://open-osd.org
also look up at: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.1.4604
It's a project from UCSC that implements a local object storage SW. It might
look interesting for embedded systems that don't want to invest in a complete
file system, and might give better performance in implementation of OSD protocol.
> Jeff
>
Boaz
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 13:07 ` Boaz Harrosh
@ 2008-11-11 14:02 ` Jeff Garzik
0 siblings, 0 replies; 12+ messages in thread
From: Jeff Garzik @ 2008-11-11 14:02 UTC (permalink / raw)
To: Boaz Harrosh
Cc: Vladislav Bolkhovitin, linux-scsi, Bart Van Assche, scst-devel
Boaz Harrosh wrote:
> Jeff Garzik wrote:
>> Vladislav Bolkhovitin wrote:
>>> Jeff Garzik wrote:
>>>> Can someone recommend an open source userspace library that enables
>>>> one to implement a userspace iSCSI target?
>>> Check SCST (http://scst.sf.net). Few weeks ago scst_local module added
>>> to it ability to create user space target drivers using regular sg/bsg
>>> interface. It's at the moment under active development, so still has a
>>> number of issues, but they shouldn't prevent you from evaluating it. You
>>> can find the code in the SVN using command:
>>>
>>> $ svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
>>>
>>> But there is a plenty of open source iSCSI targets in the world,
>>> including one fully implemented in user space, so I wonder, what's wrong
>>> with them to create another one?
>> None of them are massively distributed OSD and SBC targets, which are
>> part of my experiments in distributed computing :)
>>
>
> OK now it sounds even more interesting. Do you have any public
> information/documentation on these experiments.
If I am at the point of looking for userspace target libraries, then you
can be sure the SCSI piece does not yet exist... :) I'm working on
various building blocks related to distributed computing in my spare
time (gotta string together all those cheap SATA disks, ya know).
One of the experiments is replicated/shared, multi-node storage exported
via an iSCSI interface. Doing similar things by wedding NFS version 4
(http://linux.yyz.us/projects/nfsv4.html) with distributed storage.
Jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 12:43 ` Jeff Garzik
2008-11-11 13:00 ` Bart Van Assche
2008-11-11 13:07 ` Boaz Harrosh
@ 2008-11-11 14:05 ` Vladislav Bolkhovitin
2 siblings, 0 replies; 12+ messages in thread
From: Vladislav Bolkhovitin @ 2008-11-11 14:05 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi, Bart Van Assche, scst-devel
Jeff Garzik wrote:
> Vladislav Bolkhovitin wrote:
>> Jeff Garzik wrote:
>>> Can someone recommend an open source userspace library that enables
>>> one to implement a userspace iSCSI target?
>> Check SCST (http://scst.sf.net). Few weeks ago scst_local module added
>> to it ability to create user space target drivers using regular sg/bsg
>> interface. It's at the moment under active development, so still has a
>> number of issues, but they shouldn't prevent you from evaluating it. You
>> can find the code in the SVN using command:
>>
>> $ svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
>>
>> But there is a plenty of open source iSCSI targets in the world,
>> including one fully implemented in user space, so I wonder, what's wrong
>> with them to create another one?
>
> None of them are massively distributed OSD and SBC targets, which are
> part of my experiments in distributed computing :)
Yes, OSD is a good thing. I'd love to add an OSD backend in SCST.
> Jeff
>
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 6:22 ` FUJITA Tomonori
2008-11-11 10:55 ` Boaz Harrosh
@ 2008-11-11 14:06 ` Jeff Garzik
2008-11-11 15:02 ` FUJITA Tomonori
1 sibling, 1 reply; 12+ messages in thread
From: Jeff Garzik @ 2008-11-11 14:06 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: linux-scsi
FUJITA Tomonori wrote:
> On Mon, 10 Nov 2008 17:29:06 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
>> Can someone recommend an open source userspace library that enables one
>> to implement a userspace iSCSI target?
>
> I'm not sure there is an open source userspace library enables you to
> easily implement your own userspace iSCSI target but there are some
> userspace iSCSI target implementations, which might useful.
>
> Some Linux distributions use:
>
> http://stgt.berlios.de/
>
> OpenSolaris also has one:
>
> http://opensolaris.org/os/project/iscsitgt/
>
> *BSD also have userspace iSCSI target implementations.
Thanks much, I will take a look. I have already found and read the code
for NetBSD's iSCSI target.
I am mainly interested in 100% userspace solution, because in my case,
the storage software (distributed goop) is also in userspace. Something
that exports through the kernel actually adds overhead, when a
straight-to-sockets userspace implementation would be more efficient.
Jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 14:06 ` Jeff Garzik
@ 2008-11-11 15:02 ` FUJITA Tomonori
2008-11-11 16:12 ` Boaz Harrosh
0 siblings, 1 reply; 12+ messages in thread
From: FUJITA Tomonori @ 2008-11-11 15:02 UTC (permalink / raw)
To: jeff; +Cc: fujita.tomonori, linux-scsi
On Tue, 11 Nov 2008 09:06:52 -0500
Jeff Garzik <jeff@garzik.org> wrote:
> FUJITA Tomonori wrote:
> > On Mon, 10 Nov 2008 17:29:06 -0500
> > Jeff Garzik <jeff@garzik.org> wrote:
> >
> >> Can someone recommend an open source userspace library that enables one
> >> to implement a userspace iSCSI target?
> >
> > I'm not sure there is an open source userspace library enables you to
> > easily implement your own userspace iSCSI target but there are some
> > userspace iSCSI target implementations, which might useful.
> >
> > Some Linux distributions use:
> >
> > http://stgt.berlios.de/
> >
> > OpenSolaris also has one:
> >
> > http://opensolaris.org/os/project/iscsitgt/
> >
> > *BSD also have userspace iSCSI target implementations.
>
> Thanks much, I will take a look. I have already found and read the code
> for NetBSD's iSCSI target.
>
> I am mainly interested in 100% userspace solution, because in my case,
> the storage software (distributed goop) is also in userspace. Something
> that exports through the kernel actually adds overhead, when a
> straight-to-sockets userspace implementation would be more efficient.
All the implementations that I referred to above are 100% userspace
solution (if I correctly remember *BSD's implementations).
You might think that stgt is a kernel space solution but it's 100%
userspace solution if you use only its iSCSI (or FCoE) support. As you
expect, it's just a userspace daemon. It doesn't require any fancy
kernel features.
About OSD support, I think that Pete and other osc.edu people
implemented iSCSI OSD target with stgt (though I've not merged their
OSD code to stgt or tried it yet):
http://mailman.open-osd.org/pipermail/osd-dev/2008-June/000047.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: best userspace iscsi target lib?
2008-11-11 15:02 ` FUJITA Tomonori
@ 2008-11-11 16:12 ` Boaz Harrosh
0 siblings, 0 replies; 12+ messages in thread
From: Boaz Harrosh @ 2008-11-11 16:12 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: jeff, linux-scsi
FUJITA Tomonori wrote:
> On Tue, 11 Nov 2008 09:06:52 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
>> FUJITA Tomonori wrote:
>>> On Mon, 10 Nov 2008 17:29:06 -0500
>>> Jeff Garzik <jeff@garzik.org> wrote:
>>>
>>>> Can someone recommend an open source userspace library that enables one
>>>> to implement a userspace iSCSI target?
>>> I'm not sure there is an open source userspace library enables you to
>>> easily implement your own userspace iSCSI target but there are some
>>> userspace iSCSI target implementations, which might useful.
>>>
>>> Some Linux distributions use:
>>>
>>> http://stgt.berlios.de/
>>>
>>> OpenSolaris also has one:
>>>
>>> http://opensolaris.org/os/project/iscsitgt/
>>>
>>> *BSD also have userspace iSCSI target implementations.
>> Thanks much, I will take a look. I have already found and read the code
>> for NetBSD's iSCSI target.
>>
>> I am mainly interested in 100% userspace solution, because in my case,
>> the storage software (distributed goop) is also in userspace. Something
>> that exports through the kernel actually adds overhead, when a
>> straight-to-sockets userspace implementation would be more efficient.
>
> All the implementations that I referred to above are 100% userspace
> solution (if I correctly remember *BSD's implementations).
>
> You might think that stgt is a kernel space solution but it's 100%
> userspace solution if you use only its iSCSI (or FCoE) support. As you
> expect, it's just a userspace daemon. It doesn't require any fancy
> kernel features.
>
> About OSD support, I think that Pete and other osc.edu people
> implemented iSCSI OSD target with stgt (though I've not merged their
> OSD code to stgt or tried it yet):
>
Do not use these URL's they are out of date. The OSC OSD project
is now hosted on open-osd.org git tree's.
Look here for latest git tree and instructions:
http://www.open-osd.org/bin/view/Main/OscOsdProject
We also have stgt + osd-patches hosted as a sub-module under
the OSC OSD target.
Boaz
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-11-11 16:12 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 22:29 best userspace iscsi target lib? Jeff Garzik
2008-11-11 6:22 ` FUJITA Tomonori
2008-11-11 10:55 ` Boaz Harrosh
2008-11-11 14:06 ` Jeff Garzik
2008-11-11 15:02 ` FUJITA Tomonori
2008-11-11 16:12 ` Boaz Harrosh
2008-11-11 12:24 ` Vladislav Bolkhovitin
2008-11-11 12:43 ` Jeff Garzik
2008-11-11 13:00 ` Bart Van Assche
2008-11-11 13:07 ` Boaz Harrosh
2008-11-11 14:02 ` Jeff Garzik
2008-11-11 14:05 ` Vladislav Bolkhovitin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox