On 13 June 2010 21:01, Mike Christie <[email protected]> wrote:
> On 06/12/2010 06:31 AM, Michal Suchanek wrote:
>>
>> Hello
>>
>> I tried to get an iscsi setup working so I installed iscsitarget and
>> open-iscsi and tried to export a file as an iSCSI lun.
>>
>> After doing so I could log in with iscsiadm but I would not get any
>> disks on the initiator.
>>
>> Later I discovered that I had a typo in the ietd.conf file and the lun
>> was simply not exported giving a target with no luns available for the
>> initiator.
>>
>> While it is true that the error is logged in kernel logs on the target
>> machine I could not find any way to list the available luns on the
>
> iscsiadm -m session -P 3
>
Thanks, this command does print the luns if there are any.

However, it is not obvious from the documentation that it should print
these nor is it obvious from the output that there some part missing
when no luns are available.

It also does not work when I just add -P 3 to the discovery and node
commands which I use to log into the target and there is no obvious
reason why it should not.

Thanks

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to