OS Manuals

/usr/bin/iscsi-pr

iSCSI client utilities

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

Usage: /usr/bin/iscsi-pr [OPTION...] <iscsi-url>
  -i, --initiator-name=iqn-name  Initiator name to use
  -d, --debug                    Enable debug
  -?, --help                     Show this help message
  -K, --param-rk=RK              PR Out: parameter reservation key (RK is in hex)
  -S, --param-sark=SARK          PR Out: parameter service action reservation key (SARK is in hex)
  -T, --prout-type=TYPE          PR Out: type field
  -G, --register                 PR Out: Register
  -R, --reserve                  PR Out: Reserve, SARK only(register sark implicitly)
  -L, --release                  PR Out: Release, SARK only. This program releases TYPE 7 and TYPE 8 only
  -C, --clear                    PR Out: Clear, SARK only
  -P, --preempt                  PR Out: Preempt, use SARK to preempt reservation from RK
  -X, --preempt-remove           PR Out: Preempt, use SARK to preempt reservation from RK, then release SARK and remove SARK
  -k, --read-keys                PR In:  Read Keys (default)
  -r, --read-reservation         PR In:  Read Reservation
  -c, --report-capabilities      PR In:  Report Capabilities
  -s, --read-full-status         PR In:  Read Full Status

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]

PR Out TYPE field value meanings:
  0:    obsolete (was 'read shared' in SPC)
  1:    write exclusive
  2:    obsolete (was 'read exclusive')
  3:    exclusive access
  4:    obsolete (was 'shared access')
  5:    write exclusive, registrants only
  6:    exclusive access, registrants only
  7:    write exclusive, all registrants
  8:    exclusive access, all registrants
Options (16)
OptionDescriptionSource
-i, --initiator-name iqn-nameInitiator name to usehelp
-d, --debugEnable debughelp
-?, --helpShow this help messagehelp
-K, --param-rk RKPR Out: parameter reservation key (RK is in hex)help
-S, --param-sark SARKPR Out: parameter service action reservation key (SARK is in hex)help
-T, --prout-type TYPEPR Out: type fieldhelp
-G, --registerPR Out: Registerhelp
-R, --reservePR Out: Reserve, SARK only(register sark implicitly)help
-L, --releasePR Out: Release, SARK only.help
-C, --clearPR Out: Clear, SARK onlyhelp
-P, --preemptPR Out: Preempt, use SARK to preempt reservation from RKhelp
-X, --preempt-removePR Out: Preempt, use SARK to preempt reservation from RK, then release SARK and remove SARKhelp
-k, --read-keysPR In: Read Keys (default)help
-r, --read-reservationPR In: Read Reservationhelp
-c, --report-capabilitiesPR In: Report Capabilitieshelp
-s, --read-full-statusPR In: Read Full Statushelp

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