aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ctladm
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-07-16 15:57:17 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-07-16 15:57:17 +0000
commit984a2ea91fbc21063e931d117aed354cfe0c02f5 (patch)
tree7d63c809c6f94d9453beaad7bd5a624884e26519 /usr.sbin/ctladm
parent22bdc15a57f919df52cb7b26ddffc55f5d03eed6 (diff)
downloadsrc-984a2ea91fbc21063e931d117aed354cfe0c02f5.tar.gz
src-984a2ea91fbc21063e931d117aed354cfe0c02f5.zip
Add support for VMWare dialect of EXTENDED COPY command, aka VAAI Clone.
This allows to clone VMs and move them between LUNs inside one storage host without generating extra network traffic to the initiator and back, and without being limited by network bandwidth. LUNs participating in copy operation should have UNIQUE NAA or EUI IDs set. For LUNs without these IDs VMWare will use traditional copy operations. Beware: the above LUN IDs explicitly set to values non-unique from the VM cluster point of view may cause data corruption if wrong LUN is addressed! MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=268767
Diffstat (limited to 'usr.sbin/ctladm')
-rw-r--r--usr.sbin/ctladm/ctladm.88
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8
index dfa238239d91..f58a760f39d3 100644
--- a/usr.sbin/ctladm/ctladm.8
+++ b/usr.sbin/ctladm/ctladm.8
@@ -951,6 +951,14 @@ Specifies LUN SCSI name string.
Specifies LUN EUI-64 identifier.
.It Va naa
Specifies LUN NAA identifier.
+Either EUI or NAA identifier should be set to UNIQUE value to allow
+EXTENDED COPY command access the LUN.
+Non-unique LUN identifiers may lead to data corruption.
+.It Va insecure_tpc
+Setting to "on" allows EXTENDED COPY command sent to this LUN access
+other LUNs on this host, not accessible otherwise.
+This allows to offload copying between different iSCSI targets residing
+on the same host in trusted environments.
.It Va unmap
Set to "on", enables UNMAP support for the LUN.
.El