Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to force remove targets #95

Open
timbck2 opened this issue Aug 13, 2017 · 1 comment
Open

Need a way to force remove targets #95

timbck2 opened this issue Aug 13, 2017 · 1 comment

Comments

@timbck2
Copy link

timbck2 commented Aug 13, 2017

I have a target that I'm unable to remove because its portal (IP address) is no longer valid. It is giving me the unhelpful error message, "Permission denied" when I attempt to remove it.

It is not practical to make all the network changes necessary to change the target server (NAS device) back to the old IP address just so this target can be removed on the initiator client (desktop computer). Instead, there should be a command ("remove-force") or command modifier ("--force") that forces the remove command to be executed whether or not the target can be contacted. I'm sure I'm not the only person who's had this issue.

Alternately, an option to completely remove the configuration of iSCSIInitiator on uninstall would do the trick (I tried in vain to remove the configuration manually, but couldn't find where it is stored - removing /Library/Preferences/com.github.iscsi-osx.iSCSIInitiator.plist didn't work).

@nsinenian
Copy link
Member

I don't understand the steps required to reproduce this issue. For a dynamic target, once can just remove the portal, regardless of whether it is valid or not. For a static target, one can remove the target or the portal. There is no requirement that the portal has to be valid and active upon removal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants