HP 3PAR OS 3.1.3 Command Line Interface Reference

createtemplate
DESCRIPTION
The createtemplate command creates Virtual Volume (VV), Logical Disk (LD), and Common
Provisioning Group (CPG) templates. Templates are sets of predetermined parameters that are
applied to the creation of VVs, LDs, and CPGs.
Use of this command with the vv specifier to create a VV is deprecated and will be removed in a
subsequent release. The command createvv should be used instead to create a VV.
SYNTAX
createtemplate vv|LD|CPG [options <arg>] <template_name>
AUTHORITY
Super
Any role that is granted the template_create right.
NOTE: You need access to all domains in order to run this command.
OPTIONS
The following options are valid for VV, LD, and CPG templates:
nro
Indicates that properties not specified in the template are set to read-only.
nrw
Indicates that properties not specified in the template are set to read/write.
desc <description>
Specifies a description for the created template. The description can be up to 255 characters long.
-rw
Specifies that the list of property values in the remainder of the command line or until the next -rw
or -ro option are read-write, which means that they can be modified when the template is used.
-ro
Specifies that the list of property values in the remainder of the command line or until the next -rw
or -ro option are read-only, which means that they cannot be modified when the template is used.
If neither -ro nor -rw is specified, the default is -ro.
t <RAID_type>
Specifies the RAID type of the logical disk: r0 for RAID-0, r1 for RAID-1, r5 for RAID-5, or r6 for
RAID-6. If no RAID type is specified, the default is r1.
ssz <size_number_chunklets>
Specifies the set size in terms of chunklets. The default depends on the RAID type specified: 2 for
RAID-1, 4 for RAID-5, and 8 for RAID-6.
rs <size>
Specifies the number of sets in a row using a positive integer. If not specified, no row limit is
imposed.
ss <size_KB>
Specifies the step size from 32 KB to 512 KB. The step size should be a power of 2 and a multiple
of 32. If no value is entered, the step size defaults to 256 KB for RAID-0 and RAID-1, and 128 KB
for RAID-5. For RAID-6, the default is a function of the set size.
createtemplate 133