beautypg.com

Method parameters, Uint32 createormodifyelementfromstoragepool, Method overview – HP SAN Virtualization Services Platform User Manual

Page 84

background image

Method parameters

IN/OUT

Comments

Type

Parameter
Name

OUT - Not Used
(will be null)

Reference to a task.

ConcreteJob
REF

Job

IN - Required

Reference to an HPSVSP_ConfiguredPool to delete.

StoragePool
REF

Pool

uint32 CreateOrModifyElementFromStoragePool

Method Overview

The CreateOrModifyElementFromStoragePool() creates or modifies HPSVSP_VirtualDisk. If the
"TheElement" reference parameter is NULL, then this method serves as a CreateVirtualDisk operation,
otherwise, this method serves a ExpandVirtualDisk() operation. Shrinking volumes is not allowed.

When creating a virtual disk:

Thin provisioned virtual disk sizes must be at least 512 MB in size.

When modifying a virtual disk:

If the ElementName parameter is not NULL, the operation is failed; name changes to VirtualDisks
are not allowed.

The VSM allows expansion on multiple pools. Hence the InPools parameter may specify a pool
different from the pool on which a virtual disk was created.

Thin provisioned volumes cannot be expanded once they are created.

NOTE:

If the virtual disk creation or expansion cannot be achieved on the pool, then the method will return
4097 (Size not supported) and set the Size output parameter to the largest possible virtual disk size
in bytes.

Method parameters

IN/OUT

Comments

Type

Parameter
Name

IN

CreateVirtualDisk(). If this parameter is NULL,
a unique name is chosen to the system on
which the virtual disk will reside.

string

ElementName

IN-Required

On create virtual disk operations, allow Ele-
mentType = 2 (Storage VirtualDisk) or 5
("Thinly privisioned Vdisk"). On modify oper-
ations the ElementType must be specified and
match the type represented by TheElement.

uint16

ElementType

OUT

Set this parameter to NULL (not used).

CIM_ConcreteJob REF

Job

Block Services Package

84