iscsicli help

Posted on 2011-05-10
Last Modified: 2012-05-11
How do I remove the 2nd target from the list of targets?  The GUI says it is inactive and if I click refresh in the GUI it will disappear.  How do I do this refresh from CLI?
C:\LH_backup_script>iscsicli ListTargets
Microsoft iSCSI Initiator version 2.0 Build 3497

Targets List:
The operation completed successfully.
Question by:hbaber
    LVL 10

    Expert Comment

    by:Subhashish Laha
    Try running below command

    iscsicli RefreshTargetPortal <TargetPortalAddress> <TargetPortalSocket> [HBA Name] [Port Number]
    LVL 1

    Author Comment

    This didn't work
    iscsicli RefreshTargetPortal 3260

    Would have thought this would have worked thou.
    iscsicli RemoveTarget returns
    Microsoft iSCSI Initiator version 2.0 Build 3497
    The target name is not found or is marked as hidden from login.

    Again, GUI shows this target as inactive.
    LVL 1

    Accepted Solution

    found it.  

    iscsicli listtargets t

    Im not sure what the 't' does.  Not in documentation
    LVL 1

    Author Closing Comment

    Answered it myself

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now