HP VMA-series Memory Arrays User Manual
Page 104

104
HP VMA SAN Gateway User’s Guide
AM456-9026A
lun create Command
The
lun create
command enables you to create a LUN within a specified storage container.
Syntax
[no] lun create container
| equal] [quantity
Syntax Description
The table shows syntax for LUN commands.
lun set Command
The
lun set
command allows you to set the parameters of a LUN in a container. For example, you
can set the LUN as read-only, as well as enable and disable the export of a LUN through one or both
SAN Gateways. For information on how to disable HA mode for a LUN or container, see the see
HP VMA SAN Gateway Installation and Configuration Guide
.
The
lun set
command is the only command usable after a LUN has been created except the
no
lun create … readonly
command.
name
Defines the name of LUN to be created; used as a prefix if the
quantity of LUNs created is greater than one.
size
Defines the size of each LUN in GB, or "equal" to divide the free
space of the container equally among the new LUNs. A value of
0 (zero) may be used in place of "equal."
container
Identifies the name of the container in which the LUN is created.
quantity
Defines the number of LUNs to be created; the default is 1. If the
number is greater than 1, the names of the newly created LUNs
will be appended with an index number from
startnum
up to the
number of LUNs created.
nozero
Specify to avoid zeroing-out the data on the LUNs, which could
take a long time for large LUNs.
readonly
Creates the LUNs in read-only mode.
startnum
Defines starting index number for newly created LUNs. The
default is 1.
blksize
Defines the logical block size for the created LUNs; the default is
512, can be set to 512 or 4096. Not all systems can handle 4096-
byte sizes. Use 512 if you are in doubt.
offline
Creates the LUNs in offline mode.