proxmox and iscsi storage always a an issue-- please help

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
Hi,
I have been using proxmox from from the very beginning from 1.3. At the moment I have version 3.0
When evern I remove an iscsi storage, it does not remove it. Although, from the web interface, it disapears, but it still is there in the following directories.
/etc/iscsi/send_targets/my_ip_address,3260
/etc/iscsi/nodes (Must)
/dev/disk/by-path/
/dev/disk/by-id
/dev/disk/by-scsibus
/dev/disk/by-uuid

Even if I remove it manually, and run
/etc/init.d/open-iscsi restart
It does not.
When I issue
iscsiadm -m session -P 1
it still shows up.
Even if I try to forcefully delete by issueing

iscsiadm -m session -r 1 -u
Logging out of session [sid: 1, target: iqn.2006-01.com.kvm:tsn.a9d928eca524, portal: 192.168.45.90,3260]
iscsiadm: Could not logout of [sid: 1, target: iqn.2006-01.com.kvm:tsn.a9d928eca524, portal: 192.168.45.90,3260].
iscsiadm: initiator reported error (9 - internal error)
iscsiadm: Could not logout of all requested sessions


In a nutshell, do I have to restart every time I remove an iscsi target? I have many KVM and openvz vms running in a production environment. It is not feasible to reboot.
Is there a fix to removing the iscsi target completely, once, I remove it using the web interface?

Thanks in advance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!