Bug 860214 - iscsiadm discovery mode with -l option
iscsiadm discovery mode with -l option
Status: NEW
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iscsi-initiator-utils (Show other bugs)
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Chris Leech
Bruno Goncalves
Depends On:
  Show dependency treegraph
Reported: 2012-09-25 05:34 EDT by Bruno Goncalves
Modified: 2017-09-14 08:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bruno Goncalves 2012-09-25 05:34:18 EDT
Description of problem:
Reading the man page for iscsiadm, the -l option says:

       -l, --login
              For node and fw mode, login to a specified record. For discovery
              mode, login to all discovered targets.

My question is should be possible to run: "iscsiadm -m discovery -l" and it will login to all targets already discovered and stored in the DB? (Similar as running iscsiadm -m node -l)
Or it will just perform the login as soon the target is discovered, with:
iscsiadm -m discovery -p <portal> -l

Version-Release number of selected component (if applicable):
Comment 2 Bruno Goncalves 2012-10-11 07:38:13 EDT
Please add to help and man page "-o operation" to iscsiadm -m discovery mode.

This command is supported, but it is not listed on help nor on man page.

iscsiadm -m discovery [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type -p ip:port -I ifaceN ... [ -l ] ] | [ [ -p ip:port ] [ -l | -D ] ]
Comment 3 RHEL Product and Program Management 2012-12-14 01:54:50 EST
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Note You need to log in before you can comment on or make changes to this bug.