Owner manual

AM456-9026A HP VMA SAN Gateway Users Guide 205
The show luns command enables you to view LUNs. LUNs may be filtered by container,
name, and session parameters. To view a list of containers, enter show luns container ?.
The name parameter enables you to view only those LUNs which are prefixed by a particular name.
Create a LUN
[no] lun create container <container_name> name <LUN_name> size [<size GB>
| equal] [quantity <number>] [nozero] [readonly] [startnum <unsigned
integer>] [blocksize 512 | 4096] [offline]
The lun create command enables you to create a LUN within a specified storage container.
Set LUN Privileges
[no] lun set container <id> name <name> readonly
The lun set command enables you to set a LUN as read-only. The lun set command is the
only command usable after a LUN has been created except the no
lun create … readonly
command.
Resize a LUN
You can increase the size of an existing LUN by specifying a new size or specifying the amount you
want to increase the existing size in gigabytes. Decreasing the size of an existing LUN is not
supported. For a smaller size LUN, create a new LUN of the desired size.
lun resize container <container_id> name <lun_name> size <new_GB>
Increases the size of an existing LUN by specifying the new size in gigabytes.
lun resize container <container_id> name <lun_name> size +<increment_GB>
Increase the size of an existing LUN by specifying the amount (GBs) to increase the current size.
WARNING! Existing client side file systems that might be stored on the LUN are not extended as part of the
resize operation. Increasing the size of an existing client side file system must be done on the client. Some
client systems do not detect a LUN size change until they reboot.
View LUN Statistics
LUN statistics are accessed via the CLI with the following command:
show stats lun [container <container_id>] [name <lun_name>] [on global|on
host <hostname>] [continuous] [detail]