?
Solved

iscsicli help

Posted on 2011-05-10
4
Medium Priority
?
1,667 Views
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:
    iqn.2003-10.com.lefthandnetworks:hqsan:39379:nas-restore
    iqn.2003-10.com.lefthandnetworks:hqsan:39906:snapbak-fs1
    iqn.2003-10.com.lefthandnetworks:hqsan:39929:snap-bak-fs1
The operation completed successfully.
0
Comment
Question by:hbaber
  • 3
4 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 35730937
Try running below command

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

Author Comment

by:hbaber
ID: 35731690
This didn't work
iscsicli RefreshTargetPortal 10.10.10.175 3260

Would have thought this would have worked thou.
iscsicli RemoveTarget iqn.2003-10.com.lefthandnetworks:hqsan:39906:snapbak-fs1 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.
0
 
LVL 1

Accepted Solution

by:
hbaber earned 0 total points
ID: 35731763
found it.  

iscsicli listtargets t

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

Author Closing Comment

by:hbaber
ID: 36046080
Answered it myself
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

864 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