OS Manuals

/usr/bin/iscsi-swp

iSCSI client utilities

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

Usage: iscsi-swp [OPTION...] <iscsi-url>
  -i, --initiator-name=iqn-name     Initiatorname to use
  -s, --swp={on|off}                Turn software write protect on/off
  -d, --debug=integer               debug level (0=disabled)

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

iSCSI URL format : "iscsi://[<username>[%<password>]@]<host>[:<port>]/<target-iqn>/<lun>"

<host> is either of:
  "hostname"       iscsi.example
  "ipv4-address"   10.1.1.27
  "ipv6-address"   [fce0::1]
Options (5)
OptionDescriptionSource
-i, --initiator-name iqn-nameThis specifies the initiator-name that iscsi-ls will use when logging in to the target.help + man
-s, --swp on|offBy default iscsi-swp will only print the current setting of the software write protect bit.help + man
-d, --debug integerdebug level (0=disabled)help + man
-?, --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.