Bug 1297792 - targetcli - /loopback create does not create luns
Summary: targetcli - /loopback create does not create luns
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: targetcli
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Maurizio Lombardi
QA Contact: Martin Hoyer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-12 13:22 UTC by lejeczek
Modified: 2019-03-22 14:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-22 14:52:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description lejeczek 2016-01-12 13:22:03 UTC
Description of problem:

I'm having this:

ls /
o- / .................................................................................... [...]
  o- backstores ......................................................................... [...]
  | o- block ............................................................. [Storage Objects: 1]
  | | o- h200front .................... [/dev/mapper/h200front-0 (9.1TiB) write-thru activated]
  | o- fileio ............................................................ [Storage Objects: 0]
  | o- pscsi ............................................................. [Storage Objects: 0]
  | o- ramdisk ........................................................... [Storage Objects: 0]
  o- iscsi ....................................................................... [Targets: 1]
  | o- iqn.2003-01.org.linux-iscsi.rider.x8664:sn.c4b0d2fb1663 ...................... [TPGs: 1]
  |   o- tpg1 .......................................................... [no-gen-acls, no-auth]
  |     o- acls ..................................................................... [ACLs: 2]
  |     | o- iqn.1994-05.com.redhat:5ac472d57ced ............................. [Mapped LUNs: 1]
  |     | | o- mapped_lun0 ........................................ [lun0 block/h200front (rw)]
  |     | o- iqn.1994-05.com.redhat:5e4fbe456f22 ............................. [Mapped LUNs: 1]
  |     |   o- mapped_lun0 ........................................ [lun0 block/h200front (rw)]
  |     o- luns ..................................................................... [LUNs: 1]
  |     | o- lun0 ................................. [block/h200front (/dev/mapper/h200front-0)]
  |     o- portals ............................................................... [Portals: 1]
  |       o- 0.0.0.0:3260 ................................................................ [OK]


Initiators get to iscsi targets, but now trying to use loopback, a naa.xxx does get created and luns/ inside it but no actual luns. In global I have auto_add_mapped_luns=true


Version-Release number of selected component (if applicable):

targetcli-2.1.fb37-3.el7.noarch
3.10.0-327.3.1.el7.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 lejeczek 2016-02-05 12:14:31 UTC
maybe not that important, manual create works.

Comment 4 Maurizio Lombardi 2019-03-22 14:52:02 UTC
I can't reproduce this with the latest rhel7 version.
Feel free to reopen it if you disagree


Note You need to log in before you can comment on or make changes to this bug.