HP 3PAR AIX and IBM Virtual I/O Server Implementation Guide
On VIOS2, the command is:
$ mkvdev -vdev hdisk23 -vadapter vhost0 -dev newvdev
newvdev Available
In conclusion, when creating virtual SCSI devices to be used by connected LPARs, be sure to first
verify that the same physical LUN numbers are associated with each hdisk definition.
Growing Virtual Volumes Exported to AIX LPARs
This section explains how to grow HP 3PAR StoreServ Storage virtual volumes that are mapped to
AIX LPARs being served by the VIO servers. This section assumes that HP 3PAR StoreServ Storage
thinly provisioned virtual volumes (TPVVs) are being used as the exported volumes to the served
AIX Logical Partitions (LPARs). Also, it is assumed that all of the TPVVs associated with an AIX LPAR
will have scalable volume groups created on the TPVVs being served to the AIX LPAR.
NOTE: This feature is supported only with HP 3PAR OS 2.3.1 and later.
In the following example the AIX LPAR being served by dual VIO servers already has six HP 3PAR
StoreServ Storage virtual volumes that are accessible.
# lsdev -Cc disk
hdisk0 Available Virtual SCSI Disk Drive
hdisk1 Available Virtual SCSI Disk Drive
hdisk2 Available Virtual SCSI Disk Drive
hdisk3 Available Virtual SCSI Disk Drive
hdisk4 Available Virtual SCSI Disk Drive
hdisk5 Available Virtual SCSI Disk Drive
From the HP 3PAR StoreServ Storage, two new TPVVs will be created, exported to the VIO servers,
and then mapped to the AIX LPAR. The new virtual volumes accessible to the AIX LPAR will then
have scalable volume groups created on each.
Create two TPVVs named vol1 and vol2 in CPG AIX, with an initial size of 7 G each:
# createtpvv AIX vol1 7G
# createtpvv AIX vol2 7G
Export each of the created TPVVs with LUN IDs of 500 and 501 to each of the VIO servers:
# createvlun -f vol1 500 VIOS1
# createvlun -f vol2 501 VIOS1
# createvlun -f vol1 500 VIOS2
# createvlun -f vol2 501 VIOS2
On each VIO server, scan for the newly created TPVVs using the command cfgdev.
The new HP 3PAR StoreServ Storage TPVVs discovered on each VIO server in this example were
assigned the values hdisk7 and hdisk8 by each of the VIO servers.
Map each of the TPVVs to the AIX LPAR through both VIO servers:
$ mkvdev -vdev hdisk7 -vadapter vhost0 -dev vol1
vol1 Available
$ mkvdev -vdev hdisk8 -vadapter vhost0 -dev vol2
vol2 Available
34 Allocating Storage for Access by the AIX or IBM Virtual I/O Server Host