HP 3PAR Ubuntu Operating System Implementation Guide
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 server 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 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 VLUN.
• <starting_LUN_number> indicates that is the starting LUN number.
• <hostname/hostdefinition> indicates that hostname is the name of the host created in
“Configuring the HP 3PAR StoreServ Storage for iSCSI” (page 6).
Example:
# createvlun –cnt 5 TESTLUN.0 0 ubuntuhost
To verify that VLUNs have been created:
# showvlun
Active VLUNs
Lun VVName HostName --------Host_WWN/iSCSI_Name-------- Port Type
0 TESTLUNS.0 ubuntuhost 210100E08B31901B 0:4:1 host
1 TESTLUNS.1 ubuntuhost 210100E08B31901B 0:5:1 host
2 TESTLUNS.2 ubuntuhost 210100E08B31901B 1:2:1 host
3 TESTLUNS.3 ubuntuhost 210100E08B31901B 1:4:1 host
4 TESTLUNS.4 ubuntuhost 210100E08B31901B 1:5:1 host
0 TESTLUNS.0 ubuntuhost 210000E08B31901B 0:4:1 host
1 TESTLUNS.1 ubuntuhost 210000E08B31901B 0:5:1 host
2 TESTLUNS.2 ubuntuhost 210000E08B31901B 1:2:1 host
3 TESTLUNS.3 ubuntuhost 210000E08B31901B 1:4:1 host
4 TESTLUNS.4 ubuntuhost 210000E08B31901B 1:5:1 host
---------------------------------------------------------------------------
10 total
VLUN Templates
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type
0 TESTLUNS.0 ubuntuhost ---------------- --- host
1 TESTLUNS.1 ubuntuhost ---------------- --- host
2 TESTLUNS.2 ubuntuhost ---------------- --- host
22 Allocating Storage for Access by the Ubuntu Host