From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP0GX-0001mU-G1 for qemu-devel@nongnu.org; Fri, 11 Nov 2011 18:12:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RP0GW-0004Ps-7X for qemu-devel@nongnu.org; Fri, 11 Nov 2011 18:12:09 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:47850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP0GV-0004Pl-SK for qemu-devel@nongnu.org; Fri, 11 Nov 2011 18:12:08 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate04.web.de (Postfix) with ESMTP id 9B8146F043F6 for ; Sat, 12 Nov 2011 00:12:05 +0100 (CET) Message-ID: <4EBDABBD.9080905@web.de> Date: Sat, 12 Nov 2011 00:11:57 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1321048006-16451-1-git-send-email-ronniesahlberg@gmail.com> <1321048006-16451-2-git-send-email-ronniesahlberg@gmail.com> In-Reply-To: <1321048006-16451-2-git-send-email-ronniesahlberg@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to qemu-doc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ronnie Sahlberg Cc: kwolf@redhat.com, qemu-devel@nongnu.org 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 > --- > 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