Your message dated Mon, 10 Sep 2018 13:25:45 +0545
with message-id <[email protected]>
and subject line Re: Bug#858434: LUNs have been created, but ls / doesn't show
has caused the Debian Bug report #858434,
regarding LUNs have been created, but ls / doesn't show
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
858434: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858434
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: targetcli-fb
Version: 2.1.43-1

After creating 2 new LUNs in the target I have to restart
targetcli to make them show up. Sample session:

# targetcli
:
/iscsi/iqn.20...000/tpg1/luns> set global auto_add_mapped_luns=false
Parameter auto_add_mapped_luns is now 'false'.
/iscsi/iqn.20...000/tpg1/luns> create /backstores/block/fbuba7001.pv
Info: Created LUN 6.
/iscsi/iqn.20...000/tpg1/luns> create /backstores/block/fbupa7001.pv
Info: Created LUN 7.
/iscsi/iqn.20...000/tpg1/luns> ls /
o- / 
.........................................................................................................................
 [...]
  o- backstores 
..............................................................................................................
 [...]
  | o- block 
..................................................................................................
 [Storage Objects: 8]
  | | o- fbuba7001.pv ....................................................... 
[/dev/vg00/fbuba7001.pv (1.0TiB) write-thru activated]
  | | o- fbupa7001.pv ....................................................... 
[/dev/vg00/fbupa7001.pv (1.0TiB) write-thru activated]
  | | o- fppa6p001.pv ....................................................... 
[/dev/vg00/fppa6p001.pv (1.0TiB) write-thru activated]
  | | o- fppa6p002.pv ....................................................... 
[/dev/vg00/fppa6p002.pv (1.0TiB) write-thru activated]
  | | o- fppa6p003.pv ..................................................... 
[/dev/vg00/fppa6p003.pv (512.0GiB) write-thru activated]
  | | o- fppa6p004.pv ..................................................... 
[/dev/vg00/fppa6p004.pv (512.0GiB) write-thru activated]
  | | o- srva001.local ..................................................... 
[/dev/vg00/srva001.local (2.0TiB) write-thru activated]
  | | o- srva002.local ..................................................... 
[/dev/vg00/srva002.local (2.0TiB) write-thru activated]
  | o- fileio 
.................................................................................................
 [Storage Objects: 0]
  | o- pscsi 
..................................................................................................
 [Storage Objects: 0]
  | o- ramdisk 
................................................................................................
 [Storage Objects: 0]
  o- iscsi 
............................................................................................................
 [Targets: 1]
  | o- iqn.2000-01.de.example:nasl003b.000 
............................................................................... 
[TPGs: 1]
  |   o- tpg1 
...............................................................................................
 [no-gen-acls, no-auth]
  |     o- acls 
..........................................................................................................
 [ACLs: 3]
  |     | o- iqn.2014-01.de.example.ac.srva001 
.................................................................... [Mapped 
LUNs: 1]
  |     | | o- mapped_lun0 
......................................................................... [lun4 
block/srva001.local (rw)]
  |     | o- iqn.2014-01.de.example.ac.srva002 
.................................................................... [Mapped 
LUNs: 1]
  |     | | o- mapped_lun0 
......................................................................... [lun5 
block/srva002.local (rw)]
  |     | o- iqn.2014-01.de.example.ac.srva003 
.................................................................... [Mapped 
LUNs: 4]
  |     |   o- mapped_lun0 
.......................................................................... 
[lun0 block/fppa6p001.pv (rw)]
  |     |   o- mapped_lun1 
.......................................................................... 
[lun1 block/fppa6p002.pv (rw)]
  |     |   o- mapped_lun2 
.......................................................................... 
[lun2 block/fppa6p003.pv (rw)]
  |     |   o- mapped_lun3 
.......................................................................... 
[lun3 block/fppa6p004.pv (rw)]
  |     o- luns 
..........................................................................................................
 [LUNs: 6]
  |     | o- lun0 
.................................................................... 
[block/fppa6p001.pv (/dev/vg00/fppa6p001.pv)]
  |     | o- lun1 
.................................................................... 
[block/fppa6p002.pv (/dev/vg00/fppa6p002.pv)]
  |     | o- lun2 
.................................................................... 
[block/fppa6p003.pv (/dev/vg00/fppa6p003.pv)]
  |     | o- lun3 
.................................................................... 
[block/fppa6p004.pv (/dev/vg00/fppa6p004.pv)]
  |     | o- lun4 
.................................................................. 
[block/srva001.local (/dev/vg00/srva001.local)]
  |     | o- lun5 
.................................................................. 
[block/srva002.local (/dev/vg00/srva002.local)]
  |     o- portals 
....................................................................................................
 [Portals: 1]
  |       o- 0.0.0.0:3260 
.....................................................................................................
 [OK]
  o- loopback 
.........................................................................................................
 [Targets: 0]
  o- vhost 
............................................................................................................
 [Targets: 0]


