ctladm.8 (288259) | ctladm.8 (288310) |
---|---|
1.\" 2.\" Copyright (c) 2003 Silicon Graphics International Corp. 3.\" Copyright (c) 2015 Alexander Motin <mav@FreeBSD.org> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 19 unchanged lines hidden (view full) --- 28.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29.\" POSSIBILITY OF SUCH DAMAGES. 30.\" 31.\" ctladm utility man page. 32.\" 33.\" Author: Ken Merry <ken@FreeBSD.org> 34.\" 35.\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ | 1.\" 2.\" Copyright (c) 2003 Silicon Graphics International Corp. 3.\" Copyright (c) 2015 Alexander Motin <mav@FreeBSD.org> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 19 unchanged lines hidden (view full) --- 28.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29.\" POSSIBILITY OF SUCH DAMAGES. 30.\" 31.\" ctladm utility man page. 32.\" 33.\" Author: Ken Merry <ken@FreeBSD.org> 34.\" 35.\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ |
36.\" $FreeBSD: head/usr.sbin/ctladm/ctladm.8 288259 2015-09-26 11:28:45Z mav $ | 36.\" $FreeBSD: head/usr.sbin/ctladm/ctladm.8 288310 2015-09-27 13:47:28Z mav $ |
37.\" 38.Dd September 26, 2015 39.Dt CTLADM 8 40.Os 41.Sh NAME 42.Nm ctladm 43.Nd CAM Target Layer control utility 44.Sh SYNOPSIS --- 667 unchanged lines hidden (view full) --- 712Some backends may allow setting the size (e.g. the ramdisk backend) and for 713others the size may be implicit (e.g. the block backend). 714.It Fl S Ar serial_num 715Specify the serial number to be used in the 716.Tn SCSI 717INQUIRY VPD page 0x80 data. 718.It Fl t Ar device_type 719Specify the numeric SCSI device type to use when creating the LUN. | 37.\" 38.Dd September 26, 2015 39.Dt CTLADM 8 40.Os 41.Sh NAME 42.Nm ctladm 43.Nd CAM Target Layer control utility 44.Sh SYNOPSIS --- 667 unchanged lines hidden (view full) --- 712Some backends may allow setting the size (e.g. the ramdisk backend) and for 713others the size may be implicit (e.g. the block backend). 714.It Fl S Ar serial_num 715Specify the serial number to be used in the 716.Tn SCSI 717INQUIRY VPD page 0x80 data. 718.It Fl t Ar device_type 719Specify the numeric SCSI device type to use when creating the LUN. |
720For example, the Direct Access type is 0. | |
721If this flag is not used, the type of LUN created is backend-specific. 722Not all LUN types are supported. | 720If this flag is not used, the type of LUN created is backend-specific. 721Not all LUN types are supported. |
723Currently CTL only supports Direct Access (type 0) and Processor (type 3) 724LUNs. | 722Currently CTL supports Direct Access (type 0), Processor (type 3) 723and CD/DVD (type 5) LUNs. |
725The backend requested may or may not support all of the LUN types that CTL 726supports. 727.El 728.It Ic remove 729Remove a LUN. 730The backend must be specified, and the LUN number must also be specified. 731Backend-specific options may also be specified with the 732.Fl o --- 138 unchanged lines hidden (view full) --- 871other LUNs on this host, not accessible otherwise. 872This allows to offload copying between different iSCSI targets residing 873on the same host in trusted environments. 874.It Va readcache 875Set to "off", disables read caching for the LUN, if supported by the backend. 876.It Va readonly 877Set to "on", blocks all media write operations to the LUN, reporting it 878as write protected. | 724The backend requested may or may not support all of the LUN types that CTL 725supports. 726.El 727.It Ic remove 728Remove a LUN. 729The backend must be specified, and the LUN number must also be specified. 730Backend-specific options may also be specified with the 731.Fl o --- 138 unchanged lines hidden (view full) --- 870other LUNs on this host, not accessible otherwise. 871This allows to offload copying between different iSCSI targets residing 872on the same host in trusted environments. 873.It Va readcache 874Set to "off", disables read caching for the LUN, if supported by the backend. 875.It Va readonly 876Set to "on", blocks all media write operations to the LUN, reporting it 877as write protected. |
878.It Va removable 879Set to "on", makes LUN removable. |
|
879.It Va reordering 880Set to "unrestricted", allows target to process commands with SIMPLE task 881attribute in arbitrary order. Any data integrity exposures related to 882command sequence order shall be explicitly handled by the application 883client through the selection of appropriate commands and task attributes. 884The default value is "restricted". It improves data integrity, but may 885introduce some additional delays. 886.It Va serseq --- 139 unchanged lines hidden --- | 880.It Va reordering 881Set to "unrestricted", allows target to process commands with SIMPLE task 882attribute in arbitrary order. Any data integrity exposures related to 883command sequence order shall be explicitly handled by the application 884client through the selection of appropriate commands and task attributes. 885The default value is "restricted". It improves data integrity, but may 886introduce some additional delays. 887.It Va serseq --- 139 unchanged lines hidden --- |