iscsiadm: initiator reported error (15 - already exists)

Comune di Levico Terme

Renowned Member
Dec 18, 2008
51
1
73
Hi, I have a problem whith open-isci on a Proxmox node (sorry for my poor English).

When I try to use "--login" to a target iscsi the system responde "iscsiadm: initiator reported error (15 - already exists)"
these are the result of some commands:


#iscsiadm -m discovery -t st -p 10.0.1.3
10.0.1.3:3260,1 iqn.2006-01.com.openfiler:tsn.21e42811f2f3

#iscsiadm -m node --targetname "iqn.2006-01.com.openfiler:tsn.21e42811f2f3" --portal "10.0.1.3:3260" --login
Logging in to [iface: default, target: iqn.2006-01.com.openfiler:tsn.21e42811f2f3, portal: 10.0.1.3,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2006-01.com.openfiler:tsn.21e42811f2f3, portal: 10.0.1.3,3260]:
iscsiadm: initiator reported error (15 - already exists)

#iscsiadm -m session
iscsiadm: could not read session targetname: 61
iscsiadm: could not find session info for session3
iscsiadm: Can not get list of active sessions (61)


#lsscsi
[0:0:0:0] disk Sun proxmox1 V1.0 /dev/sda
[0:1:0:0] disk HITACHI H103014SCSUN146G A160 -
[0:1:1:0] disk SEAGATE ST914603SSUN146G 0868 -
[0:1:2:0] disk SEAGATE ST914603SSUN146G 0868 -
[0:1:3:0] disk SEAGATE ST914603SSUN146G 0868 -
[0:1:4:0] disk SEAGATE ST914603SSUN146G 0868 -
[0:3:0:0] enclosu ADAPTEC Virtual SGPIO 0 0001 -
[0:3:1:0] enclosu ADAPTEC Virtual SGPIO 1 0001 -
[9:0:0:0] cd/dvd TSSTcorp CD/DVDW TS-T632A SR03 /dev/sr0

#ps -ef | grep iscsi
root 2022 1 0 15:46 ? 00:00:00 /usr/sbin/iscsid
root 2023 1 0 15:46 ? 00:00:00 /usr/sbin/iscsid
root 2938 2 0 08:25 ? 00:00:00 [iscsi_q_12]
root 3044 2 0 Apr30 ? 00:00:00 [iscsi_eh]

#dmsetup status
pve-swap: 0 16777216 linear
pve-root: 0 41943040 linear
pve-data: 0 648110080 linear

#pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 pve lvm2 a- 341,04G 3,99G

#vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 341,04G 3,99G

#lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data pve -wi-ao 309,04G
root pve -wi-ao 20,00G
swap pve -wi-ao 8,00G

#pveversion -v

pve-manager: 1.8-17 (pve-manager/1.8/5948)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.26-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-3
ksm-control-daemon: 1.0-5

When I try to stop open-iscsi service (/etc/init.d/open-iscsi stop) the processes [iscsi_q_12] and [iscsi_eh] are not stopped correctly.

If I try to remove these module manually the system show me these error message:
# modprobe -r ib_iser (these module is correctly removed)
# modprobe -r iscsi_tcp
FATAL: Module iscsi_tcp is in use.


any suggestion ?
thank you.