[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to
From: |
ronnie sahlberg |
Subject: |
Re: [Qemu-devel] [PATCH] Documentation: Add section about iSCSI LUNS to qemu-doc |
Date: |
Sat, 12 Nov 2011 11:41:20 +1100 |
Hi,
On Sat, Nov 12, 2011 at 10:11 AM, Andreas Färber <address@hidden> wrote:
> 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 <address@hidden>
>> ---
>> 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:
>> address@hidden
>> +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?
>
I have mentioned now that this is Linux STGT target and that it comes
in the scsi-target-utils package.
Maybe add an example for Solaris too?
I don't use Solaris myself so I dont know how to configure iSCSI
target on Solaris.
Does OpenSolaris come with the same iSCSI target as Real-Solaris? If
so I could set it up in a VM and
try to figure out what a Solaris example could look like.
IMHO, examples are useful to get people up and running real quick to
get to a point where one they start experimenting.
straight away without having to search/learn lots of stuff first.
> Please also remember to choose a subject, a recurring fault. ;)
I know, I am completely hopless with 'git-send-email' :-)
regards
ronnie sahlberg