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.
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.