From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: Andreas Steinmetz <ast@domdv.de>
Cc: linux-kernel@vger.kernel.org, hch@infradead.org,
torvalds@linux-foundation.org,
target-devel <target-devel@vger.kernel.org>
Subject: Re: LIO - the broken iSCSI target implementation
Date: Thu, 17 Jan 2013 12:56:19 -0800 [thread overview]
Message-ID: <1358456179.18551.34.camel@haakon2.linux-iscsi.org> (raw)
In-Reply-To: <1358385543.7040.54.camel@host028-server-9.lan.domdv.de>
Hi Andreas,
On Thu, 2013-01-17 at 02:19 +0100, Andreas Steinmetz wrote:
> This is not a technical point of view. This is a more or less political
> and user point of view. And for any replies, I'm not subscribed (haven't
> been now for years).
>
> As a user, I was in need for an iSCSI target. Actually, I needed to
> export a SAS tape device (Ultrium 5) - which is one of the devices still
> sufficiently expensive to go the iSCSI target way) - well, not any disks
> (cheap enough, NFS available) or CD/DVD writers (I'd call these penny
> targets nowadays).
>
> Thus, lio (http://www.linux-iscsi.org/) seemed to be the politically and
> technically favoured solution. Except: it simply doesn't work, userspace
> utilities are seemingly not maintained,
I'm not sure what you mean. There are targetcli+rtslib packages are
available for virtually every distribution
http://www.linux-iscsi.org/wiki/Targetcli#Linux_distributions
> the web site is - simply put -
> sales talk and when one tries to write manually to configfs the results
> are kernel panics.
Then your hitting a bug with pSCSI export with TYPE_TAPE. That's what
your trying to do right..?
>
> A little bit more detail:
>
> Oh, well, maybe I do expect too much when a certain commercial
> institution calls LIO "the standard open-source storage Target". Maybe
> one should not expect typical hardware to be supported except, maybe,
> when a commercial contract exists...
>
> Though the only chance to get the LIO target working for me was to try
> to write hopefully proper values to configfs manually. Without any
> usable documentation, that is. The result was: kernel panics (@hch:
> don't ask me how to repeat - hire some apes hacking at LIO configfs,
> that's whats required, apes need no documentation, either).
>
The full API reference for rtslib is available here:
http://www.risingtidesystems.com/doc/rtslib-gpl/html/
As for targetcli, you'll want to use the in-line documenation available
within the shell.
http://www.linux-iscsi.org/wiki/Targetcli#Display_helphttp://www.linux-iscsi.org/wiki/Targetcli#Display_help
> The fun part of it was that I finally ended up using SCST - which was
> refrained from kernel inclusion for technical reasons beyond my
> knowledge. What makes me prefer SCST is quite simple:
>
> It works, it is sufficiently documented and it is maintained. And, @hch:
> Beautiful in kernel code first needs to work without producing kernel
> panics (3.7.x) and it needs to be accompanied by working and
> sufficiently documented user space utilities or, it needs to have a well
> documented API (documentation needs to include a variety of examples,
> not the old IBM way of simply documenting every flag without any
> overview).
>
> As long as LIO userspace is a not maintained and instead seemingly a
> sales playground and as long as LIO kernel code causes panics by simple
> writes to configfs LIO seems to me worse than any alpha quality code. It
> is simply useless.
>
Of course LIO userspace is maintained. If you find a bug, please report
it to us so it can be addressed. Otherwise, I'm not sure what you
expect to achieve by simply hand-waving.
--nab
next prev parent reply other threads:[~2013-01-17 20:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 1:19 Andreas Steinmetz
2013-01-17 20:56 ` Nicholas A. Bellinger [this message]
2013-01-17 21:21 ` Nicholas A. Bellinger
2013-01-17 22:31 ` Andy Grover
2013-01-17 22:51 ` Linus Torvalds
2013-01-17 23:00 ` Nicholas A. Bellinger
2013-01-19 8:42 ` Ritesh Raj Sarraf
2013-01-18 1:53 ` Vladislav Bolkhovitin
[not found] <fa.9LtpVDEImZxRAaqPOyWMlGOK4Ow@ifi.uio.no>
[not found] ` <fa.xKOV9tOmjA6NPYEPagvZixrd/4w@ifi.uio.no>
2013-01-18 20:21 ` promo
2013-01-19 15:36 ` Fubo Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358456179.18551.34.camel@haakon2.linux-iscsi.org \
--to=nab@linux-iscsi.org \
--cc=ast@domdv.de \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=target-devel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®