HP VMA SAN Gateway Installation and Configuration Guide For release G5.5.1

58 HP VMA SAN Gateway Installation and Configuration Guide AM456-9025A
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
HP VMA SAN Gateways. For more information, see Disabling HA Mode for a LUN or Container
on page 58.
The
lun set command is the only command usable after a LUN has been created except the no
lun create … readonly
command.
Syntax
[no] lun set container <id> name <name> readonly
show luns Command
The
show luns command allows you to view various types of information about a LUN or LUNs.
Syntax
show luns [container] [name] [count] [reserved] [serial] [sessions]
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, and can be set to 512 or 4096. Not all systems can handle
4096-byte sizes. Use 512 if you are unsure.
offline
Creates the LUNs in offline mode.