Please note that lun6 and lun7 are not there. I have to restart
targetcli to make them show up:


/iscsi/iqn.20...000/tpg1/luns> exit
Info: Global pref auto_save_on_exit=true
Info: Last 10 configs saved in /etc/rtslib-fb-target/backup.
Info: Configuration saved to /etc/rtslib-fb-target/saveconfig.json
# targetcli
targetcli shell version 2.1.fb43
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/iscsi/iqn.20...000/tpg1/luns> ls /
o- / 
.........................................................................................................................
 [...]
  o- backstores 
..............................................................................................................
 [...]
  | o- block 
..................................................................................................
 [Storage Objects: 8]
  | | o- fbuba7001.pv ....................................................... 
[/dev/vg00/fbuba7001.pv (1.0TiB) write-thru activated]
  | | o- fbupa7001.pv ....................................................... 
[/dev/vg00/fbupa7001.pv (1.0TiB) write-thru activated]
  | | o- fppa6p001.pv ....................................................... 
[/dev/vg00/fppa6p001.pv (1.0TiB) write-thru activated]
  | | o- fppa6p002.pv ....................................................... 
[/dev/vg00/fppa6p002.pv (1.0TiB) write-thru activated]
  | | o- fppa6p003.pv ..................................................... 
[/dev/vg00/fppa6p003.pv (512.0GiB) write-thru activated]
  | | o- fppa6p004.pv ..................................................... 
[/dev/vg00/fppa6p004.pv (512.0GiB) write-thru activated]
  | | o- srva001.local ..................................................... 
[/dev/vg00/srva001.local (2.0TiB) write-thru activated]
  | | o- srva002.local ..................................................... 
[/dev/vg00/srva002.local (2.0TiB) write-thru activated]
  | o- fileio 
.................................................................................................
 [Storage Objects: 0]
  | o- pscsi 
..................................................................................................
 [Storage Objects: 0]
  | o- ramdisk 
................................................................................................
 [Storage Objects: 0]
  o- iscsi 
............................................................................................................
 [Targets: 1]
  | o- iqn.2000-01.de.example:nasl003b.000 
............................................................................... 
[TPGs: 1]
  |   o- tpg1 
...............................................................................................
 [no-gen-acls, no-auth]
  |     o- acls 
..........................................................................................................
 [ACLs: 3]
  |     | o- iqn.2014-01.de.example.ac.srva001 
.................................................................... [Mapped 
LUNs: 1]
  |     | | o- mapped_lun0 
......................................................................... [lun4 
block/srva001.local (rw)]
  |     | o- iqn.2014-01.de.example.ac.srva002 
.................................................................... [Mapped 
LUNs: 1]
  |     | | o- mapped_lun0 
......................................................................... [lun5 
block/srva002.local (rw)]
  |     | o- iqn.2014-01.de.example.ac.srva003 
.................................................................... [Mapped 
LUNs: 4]
  |     |   o- mapped_lun0 
.......................................................................... 
[lun0 block/fppa6p001.pv (rw)]
  |     |   o- mapped_lun1 
.......................................................................... 
[lun1 block/fppa6p002.pv (rw)]
  |     |   o- mapped_lun2 
.......................................................................... 
[lun2 block/fppa6p003.pv (rw)]
  |     |   o- mapped_lun3 
.......................................................................... 
[lun3 block/fppa6p004.pv (rw)]
  |     o- luns 
..........................................................................................................
 [LUNs: 8]
  |     | o- lun0 
.................................................................... 
[block/fppa6p001.pv (/dev/vg00/fppa6p001.pv)]
  |     | o- lun1 
.................................................................... 
[block/fppa6p002.pv (/dev/vg00/fppa6p002.pv)]
  |     | o- lun2 
.................................................................... 
[block/fppa6p003.pv (/dev/vg00/fppa6p003.pv)]
  |     | o- lun3 
.................................................................... 
[block/fppa6p004.pv (/dev/vg00/fppa6p004.pv)]
  |     | o- lun4 
.................................................................. 
[block/srva001.local (/dev/vg00/srva001.local)]
  |     | o- lun5 
.................................................................. 
[block/srva002.local (/dev/vg00/srva002.local)]
  |     | o- lun6 
.................................................................... 
[block/fbuba7001.pv (/dev/vg00/fbuba7001.pv)]
  |     | o- lun7 
.................................................................... 
[block/fbupa7001.pv (/dev/vg00/fbupa7001.pv)]
  |     o- portals 
....................................................................................................
 [Portals: 1]
  |       o- 0.0.0.0:3260 
.....................................................................................................
 [OK]
  o- loopback 
.........................................................................................................
 [Targets: 0]
  o- vhost 
............................................................................................................
 [Targets: 0]


Please reassign if necessary.

Regards
Harri

--- End Message ---
--- Begin Message ---
On Mon, 2018-09-10 at 09:04 +0200, Harald Dunkel wrote:
> Cannot reproduce it anymore.

Thank you for the follow-up. I'm closing this bug accordingly.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to