HP 3PAR RedHat and Oracle Linux Implementation Guide

NOTE: The commands and options available for creating a virtual volume may vary for earlier
versions of the HP 3PAR OS.
Creating Thinly-provisioned Virtual Volumes
To create thinly-provisioned virtual volumes (TPVVs), see the following documents:
HP 3PAR StoreServ Storage Concepts Guide
HP 3PAR Command Line Interface Administrator’s Manual
HP 3PAR Command Line Interface Reference
These documents are available on the HP SC website:
HP Support Center
Exporting LUNs to the Host
This section explains how to export LUNs to the host as VVs, referred to as virtual LUNs (VLUNs).
To export VVs as VLUNs, issue the following command:
createvlun [cnt] <number of LUNs> <name_of_virtual_LUNs.int> <starting_LUN_number>
<hostname/hostdefinition>
where:
[cnt] specifies the number of identical VVs to create using an integer from 1 through 999.
If not specified, one virtual volume is created.
<name_of_virtual_LUNs> specifies name of the VV being exported as a virtual LUN.
<starting_LUN_number> indicates that is the starting LUN number.
.int is the integer value. For every LUN created, the .int suffix of the VV name gets
increased by an increment of one.
<hostname/hostdefinition> indicates that hostname is the name of the host created in
“Creating the Host Definition (HP 3PAR OS 3.1.x or OS 2.3.x)” (page 11) or “Creating the
Host Definition (HP 3PAR OS 2.2.x)” (page 13).
Example:
# createvlun cnt 5 TESTLUNS.0 0 hostname/hostdefinition
To verify that VLUNs have been created, issue the showvlun command:
# showvlun
Active VLUNs
Lun VVName HostName --------Host_WWN/iSCSI_Name-------- Port Type
0 TESTLUNS.0 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
1 TESTLUNS.1 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
2 TESTLUNS.2 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
3 TESTLUNS.3 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
4 TESTLUNS.4 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
5 TESTLUNS.5 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
6 TESTLUNS.6 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
7 TESTLUNS.7 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
8 TESTLUNS.8 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
9 TESTLUNS.9 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 0:3:1 host
0 TESTLUNS.0 sqa-dl380g5-05 iqn.1994-05.com.redhat:33853dd5ab2e 1:3:1 host
104 Allocating Storage for Access by the RHEL Host