Re: iSCSI target for kfreebsd

2011-05-03 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Xin Li,

thank you a lot for joining this discussion, much appreciated.

On 03.05.2011 20:58, Xin LI wrote:
> iet is a ported version of Linux "iSCSI Enterprise Target" by QuadStor
> systems (Shivaram Upadhyayula; cc'ed).  It's not based on FreeBSD's
> Linux compatibility layer, though, and therefore I believe that it would
> work on Debian/kFreeBSD without much changes.

I am not concerned about portability, I'm pretty optimistic it could be
ported straightforward to kfreebsd. I am curious whether we can assume,
you as upstream source provider of this patch are confident to maintain
it over a long term, a tight integration into FreeBSD's/FreeNAS iSCSI
concept would be such an indicator. See this is definitively not a
trivial patch and I'm unsure whether your upstream source (i.e. the
iscsitarget project, also invited to join this discussion - please start
on http://lists.debian.org/debian-bsd/2011/05/msg1.html) is
interested to merge your patch for example.

Once this patch would enter Debian Stable we would have to provide
security patches for roughly 3 years, perhaps even more and moreover we
would rely on you porting every now and then your patch to a new
upstream version or adapt it to new FreeBSD kernels if necessary.

> Our initial test on iet have shown very good performance, but that test
> does not cover using ZFS zvol volumes.  Currently FreeNAS is still using
> istgt as its iSCSI implementation and with some tuning it can saturate
> GigE in our test.

Sounds great. Do you have plans to support ZFS volumes within a
forseeable time frame?

> Personally I'd prefer iet more, as its configuration is more
> understandable for people with some experience with other iSCSI
> products, but for licensing reasons it might not be a good choice for
> inclusion in FreeBSD base system unless there is some very appealing
> reasons, as people can always install a new version of iet from ports.

That's exactly my point, see my concerns above. Moreover I personally
would prefer iet as well, as I know it from Linux where it is best known
for its stability and performance and it exists in Debian already.


- -- 
with kind regards,
Arno Töll
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNwFyWAAoJEMcrUe6dgPNtYNcP/iBRVr4INR//CGTgJLufXwbk
VBMeDy12bMLbFf+B0uJRA9ohmpKyaNgLKxHDuLovW7WOh32EvjQHqkX7yPjMIc8c
GEZR9IjcsxAVKiBu3YLukk+K64gwUb/hVcPuY8WOYWfkNfdL766ZKfpYqIft+5Jk
sitoTaJg0xd8GB35FEOFkJnlbxYN5NcTbfuifeyzfK3+DCEAw1WQWTwLGWQjybjx
dTBcSx8C8f7UP/7owTIepgZLbr+Yz+YBsXgq6Ki8g+t2Z3h5amhmdoWhDtnXZO4h
Uin3dIqaNe+slt6IAgRD5bm8aNm+kVOJJimmKZvrmcyjtYbmtUAo3QdvmV/Y01Pq
00+3LAZyaUEy9fV3tSglE5qjKvC2tdrtxDdmBaQWGpcIuReD64y02xE2MqcnxIfa
3OKYNplmuQ8oSEogu/H5SDrGUvHZasbh16cgHjzWflYtn+R8EbzSXIe7F62TTbZp
fHhl/A1/D+4QSnw26u6hnDvOzG/U6dLl86tZzXRx+ogMhxLA9Y5Z5Qtf/P/N/1q3
GWLGZVFBR92wKP3trWv5AIzOQcxxgKU6I3y16Al1cnszU74Pthm1FoH056QX0n/l
SLzAcDvMLTxURdGmT+9S9oDPERH2dyoQ3sTM4sRA2g33CB6v44+RL2KrjkM+leWR
IgRvuefnnZI+VIxUpVMf
=bn0D
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc05c97.1020...@toell.net



Re: iSCSI target for kfreebsd

2011-05-03 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi, Arno,

On 05/02/11 14:48, Arno Töll wrote:
> On 02.05.2011 22:57, David N wrote:
> 
>> istgt does seem to work well with ZFS.
> 
> It does. Nonetheless, if there is a sane way to provide iscsitarget on
> kfreebsd it is the better choice, as the latter is a kernel driver which
> is presumably faster than a user space implementation like istgt is. On
> the other hand also both alternatives could be provided.
> 
> However, looking on the FreeBSD iet port this is a really crazy patch on
> top and around of the Linux compatibility layer. Maybe it would be
> helpful to know whether there have been approaches to include this patch
> into upstreams source and FreeBSDs plans related to iSCSI targets in
> general, as we have to keep maintainability in mind.
> 
> Therefore I invite Xin LI, author of the FreeBSD port, to join this
> discussion as he might be able to tell us more. Start of this discussion
> is on .

iet is a ported version of Linux "iSCSI Enterprise Target" by QuadStor
systems (Shivaram Upadhyayula; cc'ed).  It's not based on FreeBSD's
Linux compatibility layer, though, and therefore I believe that it would
work on Debian/kFreeBSD without much changes.

Our initial test on iet have shown very good performance, but that test
does not cover using ZFS zvol volumes.  Currently FreeNAS is still using
istgt as its iSCSI implementation and with some tuning it can saturate
GigE in our test.

Personally I'd prefer iet more, as its configuration is more
understandable for people with some experience with other iSCSI
products, but for licensing reasons it might not be a good choice for
inclusion in FreeBSD base system unless there is some very appealing
reasons, as people can always install a new version of iet from ports.

Cheers,
- -- 
Xin LI http://www.delphij.net/
FreeBSD - The Power to Serve!  Live free or die
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBCAAGBQJNwFBhAAoJEATO+BI/yjfB8dUH/jT+VVIhWFzkRVmPClpMD8fn
ctKx01IXASyEm2qwW/rT1XX5lPfiX/4dLNst7Buh4imWiRxXEJaNSPwIggsdxWHO
XR4DkySOZ4o8vxOD16CjKgS0wcrH05DjrPZ+r5eTLC9RCrDN+0vHVvdO7KyP9C9G
Wmh1PZA5EuycVe7kN5xoLUq+2ytaQt7xGZXc+iOOK/zHBQt30XuEkGDQRyYp0XB7
85JZRSGVtojOIT9OxwsZqXiE8mPxgyqPEgIddBy4UOPErtjHdvwn+wDw5uq95Rcj
NFI+ZyCWUfquNq0JPZBjnjT7x1ZuP5/0Ke1vvBdyqUK0WrUg9HDkp9MXzD80OV4=
=llZH
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc05061.9050...@delphij.net



Re: iSCSI target for kfreebsd

2011-05-02 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.05.2011 22:57, David N wrote:

> istgt does seem to work well with ZFS.

It does. Nonetheless, if there is a sane way to provide iscsitarget on
kfreebsd it is the better choice, as the latter is a kernel driver which
is presumably faster than a user space implementation like istgt is. On
the other hand also both alternatives could be provided.

However, looking on the FreeBSD iet port this is a really crazy patch on
top and around of the Linux compatibility layer. Maybe it would be
helpful to know whether there have been approaches to include this patch
into upstreams source and FreeBSDs plans related to iSCSI targets in
general, as we have to keep maintainability in mind.

Therefore I invite Xin LI, author of the FreeBSD port, to join this
discussion as he might be able to tell us more. Start of this discussion
is on .


- -- 
with kind regards,
Arno Töll
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNvyaUAAoJEMcrUe6dgPNthXgQAMRQIr2j65go1scesYlTJVrW
FmWXlPmnl6WB2ooLgXSgTzHCl4m7X7SH9/C94vKcoUBFW0+/DUTjItWwXkva4e5q
rEMYmEeknbmRmj5M4qfYgPpY2G4ovbtma4HFlOeUMqnAAL/n7/912PsWrtM01Ku9
t1BeerpPMqU1eupgxuVEbrsgFDUH0TbUdQXHgl2Rh806Qd/qtfDCfUqx+t1P3Lqq
LtpVmDz+cDfhZvQA9CvJi5xArGitBFp+CF3Xk0ascl1UKtaGqTgXwHWg6GyH/QVG
OkUCIABSWFU42cjp9lXQEciKPR8fpw9aiVh9ifjy09vDBKbDWqm6cTD1eddnYmhF
5fqAr5lt7IecGgAl4rMGTSMVJP1YGKHUSKsKEWrl7z5WEA9cFTzyzMwLLpLHJS6s
OzAlnBq/HlgmKVO5Oea5pzDkUwVv7HKH6hbUm1cApHkris1MmVUo5pGekc5GPutL
KKQXQNazbzieHJr+Mm+4tFUsqEiFnNNRCnZxPrKNayS/zF5qASBUFy/s1jWd5B0w
//HucW0trT/QlseGJjWqVG605etqUT8oWbYD+CMWGRzTaU3SBQx5U8I+zzfcpoDY
9h5SDTMeGvXYup+N+5KAjR/x/rLWznfoIHJHEJmpVFXI4DiAHpeIgSf+yPSR/tOH
+OVPbxUfgOg4UOc06f7D
=DHTm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dbf2695.1040...@toell.net



Re: iSCSI target for kfreebsd

2011-05-02 Thread David N
2011/5/3 Arno Töll :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 02.05.2011 21:41, Edward Tomasz Napierała wrote:
>> Three, actually - there is also iSCSI Enterprise Target (net/iet),
>> and from what I've heard, it may soon become the most important one.
>
> Thank you for the hint. This is, in fact, the iscsitarget for Linux I
> was speaking above. Apparently that one works on FreeBSD as well. That
> should ease porting efforts a lot, since there is already a package in
> Debian providing iet, although it is not suitable for kfreebsd as is.
>
> I will try getting it to work on kfreebsd.
>
> - --
> with kind regards,
> Arno Töll
> GnuPG Key-ID: 0x9D80F36D
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJNvw4yAAoJEMcrUe6dgPNtY9YQANaWvsqjxo3uItg7CQB4Azs9
> dkbGraWIaACPrZgKomS5iviRopKFzhfYIkIG9dY46MiAkeyaoglpP0S43LEfbHgp
> rYhSk+7o1REzDiqtduV8GQu1TZ2vkGZK7XQaQDUBCn0K9Xqll/Zo5xCrGJi53o3q
> ZRXkE2P7pHASCKN4bSh9awjh/RmRGVGMvgUpmVTETeS6sg8tZ5ldUUXHAEceQrIl
> bCGy6O5KPTyTgghpmuSkC7Tl3CNbhg1Sa8sOa1jcu3Gr1URGQzZMTFd3vw493WNS
> xMEuZxfHJhYZOFKu/yFV598qTYCVzGXq9X5YqSBLYJKx5gnmCuO71D8hZyIoocCn
> JZjKxVP5miLPMxUFTNz0pP0oP+8MElBrxAuyK98fQM+Z/sB0oD6UlrH3XSeZkL+P
> JpZZ8T30LT2zNPxzeEEHQcwJ6EAhPFZG1nX3PCOF97jNQYfDImFM9wzEI6mcpi+G
> 68LnFlSFWibggZ6UteEQqxwLtvNku2iYuWfhhzxW/G7IiI59gKq6ocpE5KtL17QH
> 3vMRSx5C6fBAWXVUmioPTonVZHHxtg1gxJfoFxM3WEKAQbx3+Xygu9LEImmO6wj5
> DbQy1wsexG4eVMuQCsJYZJMkk1AeMwwEg19z38ml7CHvbmN0Lr+wxXh4pJ3q0BIp
> iLibDwebT0yqzRrafIse
> =XUb+
> -END PGP SIGNATURE-
>
>
> --
> To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4dbf0e32.6040...@toell.net
>
>

We've used FreeBSD istgt file backed image and used the same image
with Debian Squeeze tgt without any problems.

istgt does seem to work well with ZFS.

Regards
David N


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=r%atkhykfaaj9teob52jgj...@mail.gmail.com



Re: iSCSI target for kfreebsd

2011-05-02 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.05.2011 21:41, Edward Tomasz Napierała wrote:
> Three, actually - there is also iSCSI Enterprise Target (net/iet),
> and from what I've heard, it may soon become the most important one.

Thank you for the hint. This is, in fact, the iscsitarget for Linux I
was speaking above. Apparently that one works on FreeBSD as well. That
should ease porting efforts a lot, since there is already a package in
Debian providing iet, although it is not suitable for kfreebsd as is.

I will try getting it to work on kfreebsd.

- -- 
with kind regards,
Arno Töll
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNvw4yAAoJEMcrUe6dgPNtY9YQANaWvsqjxo3uItg7CQB4Azs9
dkbGraWIaACPrZgKomS5iviRopKFzhfYIkIG9dY46MiAkeyaoglpP0S43LEfbHgp
rYhSk+7o1REzDiqtduV8GQu1TZ2vkGZK7XQaQDUBCn0K9Xqll/Zo5xCrGJi53o3q
ZRXkE2P7pHASCKN4bSh9awjh/RmRGVGMvgUpmVTETeS6sg8tZ5ldUUXHAEceQrIl
bCGy6O5KPTyTgghpmuSkC7Tl3CNbhg1Sa8sOa1jcu3Gr1URGQzZMTFd3vw493WNS
xMEuZxfHJhYZOFKu/yFV598qTYCVzGXq9X5YqSBLYJKx5gnmCuO71D8hZyIoocCn
JZjKxVP5miLPMxUFTNz0pP0oP+8MElBrxAuyK98fQM+Z/sB0oD6UlrH3XSeZkL+P
JpZZ8T30LT2zNPxzeEEHQcwJ6EAhPFZG1nX3PCOF97jNQYfDImFM9wzEI6mcpi+G
68LnFlSFWibggZ6UteEQqxwLtvNku2iYuWfhhzxW/G7IiI59gKq6ocpE5KtL17QH
3vMRSx5C6fBAWXVUmioPTonVZHHxtg1gxJfoFxM3WEKAQbx3+Xygu9LEImmO6wj5
DbQy1wsexG4eVMuQCsJYZJMkk1AeMwwEg19z38ml7CHvbmN0Lr+wxXh4pJ3q0BIp
iLibDwebT0yqzRrafIse
=XUb+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dbf0e32.6040...@toell.net



Re: iSCSI target for kfreebsd

2011-05-02 Thread Edward Tomasz Napierała
Wiadomość napisana przez Arno Töll w dniu 2011-05-02, o godz. 00:17:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> kfreebsd misses an iSCSI target so far. This would be an useful addition
> to kfreebsd and its ZFS support. Indeed many people I encountered so far
> which were trying out kfreebsd ask for ZFS and occasionally for iSCSI
> support as well.
> 
> The only packages available in kfreebsd right now are
> iscsitarget-(dkms|source). As you may derive from their names, those
> packages are not at all useful for kfreebsd as they are tightly linked
> with the Linux kernel and exist on kfreebsd only because no one cared to
> implement "architecture: linux-all" so far.
> 
> FreeBSD has two iSCSI targets available: "iscsi-target"
> (/usr/ports/net/iscsi-target) and "istgt" (/usr/ports/net/istgt/) (learn
> more on [1]). I tried to compile the latter and it works out of the box
> on kfreebsd. Therefore istgt could provide an iSCSI target for Debian
> without too much effort.

Three, actually - there is also iSCSI Enterprise Target (net/iet),
and from what I've heard, it may soon become the most important one.

--
If you cut off my head, what would I say?  Me and my head, or me and my body?


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/fad20042-760a-4303-8184-87f94de85...@freebsd.org