HP 3PAR X9000 File Serving Software (IBRIX) Implementation Guide (QL226-96987, June 2013)

Consult the HP 3PAR Command Line Interface Reference for complete details on creating volumes
for the HP 3PAR OS version that is being used on the HP 3PAR StoreServ Storage. Note that the
commands and options available for creating a VV may vary for earlier versions of the HP 3PAR
Command Line Interface Reference.
Exporting LUNs to the Host
This section explains how to export LUNs to the host server as VVs, referred to as Virtual LUNs
(VLUNs).
To export VVs as Virtual LUNs, issue the following command:
createvlun [cnt] <number of LUNs> <name_of_virtual_LUNs> [.int]
<starting_LUN_number> <hostname/hostdefinition/hostset>
where:
[cnt] Specifies the number of identical virtual volumes 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 virtual volume being exported as a virtual
LUN.
<starting_LUN_number> indicates that is the starting LUN number.
<hostname/hostdefinition/hostset> indicates that host name or host set is the name
of the host created in sections 2.1.3.
Example:
# createvlun cnt 5 TESTLUNs.0 0 hostname/hostdefinition
or
# createvlun -cnt 5 TESTVLUN.0 0 set:hostsetdefination
To verify that VLUNs have been created:
# showvlun
Active VLUNs
Lun VVName HostName --------Host_WWN/iSCSI_Name-------- Port Type
0 TESTLUNS.0 Host1-Ibrix 210100E08B31901B 0:4:1 host
1 TESTLUNS.1 Host1-Ibrix 210100E08B31901B 0:5:1 host
2 TESTLUNS.2 Host1-Ibrix 210100E08B31901B 1:2:1 host
3 TESTLUNS.3 Host1-Ibrix 210100E08B31901B 1:4:1 host
4 TESTLUNS.4 Host1-Ibrix 210100E08B31901B 1:5:1 host
0 TESTLUNS.0 Host1-Ibrix 210000E08B31901B 0:4:1 host
1 TESTLUNS.1 Host1-Ibrix 210000E08B31901B 0:5:1 host
2 TESTLUNS.2 Host1-Ibrix 210000E08B31901B 1:2:1 host
3 TESTLUNS.3 Host1-Ibrix 210000E08B31901B 1:4:1 host
4 TESTLUNS.4 Host1-Ibrix 210000E08B31901B 1:5:1 host
---------------------------------------------------------------------------
10 total
VLUN Templates
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type
0 TESTLUNS.0 Host1-Ibrix ---------------- --- host
1 TESTLUNS.1 Host1-Ibrix ---------------- --- host
2 TESTLUNS.2 Host1-Ibrix ---------------- --- host
3 TESTLUNS.3 Host1-Ibrix ---------------- --- host
4 TESTLUNS.4 Host1-Ibrix ---------------- --- host
---------------------------------------------------------------------------
5 total
In the example above, there are five paths to the HP 3PAR StoreServ Storage from each HBA port.
Exporting LUNs to the Host 23