Issue with iscsi - how to remove targets not showing in pve web interface ?

dwam

New Member
Dec 16, 2013
3
0
1
Bordeaux, France
Hi PVE experts!

I'm having an issue with iSCSI (which I am experimenting for the first time). I did many tests trying to figure out the best options for setup, and ran into a situation I would like advices for.

Basically, some previous configs are "stuck" into PVE. I did not delete them correctly, so now they don't appear in PVE interface, but are still active, trying to login to targets that don't exist no more...

I can see them listed in/etc/iscsi/nodes and /etc/iscsi/send_targets... How can I remove them ? Simply by deleting the directories and files (which ones?) ? Or is there a command to use ?

What's the best way to deal with this situation ?

Thanks for your advices
Guillaume
 
Without answers, I gave it a try the way I felt about it... Not sure it was the best way but after a reboot (that I wanted to avoid) it seems it was no that bad.

Here's what I did :

in /etc/lvm/archive and /etc/lvm/backup
removed everything that related to previous LVM groups

in /etc/iscsci/nodes and /etc/iscsi/send_targets
removed everything that related to previous iscsi storage definitions

Reboot. No more login attempts every second reported in PVE syslog and on the target. Current LVM on iSCSI still working.

Still curious to know more about this, especially if there is a PVE way/command to do it more cleanly.
 
Last edited:

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!