OS Manuals

/usr/bin/iscsi-ls

iSCSI client utilities

From libiscsi-utils 1.20.3-r5 (os), captured 2026-11-05 by running iscsi-ls --help (exit 0). permalink

Usage: iscsi-ls [OPTION...] <iscsi-url>
  -i, --initiator-name=iqn-name     Initiatorname to use
  -d, --debug                       Print debug information
  -s, --show-luns                   Show the luns for each target
  -U, --url                         Output targets in URL format
                                    (does not work with -s)

Help options:
  -?, --help                        Show this help message
      --usage                       Display brief usage message

iSCSI Portal URL format : "iscsi://[<username>[%<password>]@]<host>[:<port>]"

<host> is either of:
  "hostname"       iscsi.example
  "ipv4-address"   10.1.1.27
  "ipv6-address"   [fce0::1]
Options (6)
OptionDescriptionSource
-i, --initiator-name iqn-nameThis specifies the initiator-name that iscsi-ls will use when logging in to the target.help + man
-d, --debug --debugPrint debug information.help + man
-s, --show-luns --show-lunsIn addition to listing all the targets at the specified portal also list all the LUNs and their types on each discovered target.help + man
-U, --urlOutput targets in URL format (does not work with -s)help
-?, --help --helpDisplay basic help text.help + man
--usageDisplay brief usage messagehelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.