1 Reply Latest reply: Jul 23, 2015 2:27 PM by Klaus Kupfer RSS

    remove Target name manually with get-esxcli

    Tony Wong Adventurer

      any idea how I can manually remove Static discovery target names via command line?


      I am removing some volumes from all my esxi host and need to remove the static discovery target name Capture.JPG



      I am trying to do it with get-esxcli but I do not see these static discovery target names





        • Re: remove Target name manually with get-esxcli
          Klaus Kupfer Adventurer

          Hi Tony,

          I just cleaned my lab and removing the Dynamic Discovery Address removed all static entries. You just must make sure that really nothing is connected to these static entries.

          Bildschirmfoto 2015-07-23 um 23.23.58.png

          The static entries:

          Bildschirmfoto 2015-07-23 um 23.24.16.png


          Then I ran:

          ~ # esxcli iscsi adapter discovery sendtarget remove --adapter=vmhba33 --address=


          And there you go:

          Bildschirmfoto 2015-07-23 um 23.24.32.png

          I hope this helps.