aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ctladm
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2020-08-06 19:16:11 +0000
committerAlexander Motin <mav@FreeBSD.org>2020-08-06 19:16:11 +0000
commit8bdf81e4d14d9b31cd0a7931de59510c3a6761c2 (patch)
treed42a42d4b991cb7ed55660f2332d3312f427342b /usr.sbin/ctladm
parente039e3d1d2075c7f5ad596e6c7a3453775b691d0 (diff)
downloadsrc-8bdf81e4d14d9b31cd0a7931de59510c3a6761c2.tar.gz
src-8bdf81e4d14d9b31cd0a7931de59510c3a6761c2.zip
Add CTL support for REPORT IDENTIFYING INFORMATION command.
It allows to report to initiator LU identifying information, preset via "ident_info" and "text_ident_info" options. Unfortunately it is impossible to implement SET IDENTIFYING INFORMATION, since we have no persistent storage it requires, so the information is read-only for initiator and has to be set out-of-band. MFC after: 1 week Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=363979
Diffstat (limited to 'usr.sbin/ctladm')
-rw-r--r--usr.sbin/ctladm/ctladm.88
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8
index d120fa8cf03b..7bb353c60522 100644
--- a/usr.sbin/ctladm/ctladm.8
+++ b/usr.sbin/ctladm/ctladm.8
@@ -1,6 +1,6 @@
.\"
.\" Copyright (c) 2003 Silicon Graphics International Corp.
-.\" Copyright (c) 2015 Alexander Motin <mav@FreeBSD.org>
+.\" Copyright (c) 2015-2020 Alexander Motin <mav@FreeBSD.org>
.\" Copyright (c) 2018 Marcelo Araujo <araujo@FreeBSD.org>
.\" All rights reserved.
.\"
@@ -36,7 +36,7 @@
.\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $
.\" $FreeBSD$
.\"
-.Dd July 25, 2019
+.Dd August 6, 2020
.Dt CTLADM 8
.Os
.Sh NAME
@@ -877,6 +877,10 @@ EUI, NAA or UUID identifier should be set to UNIQUE value to allow
EXTENDED COPY command access the LUN.
Non-unique LUN identifiers may lead to data corruption.
Some initiators may not support later introduced UUID identifiers.
+.It Va ident_info
+Specified LUN identification information (string or 0x + hex).
+.It Va text_ident_info
+Specified LUN text identification information (UTF-8 string).
.It Va ha_role
Setting to "primary" or "secondary" overrides default role of the node
in HA cluster, set by kern.cam.ctl.ha_role sysctl.