All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to qemu-doc
Date: Sat, 12 Nov 2011 00:11:57 +0100	[thread overview]
Message-ID: <4EBDABBD.9080905@web.de> (raw)
In-Reply-To: <1321048006-16451-2-git-send-email-ronniesahlberg@gmail.com>

Hi,

Am 11.11.2011 22:46, schrieb Ronnie Sahlberg:
> Add a new section about using iSCSI LUNs with qemu
> and provide a short example on how to set up a target and access it
> using the built-in initiator
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
> ---
>  qemu-doc.texi |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 53 insertions(+), 0 deletions(-)
> 
> diff --git a/qemu-doc.texi b/qemu-doc.texi
> index 149e9bd..c1b293e 100644
> --- a/qemu-doc.texi
> +++ b/qemu-doc.texi

> +Howto set up a simple iSCSI target on loopback and accessing it via QEMU:
> +@example
> +Setting up a iSCSI target with one CDROM and one DISK:
> +tgtd --iscsi portal=127.0.0.1:3260
> +tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.qemu.test
> +tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 \
> +    -b /IMAGES/disk.img --device-type=disk
> +tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 2 \
> +    -b /IMAGES/cd.iso --device-type=cd
> +tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

Having an example is always good.

These commands and parameters don't seem familiar to me, having worked
with iSCSI on Solaris, so this part of the example seems
platform-specific. Could you mention that this example is for Linux? Or
what specific upstream project these tools can be obtained from?

Please also remember to choose a subject, a recurring fault. ;)

Thanks,

Andreas

  parent reply	other threads:[~2011-11-11 23:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 21:46 [Qemu-devel] (no subject) Ronnie Sahlberg
2011-11-11 21:46 ` [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to qemu-doc Ronnie Sahlberg
2011-11-11 22:14   ` Stefan Weil
2011-11-11 23:11   ` Andreas Färber [this message]
2011-11-12  0:41     ` ronnie sahlberg
  -- strict thread matches above, loose matches on Subject: below --
2011-11-12  0:06 [Qemu-devel] Patch to add iSCSI documentation Ronnie Sahlberg
2011-11-12  0:06 ` [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to qemu-doc Ronnie Sahlberg
2011-11-14 10:06   ` Kevin Wolf

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=4EBDABBD.9080905@web.de \
    --to=andreas.faerber@web.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ronniesahlberg@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.