iscsi.extent.create¶
Create an iSCSI Extent.
When type is set to FILE, attribute filesize is used and it represents number of bytes. filesize if not zero should be a multiple of blocksize. path is a required attribute with type set as FILE.
With type being set to DISK, a valid ZFS volume is required.
insecure_tpc when enabled allows an initiator to bypass normal access control and access any scannable target. This allows xcopy operations otherwise blocked by access control.
xen is a boolean value which is set to true if Xen is being used as the iSCSI initiator.
ro when set to true prevents the initiator from writing to this LUN.
No Additional Items
Tuple Validation
Parameter 1: iscsi_extent_create
iscsi_extent_create
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Must be at most 64
characters long
Type
Type: enum (of string) Default: "DISK"Must be one of:
- "DISK"
- "FILE"
Disk
Default: nullSerial
Default: nullPath
Default: nullFilesize
Default: "0"Blocksize
Type: enum (of integer) Default: 512Must be one of:
- 512
- 1024
- 2048
- 4096
Pblocksize
Type: boolean Default: falseAvail Threshold
Default: nullValue must be greater or equal to 1
and lesser or equal to 99
Comment
Type: string Default: ""Insecure Tpc
Type: boolean Default: trueXen
Type: boolean Default: falseRpm
Type: enum (of string) Default: "SSD"Must be one of:
- "UNKNOWN"
- "SSD"
- "5400"
- "7200"
- "10000"
- "15000"
Ro
Type: boolean Default: falseEnabled
Type: boolean Default: trueIscsiExtentEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringMust be at least 1
characters long
Must be at most 64
characters long
Type
Type: enum (of string) Default: "DISK"Must be one of:
- "DISK"
- "FILE"
Disk
Default: nullSerial
Default: nullPath
Default: nullFilesize
Default: "0"Blocksize
Type: enum (of integer) Default: 512Must be one of:
- 512
- 1024
- 2048
- 4096
Pblocksize
Type: boolean Default: falseAvail Threshold
Default: nullValue must be greater or equal to 1
and lesser or equal to 99
Comment
Type: string Default: ""Naa
Type: stringMust be at most 34
characters long
Insecure Tpc
Type: boolean Default: trueXen
Type: boolean Default: falseRpm
Type: enum (of string) Default: "SSD"Must be one of:
- "UNKNOWN"
- "SSD"
- "5400"
- "7200"
- "10000"
- "15000"
Ro
Type: boolean Default: falseEnabled
Type: boolean Default: trueVendor
Type: stringLocked
Required roles: SHARING_ISCSI_EXTENT_WRITE