HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 38

Working with Storage Volumes, Volume Enumeration and Configuration Objects

Page 38 highlights

4 Working with Storage Volumes This chapter describes how to manage storage volumes. The sections apply to creation, modification, and query operations on storage volumes. You can perform the following operations on storage volumes: • Query storage volume • Create a storage volume • Modify a storage volume (since WSAPI 1.2) • Remove a storage volume Volume Enumeration and Configuration Objects Several enumerations and configuration objects are used for the various volume API operations. These are described in the following sections. Volume provisioningType Enumeration Types Enumeration for the provisioningType JSON object is shown in Table 25 (page 38). Table 25 Volume provisioningType Enumeration Symbol FULL Value 1 Description Fully provisioned VV, either with no snapshot space or with statically allocated snapshot space. Also, a commonly-provisioned VV where the user space is fully provisioned and the snapshot space is associated with the snapCPG property. TPVV 2 Thinly-provisioned virtual volume, with space for the base volume allocated from the user space that is associated with the userCPG property. Also includes old-style thin provisioned VV (created on a 2.2.4 release or earlier) where both the base VV and snapshot data are allocated from the snapshot space associated with userCPG. SNP PEER UNKNOWN 3 The VV is a snapshot (Type vcopy) and its space is provisioned from the base volume's snapshot space. 4 Remote volume admitted into the local storage system. 5 Unknown. Volume CopyType Enumeration Types Enumeration for the CopyType JSON object is shown in Table 26 (page 38). Table 26 Volume CopyType Enumeration Symbol BASE PHYSICAL_COPY VIRTUAL_COPY Value 1 2 3 Description Base volume (not a copy). Physical copy (full copy). Snapshot copy (virtual copy). Volume state Enumeration Types Enumeration for the state JSON object is shown in Table 27 (page 39). 38 Working with Storage Volumes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

4 Working with Storage Volumes
This chapter describes how to manage storage volumes. The sections apply to creation, modification,
and query operations on storage volumes. You can perform the following operations on storage
volumes:
Query storage volume
Create a storage volume
Modify a storage volume (since WSAPI 1.2)
Remove a storage volume
Volume Enumeration and Configuration Objects
Several enumerations and configuration objects are used for the various volume API operations.
These are described in the following sections.
Volume
provisioningType
Enumeration Types
Enumeration for the
provisioningType
JSON object is shown in
Table 25 (page 38)
.
Table 25 Volume
provisioningType
Enumeration
Description
Value
Symbol
Fully provisioned VV, either with no snapshot space or with statically
allocated snapshot space.
1
FULL
Also, a commonly-provisioned VV where the user space is fully provisioned
and the snapshot space is associated with the
snapCPG
property.
Thinly-provisioned virtual volume, with space for the base volume allocated
from the user space that is associated with the
userCPG
property.
2
TPVV
Also includes old-style thin provisioned VV (created on a 2.2.4 release or
earlier) where both the base VV and snapshot data are allocated from the
snapshot space associated with
userCPG
.
The VV is a snapshot (Type vcopy) and its space is provisioned from the
base volume's snapshot space.
3
SNP
Remote volume admitted into the local storage system.
4
PEER
Unknown.
5
UNKNOWN
Volume
CopyType
Enumeration Types
Enumeration for the
CopyType
JSON object is shown in
Table 26 (page 38)
.
Table 26 Volume
CopyType
Enumeration
Description
Value
Symbol
Base volume (not a copy).
1
BASE
Physical copy (full copy).
2
PHYSICAL_COPY
Snapshot copy (virtual copy).
3
VIRTUAL_COPY
Volume
state
Enumeration Types
Enumeration for the
state
JSON object is shown in
Table 27 (page 39)
.
38
Working with Storage Volumes