Bug 802253
Summary: | tgtd fails to present more than 255 LUs to single target | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Bruno Goncalves <bgoncalv> | ||||
Component: | scsi-target-utils | Assignee: | David Lehman <dlehman> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Bruno Goncalves <bgoncalv> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3 | CC: | bgoncalv, fge, pnajman | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-12-15 07:24:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
It seems tgtd is not sending the lun info how scsi-ml likes it. You can simpify this by just doing a target like this: <target iqn.2008-09.com.tgtd.meanminna> <backing-store /tmp/loop-disk-1-1> scsi_sn 512 scsi_id 512 lun 512 </backing-store> </target> remember for iscsi_tcp to increase the max_lun modprobe iscsi_tcp max_lun=513 Since RHEL 6.3 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Verified fix on 2.6.32-397.el6.x86_64. iscsiadm -m discovery -p localhost -t st [ OK ] iscsid: [ OK ] [::1]:3260,1 iqn.2009-10.com.redhat:storage-1 iscsiadm -m node -l Logging in to [iface: default, target: iqn.2009-10.com.redhat:storage-1, portal: ::1,3260] (multiple) Login to [iface: default, target: iqn.2009-10.com.redhat:storage-1, portal: ::1,3260] successful. iscsiadm -m session -P3 | grep sd | wc 512 3072 21992 cat /sys/module/iscsi_tcp/parameters/max_lun 4294967295 After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Changing to new sst Storage IO |
Created attachment 569299 [details] setup 512 LUs Description of problem: When creating more than 255 LU for a single target only 255 are presented to initiator. When creating the LUs no error is reported. Version-Release number of selected component (if applicable): scsi-target-utils-1.0.14-4.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Run the attached script to create 512 LUs (tgtd.sh) 2. iscsiadm -m discovery -p localhost -t st 3. iscsiadm -m node -l 4. iscsiadm -m session -P3 | grep sd | wc Actual results: Only 255 devices are shown Expected results: Should be able to login to all 512 devices Additional information: /var/log/messages shows the following error: host 5 channel 0 id 0 lun16640 has a LUN larger than allowed by the host adapter tgt-admin -s shows LUN information correctly. LUN: 512 Type: disk SCSI ID: 512 SCSI SN: 512