HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 37 Volume Modification Request Error Codes (continued)
DescriptionHTTP CodeAPI Error
moved to a CPG before
the user space.
(Since WSAPI 1.2)
The volume cannot be
renamed until snapshot
accounting has finished.
409 ConflictINV_OPERATION_VV_VOLUME_ACCOUNTING_IN_PROGRESS
(Since WSAPI 1.2)
The zero_detect policy
can be used only on
TPVVs.
403 ForbiddenINV_OPERATION_VV_ZERO_DETECT_TPVV
(Since WSAPI 1.2)
CPG cannot be assigned
to a snapshot.
409 ConflictINV_OPERATION_VV_CPG_ON_SNAPSHOT
Volume is already thinly
provisioned.
403 ForbiddenINV_INPUT_VV_IS_TPVV
(Since WSAPI 1.3.1 with
HP 3PAR OS 3.1.3
MU1)
Growing Volumes
To grow a volume, use the HTTP PUT method on the following URI:
https://<storage_system>:8080/api/v1/volumes/<volume_name>
where <volume_name> is the name of the volume to be grown.
The message body is a JSON object with two members, as shown in Table 38 (page 61).
Table 38 Message Body JSON Object Members for Growing Volumes
DescriptionIgnored ValuesAPI TypeJSON TypeMember
Specifies the action to
be taken for the
specified volume.
Required fieldEnumnumberaction
Specifies the size in
MiB to be added to
Required fielduint32numbersizeMiB
the volume user space.
The size is rounded up
to the next multiple of
chunklet size, 256
MiB or 1000 MiB.
Enumeration for the action JSON object is shown in Table 39 (page 61).
Table 39 Enumeration for the action JSON Object
DescriptionValueSymbol
Stop the physical copy operation.1STOP_PHYSICAL_COPY
(Since WSAPI 1.3)
Resynchronize the physical copy.2RESYNC_PHYSICAL_COPY
(Since WSAPI 1.3)
Increase the size of a virtual volume.3GROW_VOLUME
Growing Volumes 61