Questions tagged [targetcli]

8 questions
3
votes
1 answer

24 - iSCSI login failed due to authorization failure

When I run iscsiadm --mode node --targetname iqn.2018-12.dz.esi:iso --portal 10.11.0.2 --login I get this error: Logging in to [iface: default, target: iqn.2018-12.dz.esi:iso, portal: 10.11.0.2,3260] (multiple) iscsiadm: Could not login to [iface:…
Yasmine
  • 31
  • 1
  • 3
1
vote
0 answers

ISCSI - how to connect only in one target session?

I have created a lab for databases, and when I am discovering the targets, it show two sessions (1,2): 10.0.0.17:3260,1 iqn.2003-01.org.linux-iscsi.san.x8664:sn.b5aad37c0404 10.0.0.17:3260,2 iqn.2003-01.org.linux-iscsi.san.x8664:sn.b5aad37c0404 How…
Potter
  • 425
  • 4
  • 12
1
vote
0 answers

targetcli vs tgtd

I was reading about targetcli and have this confusion. in rhel 6, to configure iscsi target, iscsi-target-utils need to be installed but in rhel 7, targetcli need to be installed. Can't we use iscsi-target-utils on rhel7 and targetcli in rhel 6. is…
Rajnish Kumar Soni
  • 1,009
  • 2
  • 13
  • 20
1
vote
0 answers

Open-iSCSI Target IQN Naming Case

I'm using LRBD to configure iSCSI targets from a Ceph cluster, LRBD uses Open-iSCSI/targetcli to configure the targets. When I use an uppercase letter in the unique part of the iqn (after the colon), I get the following error message: Invalid iqn…
rusty shackleford
  • 2,365
  • 9
  • 21
1
vote
5 answers

Unable to access iSCSI target since Targetcli has been updated on Centos 7

Targetcli is able to run [root@controller ~]# targetcli targetcli shell version 2.1.fb34 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /> exit Global pref auto_save_on_exit=true Last 10 configs saved in…
030
  • 1,527
  • 2
  • 17
  • 33
0
votes
1 answer

iscsi target screwup - remapping targets and block devices

We've been running a CentOS 7 server successfully for a couple months with two iSCSI targets, all set up using targetcli. These are mounted from a Windows 7 box using the MS iSCSI Initiator. Worked great. About a month ago, I added another target,…
Perry
  • 1
  • 3
0
votes
1 answer

Set up two separate LUNs on same iSCSI target for two different initiators

I'm trying to setup my iSCSI server using targetcli. Initial setup went fine and my Windows iSCSI initiator can connect to my first target / portal / LUN. Now I'm trying to setup another LUN. I want it to be separate, such that my Windows client…
velis
  • 367
  • 1
  • 4
  • 16
0
votes
1 answer

Lost config targetcli

I have a disc with data and lost targetcli configuration. The disk.img exists and has a 900 GB size but I do not have the saveconfig.json configuration file. How to recover or extract the data from disk.img file?