Unable to delete iscsi target

Hi

Please can someone give me a hint on this, when I list the targets, I see two o them:

#iscsiutil -p

Operational Target Information
------------------------------

Target # 1
-----------
        Target Name               : iqn.1992-08.com.netapp:sn.142241859
        Target Alias              :
        No. of Target Addresses   : 2

Target Address # 1
-------------------
        IP Address                : 192.168.1.252
        iSCSI TCP Port            : 3260
        iSCSI Portal Group Tag    : 1000

  User Configured:
  ----------------

        Authenticaton Method      :
        CHAP Method               : CHAP_UNI
        Initiator CHAP Name       :
        CHAP Secret               :
        Header Digest             : None,CRC32C (default)
        Data Digest               : None,CRC32C (default)

Target Address # 2
-------------------
        IP Address                : 10.0.0.50
        iSCSI TCP Port            : 3260
        iSCSI Portal Group Tag    : 1002

then, when I try to delete the first one:

#iscsiutil -d -I 192.168.1.252 -P 3260 -M 1000
iscsiutil: Delete failed.  The target address "192.168.1.252:3260,1000" is not present in the driver repository: Invalid argument

No volume is attached to this! Does anyone came across that message?

To Delete an iSCSI discovery target IP address from the kernel registry, use:
# iscsiutil [/dev/iscsi] -d -I <ip-address> [-P <tcp-port>][-M <portal-grp-tag>]

<ip-address> The ip_address specified can be an IPv4 formatted address or a DNS name
<tcp-port> A TCP port may be specified for the iSCSI target. If no port is specified, the default iSCSI target port (3260) will be used.
<portal-grp-tag> The target portal group tag may be specified (a value from 0 to 65535 inclusive); otherwise a default value of 1 will be used.

---------- Post updated at 03:45 AM ---------- Previous update was at 03:37 AM ----------

the error shows IP "192.168.1.252" do not find .
maybe you execute

#insf -e 

and reexecute the command to delete the lun.

Hi

I have already used that command and failed as you can see, in my first post